[Bug lto/49571] -flto -Wl,--as-needed drops needed libraries with GNU ld and linker plugin
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jun 29 09:42:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49571
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2011.06.29 09:42:15
CC| |davek at gcc dot gnu.org
Summary|-flto -Wl,--as-needed drops |-flto -Wl,--as-needed drops
|needed libraries |needed libraries with GNU
| |ld and linker plugin
Ever Confirmed|0 |1
--- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-06-29 09:42:15 UTC ---
It works for me when using gold 2.21.1, it doesn't work with
GNU ld from the same version. So I suggest to file a binutils bug instead.
More information about the Gcc-bugs
mailing list