This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug lto/69953] Using lto causes gtkmm/gparted and gtkmm/inkscape compile to fail


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]