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: "saguryev.gnu at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 22 Aug 2016 13:13:17 +0000
- Subject: [Bug target/77267] MPX does not work in a presence of "-Wl,-as-needed" option (Ubuntu default)
- Authentication-results: sourceware.org; auth=none
- Auto-submitted: auto-generated
- References: <bug-77267-4@http.gcc.gnu.org/bugzilla/>
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.