This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/52405] undefined references in shared library when linking the shared library with -flto
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 28 Feb 2012 14:36:47 +0000
- Subject: [Bug lto/52405] undefined references in shared library when linking the shared library with -flto
- Auto-submitted: auto-generated
- References: <bug-52405-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52405
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |WAITING
--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-02-28 14:36:47 UTC ---
We do have known issues with linker options not being reflected correctly
in the resolution file. As it is inlines and you use -fvisibility=hidden
I expect that the -Xlinker --version-script=mapfile_reorder is not
re-applied after final link optimization but only to the (fat) object file
result from compile. So some functions may not be catched by the version
script globbing (or they are renamed as comdats are brought local, and thus
may no longer match any of the globs)?
Please help reducing this on your side.