From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko Schocher Date: Thu, 23 Jul 2009 16:12:06 +0200 Subject: [U-Boot] [PATCH v2] Make linking against libgcc configurable In-Reply-To: <4A686566.409@esd.eu> References: <1248347380-27013-1-git-send-email-wd@denx.de> <1248347759-28119-1-git-send-email-wd@denx.de> <4A686566.409@esd.eu> Message-ID: <4A686FB6.1080405@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello Daniel, Daniel Gorsulowski wrote: > buid on meesc board (arm) is still broken. > It's roughly the same problem, as Heiko Schocher reported in > 4A6854B1.5000205 at denx.de. But his patch doesn't fix the problem either. > > danielg at debby:~/git/u-boot$ make USE_PRIVATE_LIBGCC=yes > ... > drivers/mtd/nand/libnand.a(nand_base.o): In function `nand_do_write_oob': > /data/home/danielg/git/u-boot/drivers/mtd/nand/nand_base.c:2019: undefined reference to `__lshrdi3' > drivers/mtd/nand/libnand.a(nand_base.o): In function `nand_erase_nand': > /data/home/danielg/git/u-boot/drivers/mtd/nand/nand_base.c:2199: undefined reference to `__lshrdi3' > /data/home/danielg/git/u-boot/drivers/mtd/nand/nand_base.c:2198: undefined reference to `__lshrdi3' > drivers/mtd/nand/libnand.a(nand_base.o): In function `nand_do_read_oob': > /data/home/danielg/git/u-boot/drivers/mtd/nand/nand_base.c:1519: undefined reference to `__lshrdi3' > drivers/mtd/nand/libnand.a(nand_bbt.o): In function `search_bbt': > /data/home/danielg/git/u-boot/drivers/mtd/nand/nand_bbt.c:482: undefined reference to `__lshrdi3' > drivers/mtd/nand/libnand.a(nand_bbt.o):/data/home/danielg/git/u-boot/drivers/mtd/nand/nand_bbt.c:413: more undefined references to `__lshrdi3' follow > lib_generic/libgeneric.a(vsprintf.o): In function `put_dec': > /data/home/danielg/git/u-boot/lib_generic/vsprintf.c:242: undefined reference to `__umoddi3' > /data/home/danielg/git/u-boot/lib_generic/vsprintf.c:242: undefined reference to `__udivdi3' Maybe you need also this fix from Dirk Behme http://lists.denx.de/pipermail/u-boot/2009-July/057265.html I see on this Hardware is CONFIG_SYS_64BIT_VSPRINTF activated ... so I think, the above patch will fix this. Can you give this a try? bye Heiko -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany