This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/63997] gcc.dg/lto/pr61526 failing on darwin
- From: "fxcoudert at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 20 Nov 2014 16:42:48 +0000
- Subject: [Bug lto/63997] gcc.dg/lto/pr61526 failing on darwin
- Auto-submitted: auto-generated
- References: <bug-63997-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63997
--- Comment #3 from Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #1)
> The testcase uses -shared at link time which is supposed to build a shared
> object and generate an external (unresolved) reference to _master.
Adding -Wl,-undefined,dynamic_lookup makes it pass. (And the -shared is
correctly passed, as far as I can see.)