[U-Boot] [PATCH v2] Make linking against libgcc configurable

Wolfgang Denk wd at denx.de
Thu Jul 23 18:45:36 CEST 2009


Dear Daniel Gorsulowski,

In message <4A686566.409 at esd.eu> you 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'

Well, my patch makes the use of libgcc configurable - it does not
attempt to fix any remaining problems in the private ARM
implementation of this library - I think Jean-Christophe has a full
port of the related Linux code ready available, and I think he should
rebase and post this.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
When a man sits with a pretty girl for  an  hour,  it  seems  like  a
minute.  But let him sit on a hot stove for a minute -- and it's lon-
ger than any hour. That's relativity.              -- Albert Einstein


More information about the U-Boot mailing list