[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: |
hjl.tools 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:56:06 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=18160
--- Comment #5 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Matt Ickstadt from comment #4)
> Created attachment 8209 [details]
> 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.
Although it is an user error, linker should provide better
diagnosis.
> 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.
Gold ignores OUTPUT_FORMAT().
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/18160] New: Segmentation Fault in lang_gc_sections when linking elf_x86_64 output, matthew.ickstadt at gmail dot com, 2015/03/24
- [Bug ld/18160] Segmentation Fault in lang_gc_sections when linking elf_x86_64 output, matthew.ickstadt at gmail dot com, 2015/03/24
- [Bug ld/18160] Segmentation Fault in lang_gc_sections when linking elf_x86_64 output, matthew.ickstadt at gmail dot com, 2015/03/24
- [Bug ld/18160] Segmentation Fault in lang_gc_sections when linking elf_x86_64 output, hjl.tools at gmail dot com, 2015/03/25
- [Bug ld/18160] Segmentation Fault in lang_gc_sections when linking elf_x86_64 output, matthew.ickstadt at gmail dot com, 2015/03/25
- [Bug ld/18160] Segmentation Fault in lang_gc_sections when linking elf_x86_64 output, hjl.tools at gmail dot com, 2015/03/25
- [Bug ld/18160] Segmentation Fault in lang_gc_sections when linking elf_x86_64 output, matthew.ickstadt at gmail dot com, 2015/03/25
- [Bug ld/18160] Segmentation Fault in lang_gc_sections when linking elf_x86_64 output,
hjl.tools at gmail dot com <=
- [Bug ld/18160] Segmentation Fault in lang_gc_sections when linking elf_x86_64 output, hjl.tools at gmail dot com, 2015/03/25
- [Bug ld/18160] Segmentation Fault in lang_gc_sections when linking elf_x86_64 output, hjl.tools at gmail dot com, 2015/03/25
- [Bug ld/18160] Segmentation Fault in lang_gc_sections when linking elf_x86_64 output, hjl.tools at gmail dot com, 2015/03/25
- [Bug ld/18160] Segmentation Fault in lang_gc_sections when linking elf_x86_64 output, cvs-commit at gcc dot gnu.org, 2015/03/26
- [Bug ld/18160] Segmentation Fault in lang_gc_sections when linking elf_x86_64 output, hjl.tools at gmail dot com, 2015/03/26