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 Fault using cross architecture ld command


Hi Alan.

Thanks for the procedure to find the error.

The reason we (I) didn't go with 2.18 was because there was some problem
between binutils 2.18 and GCC 4.2.  The problem was going to be fixed in
GCC 4.3.  And, GCC 4.3 at the time we started this journey was still
beta.

-----Original Message-----
From: Alan Modra [mailto:amodra@bigpond.net.au] 
Sent: Wednesday, June 25, 2008 1:10 AM
To: John Morrison
Cc: binutils@sourceware.org
Subject: Re: Segmentation Fault using cross architecture ld command

On Tue, Jun 24, 2008 at 02:01:22PM -0700, John Morrison wrote:
> We are upgrading (understatement of the century) our cross-compiler 
> from GCC 2.95.2, binutils 2.10.1 to GCC 4.2.0, binutils 2.17.  Cross

Any reason why you didn't go to binutils 2.18?

> The problem we are getting is a "segmentation fault" on the 
> powerpc-eabi-ld.

Build binutils with debug info, eg. make CFLAGS="-g -O -fno-inline"
then run ld under gdb to see where the problem occurs.

--
Alan Modra
Australia Development Lab, IBM


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