This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: segmentation faults for ld, 2.19.92 snapshot and head


Hello,

2009/10/21 Rainer Emrich <rainer@emrich-ebersheim.de>:
> 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.

This might be the same problem, I was trying to report  here,
http://sourceware.org/ml/binutils/2009-09/msg00635.html

Anyway, let us know is there is a patch somewhere for testing it.

I am still having this issue for any x86_64->any cross compilers, not
only powerpc:

ARM case)
mkdir -p -- ./opcodes
Configuring in ./opcodes
configure: creating cache ./config.cache
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... arm-unknown-linux-gnueabi
checking for x86_64-linux-gnu-gcc... gcc
checking for C compiler default output file name...
configure: error: in
`/home/zumbi/buildcross/trunk/armel/binutils-2.20-1/builddir-arm-linux-gnueabi/opcodes':
configure: error: C compiler cannot create executables
See `config.log' for more details.
make[2]: *** [configure-opcodes] Error 1

Kind Regards,

-- 
 Héctor Orón


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]