The Linux binutils 2.17.50.0.9 is released

H. J. Lu hjl@lucon.org
Sun Jan 7 21:30:00 GMT 2007


On Sun, Jan 07, 2007 at 06:33:10PM +0200, S.Çağlar Onur wrote:
> 03 Oca 2007 Çar 22:45 tarihinde, H. J. Lu şunları yazmıştı: 
> > This is the beta release of binutils 2.17.50.0.9 for Linux, which is
> > based on binutils 2007 0103 in CVS on sourceware.org plus various
> > changes. It is purely for Linux.
> 
> Building glibc-2.5 fails with binutils-2.17.50.0.8 and binutils-2.17.50.0.9 
> with following error if i use "-mtune=i686 -O2 -pipe -fomit-frame-pointer" as 
> a CFLAGS (same error occurs with gcc-3.4.6 and latest gcc.4.2 snapshot so i 
> assume its not a compiler regression);
> 
> buildhouse build-default-i686-pc-linux-gnu-nptl 
> # /var/pisi/glibc-2.5-16/work/glibc-2.5/configure --with-tls --with-__thread --enable-add-ons=nptl,libidn --enable-bind-now --enable-kernel=2.6.16 --without-cvs --without-selinux --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --disable-profile --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --libexecdir=/usr/lib/misc
> 
> buildhouse build-default-i686-pc-linux-gnu-nptl # LC_ALL=C make
> 
> make  subdir=sunrpc -C sunrpc ..=../ others
> make[2]: Entering directory `/var/pisi/glibc-2.5-16/work/glibc-2.5/sunrpc'
> CPP='i686-pc-linux-gnu-gcc -E -x 
> c-header'  /var/pisi/glibc-2.5-16/work/build-default-i686-pc-linux-gnu-nptl/elf/ld-linux.so.2 --library-path /var/pisi/glibc-2.5-16/work/build-default-i686-pc-linux-gnu-nptl:/var/pisi/glibc-2.5-16/work/build-default-i686-pc-linux-gnu-nptl/math:/var/pisi/glibc-2.5-16/work/build-default-i686-pc-linux-gnu-nptl/elf:/var/pisi/glibc-2.5-16/work/build-default-i686-pc-linux-gnu-nptl/dlfcn:/var/pisi/glibc-2.5-16/work/build-default-i686-pc-linux-gnu-nptl/nss:/var/pisi/glibc-2.5-16/work/build-default-i686-pc-linux-gnu-nptl/nis:/var/pisi/glibc-2.5-16/work/build-default-i686-pc-linux-gnu-nptl/rt:/var/pisi/glibc-2.5-16/work/build-default-i686-pc-linux-gnu-nptl/resolv:/var/pisi/glibc-2.5-16/work/build-default-i686-pc-linux-gnu-nptl/crypt:/var/pisi/glibc-2.5-16/work/build-default-i686-pc-linux-gnu-nptl/nptl /var/pisi/glibc-2.5-16/work/build-default-i686-pc-linux-gnu-nptl/sunrpc/rpcgen -Y ../scripts -c 
> rpcsvc/bootparam_prot.x -o /var/pisi/glibc-2.5-16/work/build-default-i686-pc-linux-gnu-nptl/sunrpc/xbootparam_prot.T
> Inconsistency detected by ld.so: dynamic-link.h: 187: elf_get_dynamic_info: 
> Assertion `info[29] == ((void *)0)' failed!
> make[2]: *** 

I can't reproduce it with gcc 3.4.6 nor gcc 4.1.1 20061011 (Red Hat
4.1.1-30) plus binutils 2.17.50.0.9. Can you show me the output of

# readelf -d elf/ld.so

Mine has

Dynamic section at offset 0x19efc contains 21 entries:
  Tag        Type                         Name/Value
 0x0000000e (SONAME)                     Library soname: [ld-linux.so.2]
 0x00000004 (HASH)                       0xf4
 0x6ffffef5 (GNU_HASH)                   0x1b4
 0x00000005 (STRTAB)                     0x468
 0x00000006 (SYMTAB)                     0x298
 0x0000000a (STRSZ)                      404 (bytes)
 0x0000000b (SYMENT)                     16 (bytes)
 0x00000003 (PLTGOT)                     0x1afc4
 0x00000002 (PLTRELSZ)                   40 (bytes)
 0x00000014 (PLTREL)                     REL
 0x00000017 (JMPREL)                     0x760
 0x00000011 (REL)                        0x700
 0x00000012 (RELSZ)                      96 (bytes)
 0x00000013 (RELENT)                     8 (bytes)
 0x6ffffffc (VERDEF)                     0x638
 0x6ffffffd (VERDEFNUM)                  6
 0x00000018 (BIND_NOW)                   
 0x6ffffffb (FLAGS_1)                    Flags: NOW
 0x6ffffff0 (VERSYM)                     0x5fc
 0x6ffffffa (RELCOUNT)                   11
 0x00000000 (NULL)                       0x0

H.J.



More information about the Binutils mailing list