AMCC-440EP floating point error

Khem Raj khem@mvista.com
Mon Apr 17 12:11:00 GMT 2006


bora.sahin@ttnet.net.tr wrote:

>Hi,
>
>  
>
>>>include ../include/libc-symbols.h       -I../soft-fp/
>>>-o
>>>/opt/db1200/build-tools/crosstool-0.42/build/powerpc-440-linux-gnu/gcc-3.
>>>4.4-glibc-2.3.5/build-glibc/math/s_isnan.o -MD -MP
>>>-MF
>>>/opt/db1200/build-tools/crosstool-0.42/build/powerpc-440-linux-gnu/gcc-3.
>>>4.4-glibc-2.3.5/build-glibc/math/s_isnan.o.dt -MT
>>>/opt/db1200/build-tools/crosstool-0.42/build/powerpc-440-linux-gnu/gcc-3.
>>>4.4-glibc-2.3.5/build-glibc/math/s_isnan.o
>>>../sysdeps/powerpc/fpu/s_isnan.c: In function `__isnan':
>>>../sysdeps/powerpc/fpu/s_isnan.c:44: error: can't find a register in
>>>class `FLOAT_REGS' while reloading `asm'
>>>../sysdeps/powerpc/fpu/s_isnan.c:47: error: can't find a register in
>>>class `FLOAT_REGS' while reloading `asm'
>>>make[2]: ***
>>>[/opt/db1200/build-tools/crosstool-0.42/build/powerpc-440-linux-gnu/gcc-3
>>>.4.4-glibc-2.3.5/build-glibc/math/s_isnan.o] Error 1
>>>      
>>>
>>you would need to patch gcc IIRC there was a patch in 3.4.x to fix this
>>issue. Look though the GCC patches or CVS mailing list.
>>    
>>
>
>Sory for bothering you but really I didnt find a patch regarding this one or 
>didnt relate anything to this one. How should I do? Post a message to gcc 
>mailing list?
>
>  
>
do you know if --without-fp was used when configuring glibc
your problem looks like that your gcc is not compiled with hard fp 
support where as glibc is configured with hard fp. You can try adding 
--without-fp to your glibc configure command.

>--
>Bora SAHIN
>  
>


--
For unsubscribe information see http://sourceware.org/lists.html#faq



More information about the crossgcc mailing list