AMCC-440EP floating point error

bora.sahin@ttnet.net.tr bora.sahin@ttnet.net.tr
Thu Apr 13 18:18:00 GMT 2006


> Yup clear,
>  I tried building it with the latest binutils,gcc and glibc 2.3.4. It
> worked fine.
> I didn't try the crosstool script though. Looks like it should compile
> file. Can you copy around 15-20 lines of error message where it begins

OK...

powerpc-440-linux-gnu-gcc  ../sysdeps/powerpc/fpu/s_isnan.c -c -std=gnu99 -O 
-Wall -Winline -Wstrict-prototypes -Wwrite-strings -mcpu=440 -mnew-mnemonics  
-Wno-uninitialized -D__NO_MATH_INLINES -D__LIBC_INTERNAL_MATH_INLINES 
-DNO_LONG_DOUBLE -D_Mlong_double_=double -I../include -I. 
-I/opt/db1200/build-tools/crosstool-0.42/build/powerpc-440-linux-gnu/gcc-3.4.4-glibc-2.3.5/build-glibc/math 
-I.. -I../libio  
-I/opt/db1200/build-tools/crosstool-0.42/build/powerpc-440-linux-gnu/gcc-3.4.4-glibc-2.3.5/build-glibc 
-I../sysdeps/powerpc/powerpc32/elf -I../sysdeps/powerpc/elf 
-I../linuxthreads/sysdeps/unix/sysv/linux/powerpc/powerpc32 
-I../linuxthreads/sysdeps/unix/sysv/linux/powerpc 
-I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread 
-I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv 
-I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/powerpc/powerpc32 
-I../linuxthreads/sysdeps/powerpc 
-I../sysdeps/unix/sysv/linux/powerpc/powerpc32 
-I../sysdeps/unix/sysv/linux/powerpc -I../sysdeps/unix/sysv/linux 
-I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman 
-I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/powerpc 
-I../sysdeps/unix -I../sysdeps/posix 
-I../sysdeps/powerpc/powerpc32/fpu-I../sysdeps/powerpc/powerpc32 
-I../sysdeps/wordsize-32 -I../sysdeps/powerpc/soft-fp 
-I../sysdeps/powerpc/fpu -I../sysdeps/powerpc -I../sysdeps/ieee754/flt-32 
-I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754 -I../sysdeps/generic/elf 
-I../sysdeps/generic -nostdinc 
-isystem /opt/db1200/build-tools/crosstool-0.42/build/powerpc-440-linux-gnu/gcc-3.4.4-glibc-2.3.5/gcc-core-prefix/lib/gcc/powerpc-440-linux-gnu/3.4.4/include 
-isystem /opt/crosstool/gcc-3.4.4-glibc-2.3.5/powerpc-440-linux-gnu/powerpc-440-linux-gnu/include 
-D_LIBC_REENTRANT -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

--
Bora SAHIN

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



More information about the crossgcc mailing list