Bug 32334 - Bootstrap comparison failure when comparing stage 2 and 3
Summary: Bootstrap comparison failure when comparing stage 2 and 3
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: bootstrap (show other bugs)
Version: 4.2.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-14 10:10 UTC by Nguyen Huong Giang
Modified: 2007-06-21 22:41 UTC (History)
1 user (show)

See Also:
Host: Intel(R) Xeon(TM) CPU
Target: Intel(R) Xeon(TM) CPU
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nguyen Huong Giang 2007-06-14 10:10:09 UTC
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 .
Comment 1 Andrew Pinski 2007-06-16 07:15:33 UTC
What version of GCC are you starting with?
This works for me on an i686-linux-gnu machine (a pentium 4D).
Comment 2 Nguyen Huong Giang 2007-06-18 07:40:31 UTC
(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. 

Comment 3 Andrew Pinski 2007-06-21 22:41:20 UTC
This issue has already been worked around in 4.3 (and IIRC 4.2.1.) so closing as fixed.