public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/55592] New: linking with -flto always links in libgcc:s.so
@ 2012-12-04 12:03 doko at gcc dot gnu.org
2012-12-04 13:59 ` [Bug lto/55592] " hjl.tools at gmail dot com
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: doko at gcc dot gnu.org @ 2012-12-04 12:03 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55592
Bug #: 55592
Summary: linking with -flto always links in libgcc:s.so
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: lto
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: doko@gcc.gnu.org
$ cat foo.c
int main() { }
$ gcc foo.c && ldd a.out |grep libgcc_s
$ gcc -flto foo.c && ldd a.out |grep libgcc_s
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007fb214381000)
gcc.c (pass_through_libs_spec_func) doesn't pass the --as-needed/--no-as-needed
flags to the plugin. if these are passed, how should the plugin handle these?
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug lto/55592] linking with -flto always links in libgcc:s.so
2012-12-04 12:03 [Bug lto/55592] New: linking with -flto always links in libgcc:s.so doko at gcc dot gnu.org
@ 2012-12-04 13:59 ` hjl.tools at gmail dot com
2012-12-05 4:59 ` doko at gcc dot gnu.org
2014-08-07 5:00 ` amodra at gmail dot com
2 siblings, 0 replies; 4+ messages in thread
From: hjl.tools at gmail dot com @ 2012-12-04 13:59 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55592
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |hjl.tools at gmail dot com
Resolution| |INVALID
--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> 2012-12-04 13:58:20 UTC ---
It is a bug in bfd linker in the GNU binutils.
It works fine with both bfd linker and gold
from the Linux binutils. Please open a binutils
bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug lto/55592] linking with -flto always links in libgcc:s.so
2012-12-04 12:03 [Bug lto/55592] New: linking with -flto always links in libgcc:s.so doko at gcc dot gnu.org
2012-12-04 13:59 ` [Bug lto/55592] " hjl.tools at gmail dot com
@ 2012-12-05 4:59 ` doko at gcc dot gnu.org
2014-08-07 5:00 ` amodra at gmail dot com
2 siblings, 0 replies; 4+ messages in thread
From: doko at gcc dot gnu.org @ 2012-12-05 4:59 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55592
Matthias Klose <doko at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|INVALID |
--- Comment #2 from Matthias Klose <doko at gcc dot gnu.org> 2012-12-05 04:59:01 UTC ---
now http://sourceware.org/bugzilla/show_bug.cgi?id=14918
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug lto/55592] linking with -flto always links in libgcc:s.so
2012-12-04 12:03 [Bug lto/55592] New: linking with -flto always links in libgcc:s.so doko at gcc dot gnu.org
2012-12-04 13:59 ` [Bug lto/55592] " hjl.tools at gmail dot com
2012-12-05 4:59 ` doko at gcc dot gnu.org
@ 2014-08-07 5:00 ` amodra at gmail dot com
2 siblings, 0 replies; 4+ messages in thread
From: amodra at gmail dot com @ 2014-08-07 5:00 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55592
Alan Modra <amodra at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |amodra at gmail dot com
Resolution|--- |FIXED
--- Comment #3 from Alan Modra <amodra at gmail dot com> ---
Now fixed in mainline binutils
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2014-08-07 5:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-04 12:03 [Bug lto/55592] New: linking with -flto always links in libgcc:s.so doko at gcc dot gnu.org
2012-12-04 13:59 ` [Bug lto/55592] " hjl.tools at gmail dot com
2012-12-05 4:59 ` doko at gcc dot gnu.org
2014-08-07 5:00 ` amodra at gmail dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).