This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

glibc 2.1 doesn't build with --disable-static



Hi,

I tried to build the current version of glibc 2.1 with the following
configure command:
/usr/glibc/src/libc/configure --prefix=/usr/glibc/glibc-2.1 \
--disable-static --disable-profile --without-cvs --enable-add-ons

and received an error since abi-note.o and init.o are not build:
/opt/egcs/bin/gcc ../sysdeps/i386/elf/start.S -c  -I. -I/tmp/build-static/csu -I.. -I../include -I../libio  -I/tmp/build-static -I../sysdeps/i386/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/i386 -I../linuxthreads/sysdeps/pthread/no-cmpxchg -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/i486 -I../sysdeps/i386/fpu -I../sysdeps/libm-i387 -I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754 -I../sysdeps/libm-ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic   -D_LIBC_REENTRANT -include ../include/libc-symbols.h     -DHAVE_INITFINI -DASSEMBLER  -I/tmp/build-static/csu/. -DGAS_SYNTAX  -o /tmp/build-static/csu/start.o
/opt/egcs/bin/gcc -nostdlib -nostartfiles -r -o /tmp/build-static/csu/crt1.o /tmp/build-static/csu/start.o /tmp/build-static/csu/abi-note.o /tmp/build-static/csu/init.o
gcc: /tmp/build-static/csu/abi-note.o: No such file or directory
gcc: /tmp/build-static/csu/init.o: No such file or directory
make[2]: *** [/tmp/build-static/csu/crt1.o] Error 1
make[2]: Leaving directory `/usr/glibc/src/libc/csu'
make[1]: *** [csu/subdir_lib] Error 2
make[1]: Leaving directory `/usr/glibc/src/libc'
make: *** [all] Error 2

The problem might be that object-suffixes doesn't contain .o and
therefore those files aren't generated.

This is on Linux 2.1.108, ix86 with make 3.76.92 and a current egcs.

Andreas
-- 
 Andreas Jaeger   aj@arthur.rhein-neckar.de    jaeger@informatik.uni-kl.de
  for pgp-key finger ajaeger@alma.student.uni-kl.de


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]