Hi all, 1. svn up to revision 250314. 2. ../configure '--program-suffix=-8' '--enable-version-specific-runtime-libs' '--enable-languages=c,c++,lto' --with-build-config=bootstrap-lto 3. make -j8 profiledbootstrap Build eventually fails with make[3]: Entering directory '/home/me/workspace/GCC8/__build/gcc' /home/me/workspace/GCC8/__build/./prev-gcc/xg++ -B/home/me/workspace/GCC8/__build/./prev-gcc/ -B/usr/local/x86_64-pc-linux-gnu/bin/ -nostdinc++ -B/home/me/workspace/GCC8/__build/prev-x86_64-pc-linux-gnu/libstdc++-v3/src/.libs -B/home/me/workspace/GCC8/__build/prev-x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs -I/home/me/workspace/GCC8/__build/prev-x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu -I/home/me/workspace/GCC8/__build/prev-x86_64-pc-linux-gnu/libstdc++-v3/include -I/home/me/workspace/GCC8/libstdc++-v3/libsupc++ -L/home/me/workspace/GCC8/__build/prev-x86_64-pc-linux-gnu/libstdc++-v3/src/.libs -L/home/me/workspace/GCC8/__build/prev-x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs -no-pie -g -O2 -flto=jobserver -frandom-seed=1 -fprofile-generate -flto=jobserver -frandom-seed=1 -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -static-libstdc++ -static-libgcc -o cc1 c/c-lang.o c-family/stub-objc.o attribs.o c/c-errors.o c/c-decl.o c/c-typeck.o c/c-convert.o c/c-aux-info.o c/c-objc-common.o c/c-parser.o c/c-array-notation.o c/c-fold.o c/gimple-parser.o c-family/c-common.o c-family/c-cppbuiltin.o c-family/c-dump.o c-family/c-format.o c-family/c-gimplify.o c-family/c-indentation.o c-family/c-lex.o c-family/c-omp.o c-family/c-opts.o c-family/c-pch.o c-family/c-ppoutput.o c-family/c-pragma.o c-family/c-pretty-print.o c-family/c-semantics.o c-family/c-ada-spec.o c-family/c-cilkplus.o c-family/array-notation-common.o c-family/cilk.o c-family/c-ubsan.o c-family/c-attribs.o c-family/c-warn.o i386-c.o glibc-c.o \ cc1-checksum.o libbackend.a main.o libcommon-target.a libcommon.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a libcommon.a ../libcpp/libcpp.a ../libbacktrace/.libs/libbacktrace.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -lisl -lmpc -lmpfr -lgmp -rdynamic -ldl -L./../zlib -lz /home/me/workspace/GCC8/__build/./prev-gcc/xg++ -B/home/me/workspace/GCC8/__build/./prev-gcc/ -B/usr/local/x86_64-pc-linux-gnu/bin/ -nostdinc++ -B/home/me/workspace/GCC8/__build/prev-x86_64-pc-linux-gnu/libstdc++-v3/src/.libs -B/home/me/workspace/GCC8/__build/prev-x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs -I/home/me/workspace/GCC8/__build/prev-x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu -I/home/me/workspace/GCC8/__build/prev-x86_64-pc-linux-gnu/libstdc++-v3/include -I/home/me/workspace/GCC8/libstdc++-v3/libsupc++ -L/home/me/workspace/GCC8/__build/prev-x86_64-pc-linux-gnu/libstdc++-v3/src/.libs -L/home/me/workspace/GCC8/__build/prev-x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs -no-pie -g -O2 -flto=jobserver -frandom-seed=1 -fprofile-generate -flto=jobserver -frandom-seed=1 -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -static-libstdc++ -static-libgcc -o cc1plus \ cp/cp-lang.o c-family/stub-objc.o cp/call.o cp/class.o cp/constexpr.o cp/constraint.o cp/cp-array-notation.o cp/cp-cilkplus.o cp/cp-gimplify.o cp/cp-objcp-common.o cp/cp-ubsan.o cp/cvt.o cp/cxx-pretty-print.o cp/decl.o cp/decl2.o cp/dump.o cp/error.o cp/except.o cp/expr.o cp/friend.o cp/init.o cp/lambda.o cp/lex.o cp/logic.o cp/mangle.o cp/method.o cp/name-lookup.o cp/optimize.o cp/parser.o cp/pt.o cp/ptree.o cp/repo.o cp/rtti.o cp/search.o cp/semantics.o cp/tree.o cp/typeck.o cp/typeck2.o cp/vtable-class-hierarchy.o attribs.o incpath.o c-family/c-common.o c-family/c-cppbuiltin.o c-family/c-dump.o c-family/c-format.o c-family/c-gimplify.o c-family/c-indentation.o c-family/c-lex.o c-family/c-omp.o c-family/c-opts.o c-family/c-pch.o c-family/c-ppoutput.o c-family/c-pragma.o c-family/c-pretty-print.o c-family/c-semantics.o c-family/c-ada-spec.o c-family/c-cilkplus.o c-family/array-notation-common.o c-family/cilk.o c-family/c-ubsan.o c-family/c-attribs.o c-family/c-warn.o i386-c.o glibc-c.o cc1plus-checksum.o libbackend.a main.o libcommon-target.a libcommon.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a libcommon.a ../libcpp/libcpp.a ../libbacktrace/.libs/libbacktrace.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -lisl -lmpc -lmpfr -lgmp -rdynamic -ldl -L./../zlib -lz /home/me/workspace/GCC8/__build/./prev-gcc/xg++ -B/home/me/workspace/GCC8/__build/./prev-gcc/ -B/usr/local/x86_64-pc-linux-gnu/bin/ -nostdinc++ -B/home/me/workspace/GCC8/__build/prev-x86_64-pc-linux-gnu/libstdc++-v3/src/.libs -B/home/me/workspace/GCC8/__build/prev-x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs -I/home/me/workspace/GCC8/__build/prev-x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu -I/home/me/workspace/GCC8/__build/prev-x86_64-pc-linux-gnu/libstdc++-v3/include -I/home/me/workspace/GCC8/libstdc++-v3/libsupc++ -L/home/me/workspace/GCC8/__build/prev-x86_64-pc-linux-gnu/libstdc++-v3/src/.libs -L/home/me/workspace/GCC8/__build/prev-x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs -no-pie -g -O2 -flto=jobserver -frandom-seed=1 -fprofile-generate -flto=jobserver -frandom-seed=1 -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -static-libstdc++ -static-libgcc -o lto1 \ lto/lto-lang.o lto/lto.o lto/lto-object.o attribs.o lto/lto-partition.o lto/lto-symtab.o libbackend.a main.o libcommon-target.a libcommon.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a -lisl -lmpc -lmpfr -lgmp -rdynamic -ldl -L./../zlib -lz libcommon.a ../libcpp/libcpp.a ../libbacktrace/.libs/libbacktrace.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a /usr/bin/ld: __gcov_indirect_call_callee: TLS reference in ../libdecnumber/libdecnumber.a(decNumber.o) mismatches non-TLS reference in state.o (symbol from plugin) ../libbacktrace/.libs/libbacktrace.a: error adding symbols: Bad value collect2: error: ld returned 1 exit status ../../gcc/cp/Make-lang.in:120: recipe for target 'cc1plus' failed make[3]: *** [cc1plus] Error 1 /usr/bin/ld: __gcov_indirect_call_callee: TLS reference in ../libdecnumber/libdecnumber.a(decNumber.o) mismatches non-TLS reference in libz_a-deflate.o (symbol from plugin) ./../zlib/libz.a: error adding symbols: Bad value collect2: error: ld returned 1 exit status ../../gcc/lto/Make-lang.in:81: recipe for target 'lto1' failed make[3]: *** [lto1] Error 1 /usr/bin/ld: __gcov_indirect_call_callee: TLS reference in ../libdecnumber/libdecnumber.a(decNumber.o) mismatches non-TLS reference in state.o (symbol from plugin) ../libbacktrace/.libs/libbacktrace.a: error adding symbols: Bad value collect2: error: ld returned 1 exit status ../../gcc/c/Make-lang.in:85: recipe for target 'cc1' failed make[3]: *** [cc1] Error 1 make[3]: Target 'all' not remade because of errors. make[3]: Leaving directory '/home/me/workspace/GCC8/__build/gcc' Makefile:4798: recipe for target 'all-stageprofile-gcc' failed make[2]: *** [all-stageprofile-gcc] Error 2 make[2]: Target 'all-stageprofile' not remade because of errors. make[2]: Leaving directory '/home/me/workspace/GCC8/__build' Makefile:24415: recipe for target 'stageprofile-bubble' failed make[1]: *** [stageprofile-bubble] Error 2 make[1]: Target 'stagefeedback-bubble' not remade because of errors. make[1]: Leaving directory '/home/me/workspace/GCC8/__build' Makefile:24684: recipe for target 'profiledbootstrap' failed make: *** [profiledbootstrap] Error 2 This is on Ubuntu 14.04LTS, with gcc version 4.8.5 (Ubuntu 4.8.5-2ubuntu1~14.04.1) Any suggestions? If configured without an explicit build config, then 'make bootstrap' succeeds Csaba -- GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++ The Tao of math: The numbers you can count are not the real numbers. Life is complex, with real and imaginary parts. "Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds "People disagree with me. I just ignore them." -- Linus Torvalds