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]

Segmentation Fault using cross architecture ld command


Hi all.

I'm not familiar enough with the ld code to take this any further.  I'm
running the 2.18 binutils on a x86 Linux for an eCos PPC target.  I can
narrow down the possible libraries / archives that MAY be involved but
not enough for a definitive test case.  I've been tweeking the load
script, I've recompiled and rebuilt all of our libraries and archives
and modules but can not get passed this problem.

As it sits right now, I'm not able to complete the upgrade to binutils
2.18 and gcc 4.3 until this seg fault can be fixed / circumvented.  

Any help would be greatly appreciated.  Should I submit it as a bug?  Is
there something I can do to get around this.

Thanks

John Morrison



Here is the gdb info:

Program received signal SIGSEGV, Segmentation fault.
0x08070c13 in bfd_putb32 (data=1317011489, p=0xc89a654) at
/home/morr_jo/work/ToolChain/cross/src/binutils-2.18/bfd/libbfd.c:714
714       addr[0] = (data >> 24) & 0xff;
(gdb) bt
#0  0x08070c13 in bfd_putb32 (data=1317011489, p=0xc89a654) at
/home/morr_jo/work/ToolChain/cross/src/binutils-2.18/bfd/libbfd.c:714
#1  0x0808587b in ppc_elf_finish_dynamic_sections (output_bfd=0x9ad7ed0,
info=0x810ee40) at
/home/morr_jo/work/ToolChain/cross/src/binutils-2.18/bfd/elf32-ppc.c:730
3
#2  0x080a1cca in bfd_elf_final_link (abfd=0x9ad7ed0, info=0x810ee40) at
/home/morr_jo/work/ToolChain/cross/src/binutils-2.18/bfd/elflink.c:10914
#3  0x0805b8dc in ldwrite () at
/home/morr_jo/work/ToolChain/cross/src/binutils-2.18/ld/ldwrite.c:558
#4  0x08059544 in main (argc=50, argv=0xbfe57174) at
/home/morr_jo/work/ToolChain/cross/src/binutils-2.18/ld/ldmain.c:468
(gdb) 



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