Segmentation Fault using cross architecture ld command

Alan Modra amodra@bigpond.net.au
Wed Jun 25 10:44:00 GMT 2008


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