Bug 45737 - Bootstrap comparison failure
Summary: Bootstrap comparison failure
Status: UNCONFIRMED
Alias: None
Product: gcc
Classification: Unclassified
Component: bootstrap (show other bugs)
Version: 4.5.1
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords: build
Depends on:
Blocks:
 
Reported: 2010-09-21 08:51 UTC by Ismaël
Modified: 2010-09-24 20:33 UTC (History)
2 users (show)

See Also:
Host:
Target: ia64-linux-gnu
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 Ismaël 2010-09-21 08:51:16 UTC
Hi,


I'm building gcc 4.5.1 and I encounter the below error:

"
Comparing stages 2 and 3
warning: gcc/cc1-checksum.o differs
Bootstrap comparison failure!
gmp/mpn/sb_div_q.o differs
mpfr/get_d.o differs
make[2]: *** [compare] Error 1
make[2]: Leaving directory `/tmp/IEK2/gcc-4.5.1-build'
"

This build is on a linux IA64 system, making use of gcc 3.4.6.

THe configure was run with the below command:
 configure --prefix=/opt/third/gcc-4.5.1   --enable-languages=c 

And then simply running make.

I had several times problems (for each stage) due to missing gmp_impl.h and longlong.h but solved with a manual copy from the sources.

Note that I succeeded to make the same gcc 4.5.1 build installation on a AIX 5.3 but on the linux I have the above issue that is quite blocking for the build.


THanks upfront for keeping me informed on any possible way to investigate,
Kind regards,
Comment 1 Ismaël 2010-09-21 08:55:20 UTC
Forgot to mention:

GMP 4.3.2
MPFR 3.0.0
MPC 0.8.2
Comment 2 Ismaël 2010-09-21 09:10:46 UTC
And GNU make 3.80
Comment 3 Ismaël 2010-09-22 09:53:52 UTC
Is it a solution to build GCC with --disable-bootstrap option.

The host and build machine for the gcc is the same on a IA 64 redhat linux.

In order to avoid the issue ....

Tks upfront,
Comment 4 Steve Ellcey 2010-09-24 20:33:32 UTC
I haven't seen this failure but I don't build with GMP and MPFR in my build tree.  They are installed on the system instead and I use --with-gmp=<DIR> and --with-mpfr=<DIR> on the configure line to point to where they live.  Doing the build this way might give you a workaround if it is only the gmp and mpfr files that differ during the bootstrap.