|
glibc-2.3.5 for i686: compile error
I'm installing a new toolchain in some directory under my home. I've installed binutils-2.16.1, gcc-4.0.1 and now I'm trying to install glibc-2.3.5 with these tools.
I have a FC3 box, with a 2.6.10 kernel.
In a newly create subdir in the glibc-2.3.5 sources, I've configured as follows:
mybashshell>CC=i686-pc-linux-gnu-gcc ../configure --host=i686-pc-linux-gnu --prefix=/export/home/lvanput/architectures/ia32/b216_gc401_gl235/ --enable-add-ons --disable-shared --disable-nls --with-headers=/export/home/lvanput/nobackup/tarballs/linux-libc-headers-2.6.10.0/include/
then ran 'make' and it stopped with the following error:
(echo '#include <sysdep.h>'; \
echo 'PSEUDO (iopl, iopl, 1)'; \
echo ' ret'; \
echo 'PSEUDO_END(iopl)'; \
echo 'libc_hidden_def (iopl)'; \
) | i686-pc-linux-gnu-gcc -c -I../include -I. -I/export/home/lvanput/nobackup/tarballs/glibc-2.3.5/ia32/misc -I.. -I../libio -I../nptl -I/export/home/lvanput/nobackup/tarballs/glibc-2.3.5/ia32 -I../sysdeps/i386/elf -I../nptl/sysdeps/unix/sysv/linux/i386/i686 -I../nptl/sysdeps/unix/sysv/linux/i386 -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../nptl/sysdeps/unix/sysv -I../nptl/sysdeps/unix -I../nptl/sysdeps/i386/i686 -I../nptl/sysdeps/i386 -I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386 -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686 -I../sysdeps/i386/i486 -I../nptl/sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc -isystem /export/home/lvanput/architectures/ia32/b216_gc401_gl235/bin/../lib/gcc/i686-pc-linux-gnu/4.0.1/include -isystem /export/home/lvanput/nobackup/tarballs/linux-libc-headers-2.6.10.0/include/ -D_LIBC_REENTRANT -D_LIBC_REENTRANT -include ../include/libc-symbols.h -DASSEMBLER -DGAS_SYNTAX -Wa,--noexecstack -x assembler-with-cpp -o /export/home/lvanput/nobackup/tarballs/glibc-2.3.5/ia32/misc/iopl.o -
make[2]: *** No rule to make target `/export/home/lvanput/nobackup/tarballs/glibc-2.3.5/ia32/misc/vm86.o', needed by `/export/home/lvanput/nobackup/tarballs/glibc-2.3.5/ia32/misc/stamp.o'. Stop.
make[2]: Leaving directory `/export/home/lvanput/nobackup/tarballs/glibc-2.3.5/misc'
make[1]: *** [misc/subdir_lib] Error 2
make[1]: Leaving directory `/export/home/lvanput/nobackup/tarballs/glibc-2.3.5'
make: *** [all] Error 2
So seemingly, vm86 is going to be build, but make can't figure out how to do so...
Should I configure differently? Is there any other mistake I have made?
I have patched the binutils a bit, as we need this for our link-time optimization framework to do it's work (elis.ugent.be/diablo), but this cannot cause the glibc error. Both binutils and gcc have been configured with the -disable-shared option.
Thnx for your help
|