for example; with --enable-stage1-languages=c,c++ (required for in-tree GMP/MPFR)
Comparing stages 2 and 3 warning: gcc/cc1-checksum.o differs warning: gcc/cc1obj-checksum.o differs warning: gcc/cc1objplus-checksum.o differs warning: gcc/cc1plus-checksum.o differs Bootstrap comparison failure! i686-apple-darwin9/libstdc++-v3/src/.libs/future.o differs i686-apple-darwin9/libstdc++-v3/src/.libs/system_error.o differs i686-apple-darwin9/libstdc++-v3/src/future.o differs i686-apple-darwin9/libstdc++-v3/src/system_error.o differs i686-apple-darwin9/x86_64/libstdc++-v3/src/.libs/future.o differs i686-apple-darwin9/x86_64/libstdc++-v3/src/.libs/system_error.o differs i686-apple-darwin9/x86_64/libstdc++-v3/src/future.o differs i686-apple-darwin9/x86_64/libstdc++-v3/src/system_error.o differs make[2]: *** [compare] Error 1 stripped future.o from stage 2 000007e0 63 5f 5f 5f 76 33 5f 73 72 63 5f 66 75 74 75 72 |c___v3_src_futur| 000007f0 65 2e 63 63 5f 30 30 30 30 30 30 30 30 5f 34 37 |e.cc_00000000_47| 00000800 44 39 32 31 34 32 32 31 66 75 74 75 72 65 5f 65 |D9214221future_e| 00000810 72 72 6f 72 5f 63 61 74 65 67 6f 72 79 45 00 00 |rror_categoryE..| stripped future.o from stage 3 000007e0 63 5f 5f 5f 76 33 5f 73 72 63 5f 66 75 74 75 72 |c___v3_src_futur| 000007f0 65 2e 63 63 5f 30 30 30 30 30 30 30 30 5f 45 35 |e.cc_00000000_E5| 00000800 45 38 41 43 44 37 32 31 66 75 74 75 72 65 5f 65 |E8ACD721future_e| 00000810 72 72 6f 72 5f 63 61 74 65 67 6f 72 79 45 00 00 |rror_categoryE..| === stripped system_error.o from stage 2 000007a0 30 30 30 5f 37 37 34 44 41 30 30 45 32 32 67 65 |000_774DA00E22ge| 000007b0 6e 65 72 69 63 5f 65 72 72 6f 72 5f 63 61 74 65 |neric_error_cate| 000007c0 67 6f 72 79 45 00 00 00 00 00 00 00 00 00 00 00 |goryE...........| 000007d0 4e 38 39 5f 47 4c 4f 42 41 4c 5f 5f 4e 5f 2e 2e |N89_GLOBAL__N_..| 000007e0 5f 2e 2e 5f 2e 2e 5f 2e 2e 5f 67 63 63 5f 34 5f |_.._.._.._gcc_4_| 000007f0 35 5f 72 65 67 74 65 73 74 5f 6c 69 62 73 74 64 |5_regtest_libstd| 00000800 63 5f 5f 5f 76 33 5f 73 72 63 5f 73 79 73 74 65 |c___v3_src_syste| 00000810 6d 5f 65 72 72 6f 72 2e 63 63 5f 30 30 30 30 30 |m_error.cc_00000| 00000820 30 30 30 5f 37 37 34 44 41 30 30 45 32 31 73 79 |000_774DA00E21sy| stripped system_error.o from stage 3 000007a0 30 30 30 5f 35 39 44 36 31 37 37 43 32 32 67 65 |000_59D6177C22ge| 000007b0 6e 65 72 69 63 5f 65 72 72 6f 72 5f 63 61 74 65 |neric_error_cate| 000007c0 67 6f 72 79 45 00 00 00 00 00 00 00 00 00 00 00 |goryE...........| 000007d0 4e 38 39 5f 47 4c 4f 42 41 4c 5f 5f 4e 5f 2e 2e |N89_GLOBAL__N_..| 000007e0 5f 2e 2e 5f 2e 2e 5f 2e 2e 5f 67 63 63 5f 34 5f |_.._.._.._gcc_4_| 000007f0 35 5f 72 65 67 74 65 73 74 5f 6c 69 62 73 74 64 |5_regtest_libstd| 00000800 63 5f 5f 5f 76 33 5f 73 72 63 5f 73 79 73 74 65 |c___v3_src_syste| 00000810 6d 5f 65 72 72 6f 72 2e 63 63 5f 30 30 30 30 30 |m_error.cc_00000| 00000820 30 30 30 5f 35 39 44 36 31 37 37 43 32 31 73 79 |000_59D6177C21sy| Jakub Jalinek has commented in 41405: The difference you are seeing is likely related to different random seed, you'd need to pass the same -frandom-seed=XXXX in both stage2 and stage3 builds... However, this is new since approx. 151920. -- Summary: in-tree GMP/MPFR requires c++ as stage 1 lang; 2 object compares fail. Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: developer at sandoe-acoustics dot co dot uk GCC build triplet: *-apple-darwin{8,9} GCC host triplet: *-apple-darwin{8,9} GCC target triplet: *-apple-darwin{8,9} http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41446