https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65725
--- Comment #10 from Daniel Richard G. <skunk at iskunk dot org> --- (In reply to r...@cebitec.uni-bielefeld.de from comment #9) > > it would be helpful to know a bit more about that system: Solaris 10 > update release (e.g. from /etc/release), versions of as (as -V) and ld > (ld -V), bootstrap compiler used, version of cmp (and do_compare setting > in the toplevel Makefile). Gladly: $ cat /etc/release Oracle Solaris 10 8/11 s10x_u10wos_17b X86 Copyright (c) 1983, 2011, Oracle and/or its affiliates. All rights reserved. Assembled 23 August 2011 $ as -V as: SunOS 5.10 119961-13 Patch 08/06/2014 [...] $ ld -V ld: Software Generation Utilities - Solaris Link Editors: 5.10-1.1505 I am bootstrapping with an earlier build of GCC 7.3.0 (itself compiled via a non-bootstrapped build, due to this issue). cmp(1) has no version option; it is simply /usr/bin/cmp: $ cmp usage: cmp [-l] [-s] file1 file2 [skip1] [skip2] $ grep 'do-compare.*=' Makefile do-compare = cmp $$f1 $$f2 16 16 do-compare3 = $(do-compare) > To investigate comparison failures, it's usually necessary to have both > a few of the object pairs failing the comparison and the corresponding > .s files from -save-temps. You've to be very careful to rerun the exact > compiler invocations from exactly the same directories which can be > tricky due to all the shuffling around due to the different stages. Is it feasible to re-run the bootstrap with something like CFLAGS(_FOR_(BUILD|TARGET)) = "-save-temps" ? Recreating the compiler invocations manually will be quite tricky.