[Bug lto/52687] New: [LTO] undefined vtable in dynamic library
dimhen at gmail dot com
gcc-bugzilla@gcc.gnu.org
Fri Mar 23 16:57:00 GMT 2012
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
More information about the Gcc-bugs
mailing list