This is the mail archive of the libc-alpha@sources.redhat.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]

Re: glibc 2.1.93


>>>>> 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

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