[Bug lto/78795] LTO causes undefined reference errors when linking with GMP "make check"
vincent-gcc at vinc17 dot net
gcc-bugzilla@gcc.gnu.org
Wed Dec 14 09:44:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78795
--- Comment #8 from Vincent Lefèvre <vincent-gcc at vinc17 dot net> ---
(In reply to Markus Trippelsdorf from comment #7)
> And no, it is not a libtool issue. You can use your systems binutils just
> fine, just add a symlink to lib/bfd-plugins/.
I'm using Debian packages. So, shouldn't this be the goal of the Debian
packages? Also, I don't see how this can be handled with several GCC versions
installed, as each GCC version has its own liblto_plugin.so.
If one compiles with "-flto", then everything should be automatic to use the
right plugin as needed, without needing the end user to specify other
"configure" environment variables.
More information about the Gcc-bugs
mailing list