Segmentation Fault using cross architecture ld command
John Morrison
JMorrison@printronix.com
Wed Jun 25 17:22:00 GMT 2008
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
More information about the Binutils
mailing list