This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Miscompilation of glibc with CVS mainline
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: gcc at gcc dot gnu dot org
- Cc: aj at suse dot de
- Date: Wed, 1 Jan 2003 12:43:31 -0500 (EST)
- Subject: Re: Miscompilation of glibc with CVS mainline
> CPP='/opt/gcc/3.3-devel/bin/gcc -E -x c-header' /builds/glibc/test-libc/elf/ld-linux.so.2 --library-path /builds/glibc/test-libc:/builds/glibc/test-libc/math:/builds/glibc/test-libc/elf:/builds/glibc/test-libc/dlfcn:/builds/glibc/test-libc/nss:/builds/glibc/test-libc/nis:/builds/glibc/test-libc/rt:/builds/glibc/test-libc/resolv:/builds/glibc/test-libc/crypt:/builds/glibc/test-libc/linuxthreads /builds/glibc/test-libc/sunrpc/rpcgen -Y ../scripts -c rpcsvc/bootparam_prot.x -o /builds/glibc/test-libc/sunrpc/xbootparam_prot.T
> make[2]: *** [/builds/glibc/test-libc/sunrpc/xbootparam_prot.stmp] Segmentation fault
> make[2]: Leaving directory `/cvs/libc/sunrpc'
I hit what appears to be the same error trying to build glibc-2.3.1 on
hppa-linux. It's hard to debug because the segmentation fault occurs in
a shared library without any debug symbols. In my particular case, it
seemed as if the code was trying to call an undefined weak (indirect
call to function at address 0x0).
Dave
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)