This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problems bootstrapping mainline on cygwin: warning: ./cc1-checksum.o./cc1obj-checksum.o ./cc1plus-checksum.o libgcc/_chkstk.o differ


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]