armeb toolchain with gcc
Geerts Steven
Steven.Geerts at thomson.net
Fri Feb 24 12:14:31 UTC 2006
Okay...
But, how to make sure that gcc is built with softfloat? Shouldn't this
somewhere be set in the options of buildroot? Or can I specify
somewhere myself?
sg
-----Original Message-----
From: Peter S. Mazinger [mailto:ps.m at gmx.net]
Sent: vrijdag 24 februari 2006 12:29
To: Geerts Steven
Cc: uclibc at uclibc.org
Subject: Re: armeb toolchain with gcc
On Fri, 24 Feb 2006, Geerts Steven wrote:
> All
>
>
>
> I'm still trying to build a cross toolchain with gcc 4.0.1 or 4.0.2
> (4.0.2 now) for arm, no VFP and big endian.
>
>
>
> If I try to compile uclibc with software floating support, I get
> following error:
>
> LD libm-0.9.28.so
>
> lib/libm.a(e_acos.os): In function
> `__ieee754_acos':e_acos.c:(.text+0x58): undefined reference to
> `__subdf3'
>
> :e_acos.c:(.text+0x64): undefined reference to `__divdf3'
>
> :e_acos.c:(.text+0x94): undefined reference to `__muldf3'
>
> :e_acos.c:(.text+0xb8): undefined reference to `__adddf3'
>
> lib/libm.a(e_asin.os): In function
> `__ieee754_asin':e_asin.c:(.text+0xc0): undefined reference to
`__gtdf2'
>
> lib/libm.a(e_exp.os): In function
`__ieee754_exp':e_exp.c:(.text+0x90):
> undefined reference to `__ltdf2'
>
> :e_exp.c:(.text+0x12c): undefined reference to `__fixdfsi'
>
> :e_exp.c:(.text+0x134): undefined reference to `__floatsidf'
>
> lib/libm.a(e_jn.os): In function `__ieee754_jn':e_jn.c:(.text+0xfc):
> undefined reference to `__ledf2'
>
> lib/libm.a(e_lgamma_r.os): In function
> `__ieee754_lgamma_r':e_lgamma_r.c:(.text+0x12c): undefined reference
to
> `__nedf2'
>
> :e_lgamma_r.c:(.text+0x2f0): undefined reference to `__eqdf2'
>
> lib/libm.a(e_remainder.os): In function
> `__ieee754_remainder':e_remainder.c:(.text+0x1b0): undefined reference
> to `__gedf2'
>
> lib/libm.a(fpmacros.os): In function
> `__fpclassifyf':fpmacros.c:(.text+0x3c): undefined reference to
> `__eqsf2'
>
> lib/libm.a(nan.os): In function `nan':nan.c:(.text+0x5c): undefined
> reference to `strtod'
>
> lib/libm.a(nan.os): In function `nanf':nan.c:(.text+0xe4): undefined
> reference to `strtof'
>
> lib/libm.a(acosf.os): In function
`acosf':float_wrappers.c:(.text+0x4):
> undefined reference to `__extendsfdf2'
>
> :float_wrappers.c:(.text+0xc): undefined reference to `__truncdfsf2'
>
> lib/libm.a(ilogbf.os): In function
> `ilogbf':float_wrappers.c:(.text+0xc): undefined reference to
> `__floatsisf'
>
> :float_wrappers.c:(.text+0x10): undefined reference to `__fixsfsi'
>
>
/home/geertss/buildroot/build_armeb_nofpu/staging_dir/lib/gcc/armeb-linu
> x-uclibc/4.0.2/libgcc.a(_fixsfdi.o): In function
> `__fixsfdi':libgcc2.c:(.text+0xc): undefined reference to `__ltsf2'
>
> make: *** [lib/libm.so] Error 1
looks to me that gcc and/or uclibc are not built both w/ the same
option,
in this case softfloat both
Peter
--
Peter S. Mazinger <ps dot m at gmx dot net> ID: 0xA5F059F2
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08 BB6E C389 975E A5F0 59F2
More information about the uClibc
mailing list