Glibc cvs: ld segmentation fault
Hi Dave,
To compile toolchaine with gcc-3.2, I also try cvs glibc.
I also apply your "patch glibc-2.2.5 for gcc-3.2"
After applying similar patch to "sysdeps/hppa/dl-machine.h", I always got ld segmetation fault:
/Develop/parisc-linux/build/glibc/elf/ld.so.1 --library-path /Develop/parisc-linux/build/glibc:/Develop/parisc-linux/build/glibc/math:/Develop/parisc-linux/build/glibc/elf:/Develop/parisc-linux/build/glibc/dlfcn:/Develop/parisc-linux/build/glibc/nss:/Develop/parisc-linux/build/glibc/nis:/Develop/parisc-linux/build/glibc/rt:/Develop/parisc-linux/build/glibc/resolv:/Develop/parisc-linux/build/glibc/crypt:/Develop/parisc-linux/build/glibc/linuxthreads /Develop/parisc-linux/build/glibc/sunrpc/rpcgen -Y ../scripts -c
rpcsvc/bootparam_prot.x -o
/Develop/parisc-linux/build/glibc/sunrpc/xbootparam_prot.T
make[2]: *** [/Develop/parisc-linux/build/glibc/sunrpc/xbootparam_prot.stmp]
Segmentation fault
make[2]: Leaving directory `/Develop/parisc-linux/src/glibc/sunrpc'
make[1]: *** [sunrpc/others] Error 2
make[1]: Leaving directory `/Develop/parisc-linux/src/glibc'
make: *** [all] Error 2
### Thu Jun 13 09:12:24 2002 ###
Don't you have additional advice?
Thanks in advance,
Joel
PS: I got the same result whatever the env I choose:
unset LD_LIBRARY_PATH
unset LD_RUN_PATH
or
export LD_LIBRARY_PATH=$DEST/lib
export LD_RUN_PATH=$DEST/bin
-------------------------------------------------
This mail sent through Tiscali Webmail (http://webmail.tiscali.be)
Quoted 1 line
Don't you have additional advice?
Did you start with the debian version of glibc? I have built 2.2.5-6 with 3.2 and am using it. It's possible you need to update binutils. Some linux versions also seem to have a tendency to cause random segfaults.
Since I don't think I can duplicate your environment, you will have to run ld under gdb to find out where it's segfaulting and get some sense as to what's causing the problem.
Dave
Signature · 2 lines
J. David Anglin [email protected] National Research Council of Canada (613) 990-0752 (FAX: 952-6605)
Quoting John David Anglin <[email protected]>:
Quoted 10 lines
Quoted 1 line
Don't you have additional advice?
Did you start with the debian version of glibc? I have built 2.2.5-6 with 3.2 and am using it. It's possible you need to update binutils. Some linux versions also seem to have a tendency to cause random segfaults.
Since I don't think I can duplicate your environment, you will have to run ld under gdb to find out where it's segfaulting and get some sense as to what's causing the problem.
Dave,
Thanks a lot.
As my first object (right now) is to help to understand why linux crash with network connection when compile with gcc-3.[12], I will also work with glibc-2.2.5.
Joel
-------------------------------------------------
This mail sent through Tiscali Webmail (http://webmail.tiscali.be)