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

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).