This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: The Linux binutils 2.17.50.0.9 is released
- From: "H. J. Lu" <hjl at lucon dot org>
- To: S.ÃaÄlar Onur <caglar at pardus dot org dot tr>
- Cc: binutils at sources dot redhat dot com
- Date: Sun, 7 Jan 2007 13:29:55 -0800
- Subject: Re: The Linux binutils 2.17.50.0.9 is released
- References: <20070103204535.GA5131@lucon.org> <200701071833.13206.caglar@pardus.org.tr>
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.