This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/69953] Using lto causes gtkmm/gparted and gtkmm/inkscape compile to fail
- From: "trippels at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 26 Feb 2016 08:28:34 +0000
- Subject: [Bug lto/69953] Using lto causes gtkmm/gparted and gtkmm/inkscape compile to fail
- Auto-submitted: auto-generated
- References: <bug-69953-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69953
Markus Trippelsdorf <trippels at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |NEW
--- Comment #5 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
markus@x4 tmp % g++ -flto -c -O2 -std=c++11 treeviewcolumn.i && nm
treeviewcolumn.o | grep _ZTVN3Gtk14TreeViewColumnE
00000000 W _ZTVN3Gtk14TreeViewColumnE
markus@x4 tmp % g++ -c -O2 -std=c++11 treeviewcolumn.i && nm treeviewcolumn.o |
grep _ZTVN3Gtk14TreeViewColumnE
0000000000000000 V _ZTVN3Gtk14TreeViewColumnE
In the resulting lib:
x4 ~ # nm /usr/lib64/libgtkmm-2.4.so.1.1.0 | grep _ZTVN3Gtk14TreeViewColumnE
00000000003408e0 d _ZTVN3Gtk14TreeViewColumnE.lto_priv.729
(without lto:)
x4 ~ # nm /tmp/libgtkmm-2.4.so.1.1.0 | grep _ZTVN3Gtk14TreeViewColumnE
00000000004331a0 V _ZTVN3Gtk14TreeViewColumnE