https://sourceware.org/bugzilla/show_bug.cgi?id=16121
Bug ID: 16121 Summary: alpha: failed assert at bfd/elf64-alpha.c:3935 when using --no-keep-memory Product: binutils Version: unspecified Status: NEW Severity: normal Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: mcree at orcon dot net.nz Target: alpha When linking with --no-keep-memory on Alpha get failed assertion: gcc -Wl,--no-keep-memory -o test test.c collect2: ld terminated with signal 11 [Segmentation fault] /usr/bin/ld: BFD (GNU Binutils for Debian) 2.23.90.20131017 assertion fail ../../bfd/elf64-alpha.c:3935 (where test.c is text book "Hello World!" program.) I am hazarding a guess that this may be due to similar reasons as described in bug 15904, namely that the local variable info.changed_contents in elf64_alpha_relax_section() is not being updated to TRUE when it should be thus resulting in the internal_relocs memory being freed (lines 3994ff of bfd/elf64-alpha.c) when it should not be. However the alpha code is quite different to the ia64 code thus I could not see how to rewrite the patch provided in bug 15904 for alpha. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils