[Bug lto/78795] LTO causes undefined reference errors when linking with GMP "make check"
trippels at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Dec 14 07:52:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78795
--- Comment #7 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
(In reply to Vincent Lefèvre from comment #6)
> Hmm... I can see the changes in the GCC 4.9 release notes. Something not
> obvious (the last time I had tested LTO was with GCC 4.8). And I would have
> expected libtool to select the right ar/ranlib/nm tools, but that's a
> libtool issue.
Yes, gcc was using "fat" lto object files before, so you would not see the
issue
(and obviously you didn't get any lto optimizations).
And no, it is not a libtool issue. You can use your systems binutils just fine,
just add a symlink to lib/bfd-plugins/.
More information about the Gcc-bugs
mailing list