bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Libc 2.2 cross build problem, i386 -> powerpc w/o FPU


From: kimt
Subject: Libc 2.2 cross build problem, i386 -> powerpc w/o FPU
Date: Tue, 21 Nov 2000 12:46:47 -0500

I'm trying to cross-build a glibc for a powerpc without an FPU
available.  My build machine is i386-linux, the target is a
powerpc-linux machine.  I run configure as follows:

# ... this is the linux include directory equivalent to /usr/include
HDRDIR=`pwd`/../../../include

configure --target=powerpc-linux \
--with-headers=${HDRDIR} \
--with-gnu-as --with-gnu-ld \
--enable-add-ons=crypt,linuxthreads \
--disable-sanity-checks --without-fp \
--build=i686-linux --host=powerpc-linux

and start a make.  Much later, it gets an error: 

make  -C math others
make[1]: Entering directory 
`/home/stevew/ws/linux/LightMux8/packages/glibc-2.2/math'
powerpc-linux-gcc -specs=specs.linux ../sysdeps/powerpc/fclrexcpt.c -c 
-DNDEBUG=1 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -msoft-float 
-mnew-mnemonics -Wa,-mppc -mpowerpc     -Wno-uninitialized  -I../include -I.  
-I.. -I../libio  -I../sysdeps/powerpc/elf -I../crypt/sysdeps/unix 
-I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread 
-I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix 
-I../linuxthreads/sysdeps/powerpc -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 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/flt-32 
-I../sysdeps/ieee754/dbl-64 -I../sysdeps/powerpc/soft-fp -I../sysdeps/ieee754 
-I../sysdeps/generic/elf -I../sysdeps/generic  -nostdinc -isystem 
/usr/local/powerpc-linux/lib/gcc-lib/powerpc-linux/2.95.2/incl!
ude -isystem 
/home/stevew/ws/linux/LightMux8/packages/glibc-2.2/../../../include 
-D_LIBC_REENTRANT -include ../include/libc-symbols.h     -I../soft-fp/ 
-D__NO_MATH_INLINES -D__LIBC_INTERNAL_MATH_INLINES -DNO_LONG_DOUBLE 
-D_Mlong_double_=double -o fclrexcpt.o
../sysdeps/powerpc/fclrexcpt.c:20: fenv_libc.h: No such file or directory
make[1]: *** [fclrexcpt.o] Error 1


There does seem to be an fenv_libc.h file in sysdeps/powerpc/fpu, but
it is not in one of the -I specs.  I'm not sure where to proceed, but
any pointers would be helpfull.

P.S. We've also tried this with glibc-2.1.3, but ran into some other
problem.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]