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.)