This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Problems bootstrapping mainline on cygwin: warning: ./cc1-checksum.o./cc1obj-checksum.o ./cc1plus-checksum.o libgcc/_chkstk.o differ
- From: James E Wilson <wilson at specifix dot com>
- To: Christian Joensson <christian dot joensson at gmail dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Fri, 05 Aug 2005 15:31:48 -0700
- Subject: Re: Problems bootstrapping mainline on cygwin: warning: ./cc1-checksum.o./cc1obj-checksum.o ./cc1plus-checksum.o libgcc/_chkstk.o differ
- References: <5460e3330508050516185fef30@mail.gmail.com>
Christian Joensson wrote:
warning: ./cc1-checksum.o differs
warning: ./cc1obj-checksum.o differs
warning: ./cc1plus-checksum.o differs
what does that mean?? the compare passes... and the build continues...
The checksums are used for PCH validatation. We generate md5 checksums
for each cc1 binary, write them into the PCH files, and then check them
when reading PCH files to make sure the right PCH files are used with
the right compiler binaries.
If the checksums differ, then this could be an assembler/linker issue
for the target that makes it difficult to generate repeatable checksums
of executable files during a bootstrap, or it could mean a portability
problem with the code that generates the checksums. It does not mean a
compiler code generation error. Hence it is a warning instead of an
error that stops the bootstrap.
See the checksum related rules in the Makefile, and the genchecksum.c file.
--
Jim Wilson, GNU Tools Support, http://www.specifix.com