Segmentation Fault using cross architecture ld command
John Morrison
JMorrison@printronix.com
Thu Jul 31 17:06:00 GMT 2008
More information about the Binutils mailing list
Thu Jul 31 17:06:00 GMT 2008
- Previous message (by thread): Allow memory region LENGTH expression to contain names
- Next message (by thread): Fix building src/opcodes with BSD make.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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)
- Previous message (by thread): Allow memory region LENGTH expression to contain names
- Next message (by thread): Fix building src/opcodes with BSD make.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list