[Buildroot] static libgcc_s

Thomas Lundquist lists at zelow.no
Wed Feb 28 18:37:09 UTC 2007


On Wed, Feb 28, 2007 at 10:51:02AM -0500, Piotr Adam Zolnierczuk wrote:
> 
> Hi,
> I am trying to compile a flash bootloader for a AT91SAM9260EK board on 
> my Linux box.

U-Boot?

> When I use gnuarm.org precompiled toolchain (gcc-3.4.3) it works fine, 
> but when I use my own toolchain
> (build by buildroot rev 17875, gcc-4.1.1) it complains about missing 
> gcc_s (the bootloader wants to use __divsi3 routine).

either build a toolchain with soft float or remove -msoft-float from the
makefiles in the U-Boot source.

(but the only real option you have is to turn on soft-float when
building, using the kernels FPU-emulation is horribly slow.)

> My toolchain properly builds libgcc_s.so, but for some reasons it does 
> not build libgcc_s.a. Otherwise the toolchain is fine: builds kernel, 
> rootfs etc.
> 
> Any ideas how can I "force" buildroot to build a static version of libgcc_s?

I don't think you need to do that.


Thomas.



More information about the buildroot mailing list