I installed the gcc-4.2.0 on Intel(R) Xeon(TM) in a clean directory which is different from the source one with the following configuration: ../gcc-4.2.0/configure --prefix=$prefix --enable-language=c,c++ --with-gnu-as --with-gnu-ld And then I got the following error: Comparing stages 2 and 3 warning: ./cc1-checksum.o differs warning: ./cc1plus-checksum.o differs warning: ./cc1obj-checksum.o differs Bootstrap comparison failure! ./cfg.o differs ./cfgloopanal.o differs ./loop-iv.o differs ./predict.o differs ./profile.o differs ./value-prof.o differs ./ipa-inline.o differs make[2]: *** [compare] Error 1 make[2]: Leaving directory `/home/compiler/redriver/project3/gcc/gcc-install' make[1]: *** [stage3-bubble] Error 2 make[1]: Leaving directory `/home/compiler/redriver/project3/gcc/gcc-install' make: *** [all] Error 2 Could you please tell me what problem with it? What does the bootstrap comparison mean? Whether any of my prerequisite tool/packet didn't fit with GCC-4.2.0. Because I installed the gcc-4.1.2 version in the same machine, with the same configuration but it was ok. Thanks very much .
What version of GCC are you starting with? This works for me on an i686-linux-gnu machine (a pentium 4D).
(In reply to comment #1) > What version of GCC are you starting with? > This works for me on an i686-linux-gnu machine (a pentium 4D). > I think I found the problem. Previously, I use the gcc-3.2.2 to bootstrap the gcc-4.2.0. But when I used higher version of gcc (gcc-4.1.2) to bootstrap then there was no error. I think there is some incompatible between the two versions 3.2.2 and 4.2.0.
This issue has already been worked around in 4.3 (and IIRC 4.2.1.) so closing as fixed.