This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: segmentation faults for ld, 2.19.92 snapshot and head
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Alan Modra schrieb:
> On Mon, Oct 12, 2009 at 11:42:06PM +0200, Rainer Emrich wrote:
>> Seen in a cross setup x86_64-unknown-linux-gnu -> ia64-unknown-linux-gnu.
>>
>> Binutils are build with gcc trunk.
>
> Try building with a more stable gcc. If the segfaults persist then we
> want to know about them, and preferably how to reproduce without
> having a particular target C compiler and libraries installed.
>
Alan,
I tried with binutils-2.20 and as it turns out there seems to be a bug in
gcc-4.5.0, see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41750.
Affected function is get_got in bfd/elf64-ia64.c. Compiled with -fno-ipa-sra I
get a working ia64-unknown-linux-gnu-ld. So, the bug seems to be in the ipa-sra
pass. But I'm not able to create a suitable test case, because the dependencies
of get_got are really complex.
Help from someone more familiar with the bfd library is highly appreciated.
Rainer
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkreNkcACgkQoUhjsh59BL6fjgCeNU9G7ny/tBYz2VXWEtxnSMCj
yPMAoIyZQBTLj7LNcrWVdX/r3D2Pe0FV
=n48z
-----END PGP SIGNATURE-----