This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/77267] MPX does not work in a presence of "-Wl,-as-needed" option (Ubuntu default)
- From: "ienkovich at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 16 Sep 2016 22:41:23 +0000
- Subject: [Bug target/77267] MPX does not work in a presence of "-Wl,-as-needed" option (Ubuntu default)
- Auto-submitted: auto-generated
- References: <bug-77267-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77267
--- Comment #6 from Ilya Enkovich <ienkovich at gcc dot gnu.org> ---
(In reply to Matthias Klose from comment #5)
> I think it's wrong to have HAVE_LD_PUSHPOPSTATE_SUPPORT baked into the
> driver while it can be easily changed with -fuse-ld=bfd. It would be very
> nice to have these push/pop options implemented in gold as well and avoid
> this kind of work arounds.
Should we really not allow gold for MPX? Also having this feature in gold
wouldn't allow us to get rid of this macro because users may use old linker
versions.