Hi,
My compile always exits with Error 2s when Im compiling glibc (I've tried both 2.3.1 and 2.3 without any success)
The failure is as shown below:
Code:
gcc ../sysdeps/unix/sysv/linux/sigsuspend.c -c -O -Wall -Winline -Wstrict-protot
ypes -Wwrite-strings -g -I../include -I. -I/root/glibc-build/signal -I.. -I
../libio -I/root/glibc-build -I../sysdeps/i386/elf -I../linuxthreads/sysdeps/un
ix/sysv/linux/i386 -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/s
ysdeps/pthread -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../lin
uxthreads/sysdeps/unix -I../linuxthreads/sysdeps/i386/i686 -I../linuxthreads/sys
deps/i386 -I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux -I../sy
sdeps/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/i68
6 -I../sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../sysdeps/i386 -I../sysdeps/wo
rdsize-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/generi
c -D_LIBC_REENTRANT -include ../include/libc-symbols.h -o /root/glibc-bui
ld/signal/sigsuspend.o
/tmp/ccp0SUJ2.s: Assembler messages:
/tmp/ccp0SUJ2.s:126: Error: non-constant expression in ".if" statement
/tmp/ccp0SUJ2.s:127: Error: non-constant expression in ".if" statement
/tmp/ccp0SUJ2.s:130: Error: non-constant expression in ".if" statement
make[2]: *** [/root/glibc-build/signal/sigsuspend.o] Error 1
make[2]: Leaving directory `/root/glibc-2.3/signal'
make[1]: *** [signal/subdir_lib] Error 2
make[1]: Leaving directory `/root/glibc-2.3'
make: *** [all] Error 2
My compiler is:
Code:
I have no name!:~/glibc-build# gcc -v
Reading specs from /static/lib/gcc-lib/i686-pc-linux-gnu/3.3/specs
Configured with: ../gcc-3.3/configure --prefix=/static --disable-nls --disable-s
hared --with-as=/mnt/data/filesystems/mnt/lfs//static/bin/as --with-ld=/mnt/data
/filesystems/mnt/lfs/static/bin/ld
Thread model: posix
gcc version 3.3
I have no name!:~/glibc-build#
I think it might because Im running gcc 3.3
Shak