[patch]: native binutils build on arm
Peter S. Mazinger
ps.m at gmx.net
Thu Aug 10 12:15:30 PDT 2006
On Wed, 9 Aug 2006, Khem Raj wrote:
> Hi
>
> While building latest binutils from head natively on uclibc system. The
> build error
>
> loatformat.o): In function `floatformat_from_double':
> floatformat.c:(.text+0x250): undefined reference to `frexp'
> floatformat.c:(.text+0x360): undefined reference to `ldexp'
> /build_area/BUILD/arm_iwmmxt_le_uclibc/binutils-2.17.50/objdir/libiberty
> /pic/libiberty.a(floatformat.o): In function `floatformat_to_double':
> floatformat.c:(.text+0x3e2): undefined reference to `ldexp'
> floatformat.c:(.text+0x434): undefined reference to `ldexp'
> floatformat.c:(.text+0x4ba): undefined reference to `ldexp'
> floatformat.c:(.text+0x584): undefined reference to `ldexp'
> collect2: ld returned 1 exit status
> make[4]: *** [as-new] Error 1
>
>
> These symbols are in libm and gas is not being linked with libm here
>
> The following patch fixes the problem for arm. I think this fix might be
> needed for all uclibc arches but I haven't tested other arches.
>
> Index: binutils-2.17.50/gas/configure
don't use that version, up to at least 2.17.50.0.2 it fails check_ld in
uClibc build.
(haven't had time to see if 2.17.50.0.3 is ok)
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