bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/18160] Segmentation Fault in lang_gc_sections when linking elf_x


From: matthew.ickstadt at gmail dot com
Subject: [Bug ld/18160] Segmentation Fault in lang_gc_sections when linking elf_x86_64 output
Date: Wed, 25 Mar 2015 20:44:48 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=18160

--- Comment #4 from Matt Ickstadt <matthew.ickstadt at gmail dot com> ---
Created attachment 8209
  --> https://sourceware.org/bugzilla/attachment.cgi?id=8209&action=edit
Link file

Looking at the link.ld file right now, it's suddenly apparent that this issue
is  due to the fact that the OUTPUT_FORMAT() in the link file is not the same
as the output format from the command line, which explains the strange
backtrace.

With the link file corrected, it links properly.  Perhaps an error can be added
for cases in which there are multiple different output formats specified.  Also
of note is that gold links fine either way; probably because it doesn't use
bfd.

-- 
You are receiving this mail because:
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]