Segmentation Fault using cross architecture ld command
John Morrison
JMorrison@printronix.com
Thu Jun 26 07:37:00 GMT 2008
More information about the Binutils mailing list
Thu Jun 26 07:37:00 GMT 2008
- Previous message (by thread): Segmentation Fault using cross architecture ld command
- Next message (by thread): Invalid SHT_NOTE sections in input files
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi Alan. I don't know if you want this or someone else, but here is the results from gdb Program received signal SIGSEGV, Segmentation fault. 0x0806bdda in bfd_putb32 (data=1317011489, p=0xbf9b12c) at /home/morr_jo/work/ToolChain/cross/src/binutils-2.17/bfd/libbfd.c:696 696 addr[0] = (data >> 24) & 0xff; (gdb) bt #0 0x0806bdda in bfd_putb32 (data=1317011489, p=0xbf9b12c) at /home/morr_jo/work/ToolChain/cross/src/binutils-2.17/bfd/libbfd.c:696 #1 0x0807f370 in ppc_elf_finish_dynamic_sections (output_bfd=0x912a9c0, info=0x80ff920) at /home/morr_jo/work/ToolChain/cross/src/binutils-2.17/bfd/elf32-ppc.c:715 3 #2 0x08097562 in bfd_elf_final_link (abfd=0x912a9c0, info=0x80ff920) at /home/morr_jo/work/ToolChain/cross/src/binutils-2.17/bfd/elflink.c:8651 #3 0x0805ab1c in ldwrite () at /home/morr_jo/work/ToolChain/cross/src/binutils-2.17/ld/ldwrite.c:557 #4 0x080587af in main (argc=49, argv=0xbfe2d094) at /home/morr_jo/work/ToolChain/cross/src/binutils-2.17/ld/ldmain.c:468 (gdb) If there is anything else needed, please let me know. This is instantly recreatable. I look forward to hearing from someone on this. Thanks John Morrison -----Original Message----- From: binutils-owner@sourceware.org [mailto:binutils-owner@sourceware.org] On Behalf Of John Morrison Sent: Wednesday, June 25, 2008 9:37 AM To: Alan Modra Cc: binutils@sourceware.org Subject: 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
- Previous message (by thread): Segmentation Fault using cross architecture ld command
- Next message (by thread): Invalid SHT_NOTE sections in input files
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list