Compiling glibc-2.3.2 (-2.3.3?) snapshot 20031115 with gcc-3.4 snapshot 20031119

Robert Moss robert.moss@jesus.ox.ac.uk
Wed Nov 26 17:34:00 GMT 2003


Same error, I'm afraid. I'm running binutils 2.14.90.0.7 on the Linux 
(x86) kernel 2.6.0-test9 with headers from kernel 2.4.21. I think this 
link (which I had already found):

http://gcc.gnu.org/ml/gcc/2003-01/msg00030.html

is the more useful of the two. Unfortunately, I don't know what to do to 
fix what is discussed in that thread - like I said, my programming 
knowledge is quite limited.

This error in fact occurs whenever you get an ld.so built which 
segfaults, as this is the first instance in which it is used, which is 
why it came up way back in September 2002 on ARM linux - that segfault, 
however, I think was caused by something different.

I'm currently compiling gcc-3.4-20031126 to see if it makes any 
difference, but I'm not hopeful.

Anyone got any more suggestions?

Cheers,

Rob

Dan Kegel wrote:
> Robert Moss wrote:
> 
>> CPP='gcc -E -x c-header' 
>> /var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/elf/ld-linux.so.2 
>> --library-path 
>> /var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere:/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/math:/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/elf:/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/dlfcn:/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/nss:/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/nis:/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/rt:/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/resolv:/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/crypt:/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/nptl 
>> /var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/sunrpc/rpcgen 
>> -Y ../scripts -c rpcsvc/bootparam_prot.x -o 
>> /var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/sunrpc/xbootparam_prot.T 
>>
>> make[2]: *** 
>> [/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/sunrpc/xbootparam_prot.stmp] 
>> Segmentation fault
> 
> 
> Found a couple hits on that one, e.g.
> http://sources.redhat.com/ml/libc-hacker/2002-09/msg00113.html and 
> followups
> http://gcc.gnu.org/ml/gcc/2003-01/msg00030.html and followups
> 
> What binutils are you using?  One of the messages suggested
> that binutils-2.13.90.0.2 needed a "bfd reference counting" patch
> to fix this.  I think 
> http://www.kernel.org/pub/linux/devel/binutils/binutils-2.14.90.0.7.tar.bz2
> is the latest, if you're using something older, give it a shot...
> 
> When people ask me what I do now that I work for Google, I tell them
> I'm the guy who looks up stuff when people click 'search' :-)
> - Dan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 264 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20031126/ef3c50ca/attachment.sig>


More information about the Libc-alpha mailing list