[Bug bootstrap/63784] [5 Regression] profiledbootstrap failure with bootstrap-lto
hjl.tools at gmail dot com
gcc-bugzilla@gcc.gnu.org
Sun Nov 9 04:34:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63784
--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
We have a few choices:
1. Build libcc1 with LTO when GCC is configured with
"--with-build-config=bootstrap-lto". Or
2. Teach libtool to always add -fPIC when linking shared
object to support static archive compiled with LTO. Or
3. Don't compile libiberty with LTO.
I tbink #2 is a better choice since the same thing may happen elsewhere.
More information about the Gcc-bugs
mailing list