[Bug lto/93980] use of lto breaks -Wl,--exclude-libs

2020-03-01 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93980 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED See Also|

[Bug lto/93980] use of lto breaks -Wl,--exclude-libs

2020-03-01 Thread sergeev917 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93980 --- Comment #6 from Alexander Sergeyev --- (In reply to H.J. Lu from comment #4) > This linker patch: Thank you! I've linked the patch to the binutils bug report.

[Bug lto/93980] use of lto breaks -Wl,--exclude-libs

2020-03-01 Thread sergeev917 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93980 --- Comment #5 from Alexander Sergeyev --- (In reply to H.J. Lu from comment #3) > This seems a linker bug. Please open a binutils bug report. The bug report is at https://sourceware.org/bugzilla/show_bug.cgi?id=25618

[Bug lto/93980] use of lto breaks -Wl,--exclude-libs

2020-03-01 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93980 --- Comment #4 from H.J. Lu --- This linker patch: iff --git a/ld/plugin.c b/ld/plugin.c index 47c053e5a0a..5960df65243 100644 --- a/ld/plugin.c +++ b/ld/plugin.c @@ -1242,6 +1242,8 @@ plugin_object_p (bfd *ibfd) ibfd->plugin_format = bfd

[Bug lto/93980] use of lto breaks -Wl,--exclude-libs

2020-03-01 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93980 H.J. Lu changed: What|Removed |Added CC||hjl.tools at gmail dot com --- Comment #3 from

[Bug lto/93980] use of lto breaks -Wl,--exclude-libs

2020-02-29 Thread sergeev917 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93980 --- Comment #2 from Alexander Sergeyev --- (In reply to Andrew Pinski from comment #1) > Does -fno-use-linker-plugin help? It seems to work with fat lto objects, but I suspect that no actual lto is performed in this case. With -fno-fat-lto-obje

[Bug lto/93980] use of lto breaks -Wl,--exclude-libs

2020-02-29 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93980 --- Comment #1 from Andrew Pinski --- Does -fno-use-linker-plugin help?