This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: glibc 2.1.93
- To: Christian Iseli <chris at ludwig-alpha dot unil dot ch>
- Subject: Re: glibc 2.1.93
- From: Andreas Jaeger <aj at suse dot de>
- Date: 19 Sep 2000 20:12:20 +0200
- Cc: libc-alpha at sourceware dot cygnus dot com
- References: <200009191131.NAA08114@ludwig-alpha.unil.ch>
>>>>> Christian Iseli writes:
Christian> aj@suse.de said:
>> I've reported this already to the gcc bugs list, so far no result. Try
>> compiling that file with -O0.
Christian> Ok, did that. In fact, it also accepts it with -O...
Christian> But, after a short while, the build stops again:
Christian> gcc -nostdlib -nostartfiles
Christian> -o /usr/src/redhat/BUILD/glibc-build-i386/iconv/iconv_prog
Christian> -Wl,-dynamic-linker=/lib/ld-linux.so.2
Christian> /usr/src/redhat/BUILD/glibc-build-i386/csu/crt1.o
Christian> /usr/src/redhat/BUILD/glibc-build-i386/csu/crti.o
Christian> `gcc --print-file-name=crtbegin.o`
Christian> /usr/src/redhat/BUILD/glibc-build-i386/iconv/iconv_prog.o
Christian> -Wl,-rpath-link=/usr/src/redhat/BUILD/glibc-build-i386:
Christian> /usr/src/redhat/BUILD/glibc-build-i386/math:
Christian> /usr/src/redhat/BUILD/glibc-build-i386/elf:
Christian> /usr/src/redhat/BUILD/glibc-build-i386/dlfcn:
Christian> /usr/src/redhat/BUILD/glibc-build-i386/nss:
Christian> /usr/src/redhat/BUILD/glibc-build-i386/nis:
Christian> /usr/src/redhat/BUILD/glibc-build-i386/rt:
Christian> /usr/src/redhat/BUILD/glibc-build-i386/resolv:
Christian> /usr/src/redhat/BUILD/glibc-build-i386/crypt:
Christian> /usr/src/redhat/BUILD/glibc-build-i386/linuxthreads
Christian> /usr/src/redhat/BUILD/glibc-build-i386/libc.so.6
Christian> /usr/src/redhat/BUILD/glibc-build-i386/libc_nonshared.a
Christian> -lgcc `gcc --print-file-name=crtend.o`
Christian> /usr/src/redhat/BUILD/glibc-build-i386/csu/crtn.o
Christian> /usr/src/redhat/BUILD/glibc-build-i386/csu/crt1.o: In function `_start':
Christian> /usr/src/redhat/BUILD/glibc-build-i386/csu/crt1.o(.text+0xc):
Christian> undefined reference to `_fini'
Christian> /usr/src/redhat/BUILD/glibc-build-i386/csu/crt1.o(.text+0x11):
Christian> undefined reference to `_init'
Christian> Seems something else has gone wrong... :-(
Seems like gcc doesn't build csu/crti.o correctly :-(. I'll send a
bug report.
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj