BusyBox Bug and Patch Tracking
BusyBox
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000299 [uClibc] Architecture Specific major always 06-15-05 15:06 08-28-05 01:02
Reporter fred68 View Status public  
Assigned To uClibc
Priority normal Resolution won't fix  
Status closed   Product Version 0.9.27
Summary 0000299: Build for ARM 920T fails if option software floating point is enabled
Description I cannot build the buildroot for ARM920T if I enable the option

[*] Use software floating point by default.

Link errors are generated :
See additional informations for the details
Problem to link with any floating point functions ?

Additional Information /home/Programs/arm_tools/buildroot/build_arm_nofpu/staging_dir/bin/arm-linux-uclibc-ar r libc.a $objs && \
/home/Programs/arm_tools/buildroot/build_arm_nofpu/staging_dir/bin/arm-linux-uclibc-ar dN 2 libc.a $objs && \
/home/Programs/arm_tools/buildroot/build_arm_nofpu/staging_dir/bin/arm-linux-uclibc-ar dN 2 libc.a $objs
/home/Programs/arm_tools/buildroot/build_arm_nofpu/staging_dir/bin/arm-linux-uclibc-ar r libc.a obj.signal
/home/Programs/arm_tools/buildroot/build_arm_nofpu/staging_dir/bin/arm-linux-uclibc-ar r libc.a obj.string.generic
/home/Programs/arm_tools/buildroot/build_arm_nofpu/staging_dir/bin/arm-linux-uclibc-ar r libc.a obj.string.arm
/home/Programs/arm_tools/buildroot/build_arm_nofpu/staging_dir/bin/arm-linux-uclibc-ar r libc.a obj.string
/home/Programs/arm_tools/buildroot/build_arm_nofpu/staging_dir/bin/arm-linux-uclibc-ar r libc.a obj.sysdeps.common
/home/Programs/arm_tools/buildroot/build_arm_nofpu/staging_dir/bin/arm-linux-uclibc-ar r libc.a obj.sysdeps.arm
/home/Programs/arm_tools/buildroot/build_arm_nofpu/staging_dir/bin/arm-linux-uclibc-ranlib libc.a
/home/Programs/arm_tools/buildroot/build_arm_nofpu/staging_dir/bin/arm-linux-uclibc-ld -EL -shared --warn-common --warn-once -z combreloc -z defs -s -soname=libc.so.0 -o libuClibc-0.9.27.so \
        --whole-archive libc.a \
        ../libc/misc/internals/interp.o --no-whole-archive \
        -init __uClibc_init /home/Programs/arm_tools/buildroot/build_arm_nofpu/staging_dir/lib/gcc/arm-linux-uclibc/3.4.4/libgcc.a
libc.a(difftime.o): In function `difftime':
time.c:(.text+0x8): undefined reference to `__floatsidf'
time.c:(.text+0x2c): undefined reference to `__subdf3'
libc.a(_fpmaxtostr.o): In function `_fpmaxtostr':
_fpmaxtostr.c:(.text+0xfc): undefined reference to `__nedf2'
_fpmaxtostr.c:(.text+0x120): undefined reference to `__eqdf2'
_fpmaxtostr.c:(.text+0x13c): undefined reference to `__divdf3'
_fpmaxtostr.c:(.text+0x148): undefined reference to `__ltdf2'
_fpmaxtostr.c:(.text+0x1a4): undefined reference to `__muldf3'
_fpmaxtostr.c:(.text+0x384): undefined reference to `__gedf2'
_fpmaxtostr.c:(.text+0x428): undefined reference to `__adddf3'
libc.a(__psfs_do_numeric.o): In function `__psfs_do_numeric':
scanf.c:(.text+0x54c): undefined reference to `__truncdfsf2'
libc.a(strtof.o): In function `strtof':
strtod.c:(.text+0x1c): undefined reference to `__extendsfdf2'
/home/Programs/arm_tools/buildroot/build_arm_nofpu/staging_dir/lib/gcc/arm-linux-uclibc/3.4.4/libgcc.a(_fixunsdfsi.o): In function `__fixunsdfsi':
libgcc2.c:(.text+0x34): undefined reference to `__fixdfsi'
make[2]: *** [shared] Error 1
make[2]: Leaving directory `/home/Programs/arm_tools/buildroot/toolchain_build_arm_nofpu/uClibc/libc'
make[1]: *** [shared] Erreur 2
make[1]: Leaving directory `/home/Programs/arm_tools/buildroot/toolchain_build_arm_nofpu/uClibc'
make: *** [/home/Programs/arm_tools/buildroot/toolchain_build_arm_nofpu/uClibc/lib/libc.a] Erreur 2
Attached Files  libgcc_a_NM_command_result.txt [^] (8,250 bytes) 06-16-05 13:05

- Relationships

- Notes
(0000244)
jocke
06-16-05 03:54

> ..../3.4.4/libgcc.a

I think you are using the wrong libgcc.a
It should probably by .../3.4.4/nof/libgcc.a or some such.
 
(0000246)
fred68
06-16-05 13:05

Humm! libgcc.a is in the *_nofpu subfolder:

../build_arm_nofpu/staging_dir/lib/gcc/arm-linux-uclibc/3.4.4/libgcc.a

It seem to be a config problem ;
it looks like a missing file that should be linked to complete the library.
see nm command result.
 
(0000247)
jocke
06-16-05 13:42

gcc 3.4.3 has it in 3.4.3/nof/libgcc.a for powerpc
 
(0000392)
mdeschamps
08-08-05 01:46

I work on a ARM920T based. There is a hardfloat support since there is a "hard" component handling floating matter. So why forcing to softfloat which actually is a dead trick to emulate. Maybe you should consider just not "forcing" and leaving
this "last chance" option alone.
 
(0000393)
fred68
08-08-05 04:17

Thanks to anyone for try to help
The problem has been solved after updating my "autoconf" tool
on my linux PC
 

- Issue History
Date Modified Username Field Change
06-15-05 15:06 fred68 New Issue
06-16-05 03:54 jocke Note Added: 0000244
06-16-05 13:05 fred68 File Added: libgcc_a_NM_command_result.txt
06-16-05 13:05 fred68 Note Added: 0000246
06-16-05 13:42 jocke Note Added: 0000247
08-08-05 01:46 mdeschamps Note Added: 0000392
08-08-05 04:12 fred68 Issue Monitored: fred68
08-08-05 04:17 fred68 Note Added: 0000393
08-08-05 04:18 fred68 Issue End Monitor: fred68
08-08-05 04:18 fred68 Issue Monitored: fred68
08-28-05 01:02 vapier Project buildroot => uClibc
08-28-05 01:02 vapier Status assigned => closed
08-28-05 01:02 vapier Resolution open => won't fix


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker