public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/52687] New: [LTO] undefined vtable in dynamic library
@ 2012-03-23 16:57 dimhen at gmail dot com
  2012-03-26  8:28 ` [Bug lto/52687] " rguenth at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: dimhen at gmail dot com @ 2012-03-23 16:57 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52687

             Bug #: 52687
           Summary: [LTO] undefined vtable in dynamic library
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: dimhen@gmail.com


GCC trunk [trunk revision 185738], Fedora 16/x64

$ cat foo.cpp
class foo {
   virtual void bar();
   virtual ~foo() {}
};
$ g++ -flto -c foo.cpp -o foo.o && g++ -shared foo.o -flto -o libfoo.so && nm
-D -C -u libfoo.so foo.o | grep foo
libfoo.so:
                 U vtable for foo
foo.o:
nm: foo.o: No symbols

native F16/x64 gcc-4.6.3 do the same


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-03-29  7:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-23 16:57 [Bug lto/52687] New: [LTO] undefined vtable in dynamic library dimhen at gmail dot com
2012-03-26  8:28 ` [Bug lto/52687] " rguenth at gcc dot gnu.org
2012-03-26 10:11 ` dimhen at gmail dot com
2012-03-27  9:40 ` dimhen at gmail dot com
2012-03-29  7:56 ` dimhen 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).