https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71989
Bug ID: 71989 Summary: aarch64 bootstrap fails for out-of-tree builds Product: gcc Version: 6.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: timo.teras at iki dot fi Target Milestone: --- Observed with 6.1.0 release, and gcc 6-stable 20160721 snapshot. In-tree bootstrap build succeeds, but out-of-tree bootstrap build fails with the following configure for me: $ "$srcdir"/configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --build=aarch64-alpine-linux-musl --host=aarch64-alpine-linux-musl --target=aarch64-alpine-linux-musl --with-pkgversion="Alpine 6.1.1" --enable-checking=release --disable-fixed-point --disable-libstdcxx-pch --disable-multilib --disable-nls --disable-werror --disable-symvers --enable-__cxa_atexit --enable-default-pie --enable-cloog-backend --enable-languages=c,c++ --with-arch=armv8-a --with-abi=lp64 --disable-libquadmath --disable-libssp --disable-libmpx --disable-libmudflap --disable-libsanitizer --enable-shared --enable-threads --enable-tls --with-system-zlib The error is: Comparing stages 2 and 3 warning: gcc/cc1-checksum.o differs warning: gcc/cc1plus-checksum.o differs Bootstrap comparison failure! gcc/simplify-rtx.o differs gcc/tree-call-cdce.o differs gcc/tree-vect-slp.o differs gcc/dfp.o differs gcc/tsan.o differs gcc/opts.o differs gcc/tree-vect-data-refs.o differs gcc/omp-simd-clone.o differs gcc/cp/cxx-pretty-print.o differs gcc/cp/constexpr.o differs gcc/cp/cp-array-notation.o differs gcc/cp/typeck.o differs gcc/cp/cvt.o differs gcc/cp/logic.o differs gcc/gimple-low.o differs gcc/combine-stack-adj.o differs gcc/insn-dfatab.o differs gcc/gimple-fold.o differs gcc/tree-vect-loop.o differs gcc/jump.o differs gcc/tree-ssa-scopedtables.o differs gcc/gimple-pretty-print.o differs gcc/insn-latencytab.o differs gcc/insn-output.o differs gcc/diagnostic-show-locus.o differs gcc/mcf.o differs gcc/optabs.o differs gcc/fixed-value.o differs gcc/double-int.o differs gcc/ipa-icf-gimple.o differs gcc/valtrack.o differs gcc/cfgbuild.o differs gcc/tree-streamer-out.o differs gcc/hsa-regalloc.o differs gcc/c/c-array-notation.o differs gcc/shrink-wrap.o differs gcc/insn-emit.o differs gcc/c-family/c-omp.o differs gcc/c-family/c-cilkplus.o differs gcc/stmt.o differs