https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62051

ziebell_marco at posteo dot de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ziebell_marco at posteo dot de

--- Comment #11 from ziebell_marco at posteo dot de ---
I have a similar problem If I compile the library gtkmm version 2.24.4 with LTO
and gcc-5.3.0.

If I use gcc-5.3.0 and the CFLAGS="-march=native -flto -O2" the library is
missing the vtable for the class TreeViewColumn. Which leads to a linking error
while compiling the program inkscape version 0.91.

If I use gcc-5.3.0 and the CFLAGS="-march=native -flto -O2 -fno-devirtualize"
the vtable is there and "inkscape" builds fine.


I'm using gentoo linux on an x86_64 processor and binutils version 2.25.

I've confirmed that the vtable is missing via: 
"readelf --dyn-syms -a -e -t -A -D -W /usr/lib64/libgtkmm-2.4.so | grep
TreeViewColumn | grep _Z | c++filt"

I can provide a build log of inkscape and gtkmm with the different CFLAGS
combination.

Reply via email to