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

Reply via email to