This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/18972] Regression: bootstrap failure of gcc-4.0-20041212 on OpenDarwin 7.2.1/x86 (i686-apple-darwin7.2.1): Bootstrap comparison failure
- From: "lars dot sonchocky-helldorf at hamburg dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Dec 2004 13:46:29 -0000
- Subject: [Bug bootstrap/18972] Regression: bootstrap failure of gcc-4.0-20041212 on OpenDarwin 7.2.1/x86 (i686-apple-darwin7.2.1): Bootstrap comparison failure
- References: <20041214004742.18972.lars.sonchocky-helldorf@hamburg.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From lars dot sonchocky-helldorf at hamburg dot de 2004-12-14 13:46 -------
Well next time I better read http://gcc.gnu.org/install/build.html thoroughly
instead of just banking on the "word of irc" instead:
It had to be 'BOOT_CFLAGS' instead of 'BOOTCFLAGS' of course.
Anyway, surprisingly 'make bootstrap STAGE1_CFLAGS="-no-cpp-precomp
-Wa,-force_cpusubtype_ALL" BOOT_CFLAGS="-O2 -g -save-temps"' worked flawlessly -
no Bootstrap comparison failure any more.
I also came to know that '-save-temps' doesn't save the .i and .s files in the
stageX directories but just in the gcc directory (so the stage2 .i and .s files
would get erased by a bootstrap or bubblestrap)
So I started over like this:
cd GCC/FSF/gcc-build/
rm -rf *
../gcc-4.0-20041212/configure --prefix=/tmp/gcc
make bootstrap STAGE1_CFLAGS="-no-cpp-precomp -Wa,-force_cpusubtype_ALL"
cd gcc
redoing stage 2 (note the additional '-fomit-frame-pointer' (which I omitted in
the first place too ;-))):
touch ../../gcc-4.0-20041212/gcc/reload.c
make restage2 BOOT_CFLAGS="-O2 -g -fomit-frame-pointer -save-temps"
now I moved reload.i and reload.s into a safe place and then redoing stage 3:
touch ../../gcc-4.0-20041212/gcc/reload.c
make restage3 BOOT_CFLAGS="-O2 -g -fomit-frame-pointer -save-temps"
then I saved the "other" reload.i and reload.s too
The comparison of all stage2 vs. stage3 files yieled absolutelly no difference
(even the .o files are similar)
Heisenbug?
Next thing I'll do is a clean 'make bootstrap STAGE1_CFLAGS="-no-cpp-precomp
-Wa,-force_cpusubtype_ALL" BOOT_CFLAGS="-O2 -g -fomit-frame-pointer"' and then
again the same with '-save-temps' added to see which (if?) one of those fails.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18972