[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gold/18845] Using emit-relocs and icf ends in assert fail.
From: |
ccoutant at gmail dot com |
Subject: |
[Bug gold/18845] Using emit-relocs and icf ends in assert fail. |
Date: |
Wed, 19 Aug 2015 05:10:09 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=18845
Cary Coutant <ccoutant at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
--- Comment #1 from Cary Coutant <ccoutant at gmail dot com> ---
We never actually intended to support --gc-sections or --icf with -r links, but
we don't do anything to disallow the combination, leading to the internal
error. Gold should have some code in General_options::finalize() to disallow
it.
With --emit-relocs, however, there really is no reason to disallow the
combination, so we should make it work.
(Out of curiosity, what are you using --emit-relocs for? I'm not complaining --
hardly anyone uses the option, so it hasn't had much real-world testing.)
--
You are receiving this mail because:
You are on the CC list for the bug.