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

2009-07-26 Thread Heiko Schocher
Hello Daniel, Daniel Gorsulowski wrote: > Heiko Schocher wrote: >> Daniel Gorsulowski wrote: >>> Sorry, it was my misstake. >>> >>> By c&p and applying yout patch I missed the changes in lib_arm/Makefile. >>> But as i wrote, _lshrdi3.a does not compile. >> Why do you use c&p, and not better tools?

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

2009-07-26 Thread Wolfgang Denk
In message <1248347759-28119-1-git-send-email...@denx.de> you wrote: > Many (especially ARM) tool chains seem to come with broken or > otherwise unusable (for the purposes of builing U-Boot) run-time > support libraries `libgcc.a'. By using the "USE_PRIVATE_LIBGCC" > setting we allow to use alterna

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

2009-07-23 Thread Daniel Gorsulowski
Heiko Schocher wrote: > Hello Daniel, > Hello Heiko, First, I would like to apologize for top posting in my last 3 mails. I am anxious to avoid that in the feature. > Daniel Gorsulowski wrote: >> Sorry, it was my misstake. >> >> By c&p and applying yout patch I missed the changes in lib_arm/Make

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

2009-07-23 Thread Wolfgang Denk
Dear Daniel Gorsulowski, In message <4a686566@esd.eu> you wrote: > > buid on meesc board (arm) is still broken. > It's roughly the same problem, as Heiko Schocher reported in > 4a6854b1.5000...@denx.de. But his patch doesn't fix the problem either. > > dani...@debby:~/git/u-boot$ make USE_PR

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

2009-07-23 Thread Heiko Schocher
Hello Daniel, Daniel Gorsulowski wrote: > Sorry, it was my misstake. > > By c&p and applying yout patch I missed the changes in lib_arm/Makefile. > But as i wrote, _lshrdi3.a does not compile. Why do you use c&p, and not better tools? Compiling the meesc board with actual u-boot and the patches

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

2009-07-23 Thread Daniel Gorsulowski
Sorry, it was my misstake. By c&p and applying yout patch I missed the changes in lib_arm/Makefile. But as i wrote, _lshrdi3.a does not compile. Daniel Daniel Gorsulowski wrote: > So i added 'GLSOBJS += _lshrdi3.S' to lib_arm/Makefile (this line is missing > in your patch, i guess). But _lshrdi3

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

2009-07-23 Thread Daniel Gorsulowski
Hello Heiko, Dirks patch reduces the errors, but I still get: 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_e

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

2009-07-23 Thread Heiko Schocher
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.5000...@denx.de. But his patch doesn't fix the problem either. > > dani...@debby:~/git/u-boot$ make USE_PRIVATE_LIBGCC=yes > ... > drivers

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

2009-07-23 Thread Daniel Gorsulowski
Hi Wolfgang, buid on meesc board (arm) is still broken. It's roughly the same problem, as Heiko Schocher reported in 4a6854b1.5000...@denx.de. But his patch doesn't fix the problem either. dani...@debby:~/git/u-boot$ make USE_PRIVATE_LIBGCC=yes ... drivers/mtd/nand/libnand.a(nand_base.o): In func

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

2009-07-23 Thread Wolfgang Denk
Many (especially ARM) tool chains seem to come with broken or otherwise unusable (for the purposes of builing U-Boot) run-time support libraries `libgcc.a'. By using the "USE_PRIVATE_LIBGCC" setting we allow to use alternative libraries instead. "USE_PRIVATE_LIBGCC" can either be set as an environ