https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63432
--- Comment #6 from H.J. Lu <hjl.tools at gmail dot com> --- (In reply to Teresa Johnson from comment #5) > > BTW, I am having a little trouble doing an LTO profiledbootstrap on my > linux/x86_64 machine. Here's what I did: > > $ /usr/local/google/home/tejohnson/gcc_trunk_7/configure > --prefix=/usr/local/google/home/tejohnson/gcc_trunk_7_validate_lto/bld-gcc/ > install > --with-build-config=bootstrap-lto > $ make -j8 profiledbootstrap > You need to configure GCC with --disable-werror.