[Bug target/77267] MPX does not work in a presence of "-Wl,-as-needed" option (Ubuntu default)
saguryev.gnu at gmail dot com
gcc-bugzilla@gcc.gnu.org
Mon Aug 22 13:13:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77267
Sergey <saguryev.gnu at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |saguryev.gnu at gmail dot com
--- Comment #1 from Sergey <saguryev.gnu at gmail dot com> ---
Why can't we engage usual linkage mechanism by adding some undefined weak
symbol in mpx code and its definition in mpx library ? ( probably two
different ones, for libmpx and libmpxwrappers ). Then we wouldn't have to
juggle with (no-)as-needed.
More information about the Gcc-bugs
mailing list