KJ,

Did you find any solution to this problem? It seems we are hitting
the same problem now. It would be nice if you can share your findings
here.

It appears softfloat library is coming from libgcc. Few routines in
softfloat library, including long long division, would refer to external
variables and would cause a BUS error if the right compile flag is not
used for libgcc.

Cheers.

Jun

On Fri, Nov 28, 2008 at 11:53:02AM +0800, Lin KJ wrote:
> What kind of ARM uClinux toolchains do you use? And where to download?
> Can it be used to compile the 2.6 kernel?
> I use the snapgear ARM toolchains "arm-linux-tools-20070808.tar.gz" which is 
> recommended by uClinux website.
> However, It only has "libgcc.a", "soft-float/libgcc.a", "be/libgcc.a" and 
> "be/soft-float/libgcc.a".
> I didn't see any "single-pic-base/libgcc.a".
> 
> If i want to build the libgcc.a based on "-msingle-pic-base", how should i 
> configure the building options?
> Any internet resource i can refer?
> 
> KJ
> 
> ----- 原始信件 ----
> > > I can have the applications and uClibc to be compiled with
> > > "-msingle-pic-base", but how about the libgcc.a?  Does the
> > > libgcc.a have to be produced with the "-msingle-pic-base" too?
> 
> Some parts of libgcc.a will work without -msingle-pic-base, but some
> parts may need it.  Many programs don't use all of libgcc.a.
> 
> I see in the ARM uClinux toolchains I'm using that there are multiple
> versions of libgcc.a, and if -msingle-pic-base is used to link a
> program, then it selects the version of libgcc.a which was compiled
> with that option.
> 
> -- Jamie
> _______________________________________________
> uClinux-dev mailing list
> uClinux-dev@uclinux.org
> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> This message was resent by uclinux-dev@uclinux.org
> To unsubscribe see:
> http://mailman.uclinux.org/mailman/options/uclinux-dev
> 
> 
> 
>       
> ______________________________________________________________________________________________________
> 付費才容量無上限?Yahoo!奇摩電子信箱2.0免費給你,信件永遠不必刪! http://tw.mg0.mail.yahoo.com/dc/landing
> 
> _______________________________________________
> uClinux-dev mailing list
> uClinux-dev@uclinux.org
> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> This message was resent by uclinux-dev@uclinux.org
> To unsubscribe see:
> http://mailman.uclinux.org/mailman/options/uclinux-dev
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to