buildroot fails for ARM w/ gcc 4.1 and soft float
Khem Raj
khem at mvista.com
Fri May 12 16:43:26 PDT 2006
Lance Spaulding said the following on 05/12/2006 02:03 PM:
> Khem Raj wrote:
>
>> Check your libgcc build. It seems it did not build properly for soft
>> float case.
>
> Hi Khem,
>
> I'm not sure what to check for. I've rebuilt and captured the output
> in the attached file. Can you tell from the logfile why its failing?
>
> Thanks,
> Lance
>
Your problem is not compiling uclibc but libgcc (GCC C runtime library)
which is compiled with GCC. You might need this patch
apply this and try again
-Khem
Index: gcc-4.1.0/gcc/config/arm/t-linux
===================================================================
--- gcc-4.1.0.orig/gcc/config/arm/t-linux
+++ gcc-4.1.0/gcc/config/arm/t-linux
@@ -4,7 +4,12 @@ TARGET_LIBGCC2_CFLAGS = -fomit-frame-poi
LIBGCC2_DEBUG_CFLAGS = -g0
LIB1ASMSRC = arm/lib1funcs.asm
-LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_lnx
+LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_lnx \
+ _call_via_rX _interwork_call_via_rX \
+ _lshrdi3 _ashrdi3 _ashldi3 \
+ _negdf2 _addsubdf3 _muldivdf3 _cmpdf2 _unorddf2 _fixdfsi
_fixunsdfsi \
+ _truncdfsf2 _negsf2 _addsubsf3 _muldivsf3 _cmpsf2 _unordsf2 \
+ _fixsfsi _fixunssfsi _floatdidf _floatdisf
# MULTILIB_OPTIONS = mhard-float/msoft-float
# MULTILIB_DIRNAMES = hard-float soft-float
More information about the uClibc
mailing list