https://sourceware.org/bugzilla/show_bug.cgi?id=30940
Bug ID: 30940 Summary: alpha: ld segfaults in Product: binutils Version: 2.42 (HEAD) Status: UNCONFIRMED Severity: normal Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: mcree at orcon dot net.nz Target Milestone: --- ld running on Alpha has been noted to be segfaulting on certain builds in the debian-ports archive. Backtrace of a coredump with latest build gives: #0 0x000000012005fa08 in elf64_alpha_check_relocs (abfd=0x1202b51a0, info=0x1201d4e18 <link_info>, sec=<optimized out>, relocs=<optimized out>) at ../../binutils-gdb.git/bfd/elf64-alpha.c:1984 #1 0x0000000120090e84 in _bfd_elf_link_iterate_on_relocs (abfd=0x1202b51a0, info=0x1201d4e18 <link_info>, action=0x12005f7d0 <elf64_alpha_check_relocs>) at ../../binutils-gdb.git/bfd/elflink.c:4179 #2 0x000000012004da0c in bfd_link_check_relocs (abfd=0x20000242b00, info=0x120166f48) at ../../binutils-gdb.git/bfd/linker.c:3361 #3 0x000000012001fa60 in lang_check_relocs () at ../../binutils-gdb.git/ld/ldlang.c:8031 #4 lang_process () at ../../binutils-gdb.git/ld/ldlang.c:8318 #5 0x0000000120003264 in main (argc=<optimized out>, argv=<optimized out>) at ../../binutils-gdb.git/ld/ldmain.c:501 (gdb) list 1979 loaded into memory, we need a RELATIVE reloc. */ 1980 sreloc->size += sizeof (Elf64_External_Rela); 1981 if (sec->flags & SEC_READONLY) 1982 { 1983 info->flags |= DF_TEXTREL; 1984 info->callbacks->minfo 1985 (_("%pB: dynamic relocation against `%pT' in " 1986 "read-only section `%pA'\n"), 1987 sec->owner, h->root.root.root.string, sec); 1988 } Noted binutils working at version 2.34 but fails at 2.35 so bisected getting first bad commit as: 1f7f2abbc31ee9e6d4faca58bef14d8ee8cb1bd2 alpha: Warn DT_TEXTREL with -M -- You are receiving this mail because: You are on the CC list for the bug.