On Sat, May 07, 2011 at 12:25:15PM +0200, Aurelien Jarno wrote:
> On Wed, May 04, 2011 at 02:30:35PM +0200, Aurelien Jarno wrote:
> > Le 04/05/2011 07:42, Steve M. Robbins a écrit :

> > > P.S.  I tried rebuilding glibc myself locally, but gcc also segfaults
> > > in the process :-(
> > 
> > Are you sure it is something related? Which gcc version are you using?
> > Do you have a backtrace point to the same issue?

I was careless in my initial report; I should have specified that I
tried rebuilding the *old* glibc and got a segfault.  At this point,
all I really know is that building the eglibc 2.11.2-11 Debian source
package on my up-to-date sid amd64 machine fails:

make[3]: Entering directory `/home/steve/tmp/old-eglibc/eglibc-2.11.2/sunrpc'
CPP='gcc-4.4 -E -x c-header'    
/home/steve/tmp/old-eglibc/eglibc-2.11.2/build-tree/amd64-libc/elf/ld-linux-x86-64.so.2
 --library-path 
/home/steve/tmp/old-eglibc/eglibc-2.11.2/build-tree/amd64-libc:/home/steve/tmp/old-eglibc/eglibc-2.11.2/build-tree/amd64-libc/math:/home/steve/tmp/old-eglibc/eglibc-2.11.2/build-tree/amd64-libc/elf:/home/steve/tmp/old-eglibc/eglibc-2.11.2/build-tree/amd64-libc/dlfcn:/home/steve/tmp/old-eglibc/eglibc-2.11.2/build-tree/amd64-libc/nss:/home/steve/tmp/old-eglibc/eglibc-2.11.2/build-tree/amd64-libc/nis:/home/steve/tmp/old-eglibc/eglibc-2.11.2/build-tree/amd64-libc/rt:/home/steve/tmp/old-eglibc/eglibc-2.11.2/build-tree/amd64-libc/resolv:/home/steve/tmp/old-eglibc/eglibc-2.11.2/build-tree/amd64-libc/crypt:/home/steve/tmp/old-eglibc/eglibc-2.11.2/build-tree/amd64-libc/nptl
 /home/steve/tmp/old-eglibc/eglibc-2.11.2/build-tree/amd64-libc/sunrpc/rpcgen 
-Y ../scripts -c rpcsvc/bootparam_prot.x -o 
/home/steve/tmp/old-eglibc/eglibc-2.11.2/build-tree/amd64-libc/sunrpc/xbootparam_prot.T
make[3]: *** 
[/home/steve/tmp/old-eglibc/eglibc-2.11.2/build-tree/amd64-libc/sunrpc/xbootparam_prot.stmp]
 Segmentation fault (core dumped)

The segfault is actually in the "ld-linux-x86-64.so.2" binary produced
during the build, not gcc as I had earlier written.  The backtrace is:

(gdb) bt full
#0  0xffffffffffffffff in ?? ()
No symbol table info available.
#1  0x00002b4d84d7e990 in call_init (l=<value optimized out>, argc=7, 
argv=0x7fff26bf50a0, env=0x7fff26bf50e0) at dl-init.c:85
        j = 1
        jm = 4
        init_array = 0x2b4d852ebb50
#2  0x00002b4d84d7ea87 in _dl_init (main_map=0x2b4d84f90178, argc=7, 
argv=0x7fff26bf50a0, env=0x7fff26bf50e0) at dl-init.c:134
        preinit_array = <value optimized out>
        preinit_array_size = 0x0
        i = 0
#3  0x00002b4d84d71b2a in _dl_start_user ()
   from 
/home/steve/tmp/old-eglibc/eglibc-2.11.2/build-tree/amd64-libc/elf/ld-linux-x86-64.so.2
No symbol table info available.
#4  0x00007fff26bf6574 in ?? ()
No symbol table info available.
#5  0x0000000000000007 in ?? ()
No symbol table info available.
#6  0x00007fff26bf6825 in ?? ()
No symbol table info available.
#7  0x00007fff26bf6872 in ?? ()
No symbol table info available.
#8  0x00007fff26bf6875 in ?? ()
No symbol table info available.
#9  0x00007fff26bf6880 in ?? ()
No symbol table info available.
#10 0x00007fff26bf6883 in ?? ()
No symbol table info available.
#11 0x00007fff26bf689b in ?? ()
No symbol table info available.
#12 0x00007fff26bf689e in ?? ()
No symbol table info available.
#13 0x0000000000000000 in ?? ()
No symbol table info available.

Hope this clarifies the issue somewhat.

Thanks,
-Steve

Attachment: signature.asc
Description: Digital signature

Reply via email to