[Bug c++/69953] [5/6/7 Regression] Using lto causes gtkmm/gparted and gtkmm/inkscape compile to fail

vincent-gcc at vinc17 dot net gcc-bugzilla@gcc.gnu.org
Tue Dec 13 15:02:00 GMT 2016


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

Vincent Lefèvre <vincent-gcc at vinc17 dot net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vincent-gcc at vinc17 dot net

--- Comment #22 from Vincent Lefèvre <vincent-gcc at vinc17 dot net> ---
I get the same kind of errors with "make check" for GMP 6.1.1 by using GCC
6.2.1 and LTO (-flto=jobserve -fuse-linker-plugin), e.g.

/tmp/ccZvS3pG.ltrans0.ltrans.o: In function `main':
<artificial>:(.text.startup+0xc): undefined reference to `tests_start'
<artificial>:(.text.startup+0x17): undefined reference to `mp_trace_base'
<artificial>:(.text.startup+0x43): undefined reference to `__gmpn_random'
[...]

but this is plain C, not C++. Is this the same bug? (I'm wondering because this
bug is attributed to the c++ component.)


More information about the Gcc-bugs mailing list