[Bug target/77267] MPX does not work in a presence of "-Wl,-as-needed" option (Ubuntu default)

ienkovich at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Sep 16 22:41:00 GMT 2016


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.


More information about the Gcc-bugs mailing list