[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/3169] New: ld elf64-ia64.c segfault in set_fptr_entry
From: |
tbm at cyrius dot com |
Subject: |
[Bug ld/3169] New: ld elf64-ia64.c segfault in set_fptr_entry |
Date: |
3 Sep 2006 10:36:49 -0000 |
I get the following ld segfault on an object file generated by Osprey, an
alternative GCC backend for IA64.
It fails both with Debian binutils 2.17 and current CVS HEAD.
/gcc-lib/ia64-linux-gnu/3.3.6/../../../crti.o symbol.s.o
/usr/bin/ld: BFD 2.17 Debian GNU/Linux assertion fail elf64-ia64.c:4874
Segmentation fault
(osprey)address@hidden:~/src/mpatrol-1.4.8/build/unix$
/home/tbm/scratch/src/ld/ld-new -shared -o libmpa
trol.so.1.4 /usr/lib/gcc-lib/ia64-linux-gnu/3.3.6/../../../crti.o symbol.s.o
/home/tbm/scratch/src/ld/ld-new: BFD 2.17.50 20060903 assertion fail
elf64-ia64.c:4882
Segmentation fault
(gdb) run -shared -o libmpatrol.so.1.4
/usr/lib/gcc-lib/ia64-linux-gnu/3.3.6/../../../crti.o symbol.s.o
Starting program: /home/tbm/scratch/src/ld/ld-new -shared -o libmpatrol.so.1.4
/usr/lib/gcc-lib/ia64-l
inux-gnu/3.3.6/../../../crti.o symbol.s.o
/home/tbm/scratch/src/ld/ld-new: BFD 2.17.50 20060903 assertion fail
elf64-ia64.c:4882
Program received signal SIGSEGV, Segmentation fault.
0x4000000000080670 in set_fptr_entry (abfd=0x60000000000224f0,
info=0x6000000000024a70, dyn_i=0x50,
value=86624) at elf64-ia64.c:4203
4203 bfd_put_64 (abfd, value, fptr_sec->contents + dyn_i->fptr_offset);
(gdb) where
#0 0x4000000000080670 in set_fptr_entry (abfd=0x60000000000224f0,
info=0x6000000000024a70,
dyn_i=0x50, value=86624) at elf64-ia64.c:4203
#1 0x4000000000082940 in elf64_ia64_relocate_section
(output_bfd=0x60000000000224f0,
info=0x600000000000f290, input_bfd=0x600000000004cfd0,
input_section=0x600000000004f438,
contents=0x6000000000062860 "\b 9\016\200\005▒@\005",
relocs=0x600000000004e668,
local_syms=0x60000000000316f0, local_sections=0x600000000007c310) at
elf64-ia64.c:4545
#2 0x40000000000bc780 in elf_link_input_bfd (finfo=0x60000fffffffb5f0,
input_bfd=0x600000000004cfd0)
at elflink.c:7217
#3 0x40000000000c1d40 in bfd_elf_final_link (abfd=0x60000000000224f0,
info=0x600000000000f290)
at elflink.c:8191
#4 0x4000000000081420 in elf64_ia64_final_link (abfd=0x60000000000224f0,
info=0x600000000000f290)
at elf64-ia64.c:4467
#5 0x4000000000030310 in ldwrite () at ldwrite.c:548
#6 0x400000000002a9f0 in main (argc=6, argv=0x60000fffffffb9d8) at
../ld/ldmain.c:481
(gdb)
--
Summary: ld elf64-ia64.c segfault in set_fptr_entry
Product: binutils
Version: 2.18 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: ld
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: tbm at cyrius dot com
CC: bug-binutils at gnu dot org
GCC target triplet: ia64-linux-gnu
http://sourceware.org/bugzilla/show_bug.cgi?id=3169
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
- [Bug ld/3169] New: ld elf64-ia64.c segfault in set_fptr_entry,
tbm at cyrius dot com <=
- [Bug ld/3169] ld elf64-ia64.c segfault in set_fptr_entry, tbm at cyrius dot com, 2006/09/03
- [Bug ld/3169] ld elf64-ia64.c segfault in set_fptr_entry, tbm at cyrius dot com, 2006/09/03
- [Bug ld/3169] ld elf64-ia64.c segfault in set_fptr_entry, hjl at lucon dot org, 2006/09/04
- [Bug ld/3169] ld elf64-ia64.c segfault in set_fptr_entry, tbm at cyrius dot com, 2006/09/04
- [Bug ld/3169] ld elf64-ia64.c segfault in set_fptr_entry, tbm at cyrius dot com, 2006/09/04
- [Bug ld/3169] ld elf64-ia64.c segfault in set_fptr_entry, hjl at lucon dot org, 2006/09/04
- [Bug ld/3169] elfxx-ia64.c doesn't support @ltoff(@fptr(_DYNAMIC#)), hjl at lucon dot org, 2006/09/04
- [Bug ld/3169] elfxx-ia64.c doesn't support @ltoff(@fptr(_DYNAMIC#)), tbm at cyrius dot com, 2006/09/04
- [Bug ld/3169] elfxx-ia64.c doesn't support @ltoff(@fptr(_DYNAMIC#)), wilson at specifix dot com, 2006/09/11
- [Bug ld/3169] elfxx-ia64.c doesn't support @ltoff(@fptr(_DYNAMIC#)), hjl at lucon dot org, 2006/09/11