* [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
2004-12-14 0:47 [Bug bootstrap/18972] New: Regression: bootstrap failure of gcc-4.0-20041212 on OpenDarwin 7.2.1/x86 (i686-apple-darwin7.2.1): Bootstrap comparison failure lars dot sonchocky-helldorf at hamburg dot de
@ 2004-12-14 0:50 ` lars dot sonchocky-helldorf at hamburg dot de
2004-12-14 0:54 ` pinskia at gcc dot gnu dot org
` (11 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: lars dot sonchocky-helldorf at hamburg dot de @ 2004-12-14 0:50 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From lars dot sonchocky-helldorf at hamburg dot de 2004-12-14 00:50 -------
Created an attachment (id=7733)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7733&action=view)
result of stage 2 compilation derived with '-save-temps'
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18972
^ permalink raw reply [flat|nested] 14+ messages in thread
* [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
2004-12-14 0:47 [Bug bootstrap/18972] New: Regression: bootstrap failure of gcc-4.0-20041212 on OpenDarwin 7.2.1/x86 (i686-apple-darwin7.2.1): Bootstrap comparison failure lars dot sonchocky-helldorf at hamburg dot de
2004-12-14 0:50 ` [Bug bootstrap/18972] " lars dot sonchocky-helldorf at hamburg dot de
@ 2004-12-14 0:54 ` pinskia at gcc dot gnu dot org
2004-12-14 1:27 ` lars dot sonchocky-helldorf at hamburg dot de
` (10 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-14 0:54 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-14 00:54 -------
"I found out that the .i files and .s files don't differ, so I attached them only once"
If the .s don't differ, then this is not a gcc bug or rather just a makefile problem or something is really
wrong somewhere.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18972
^ permalink raw reply [flat|nested] 14+ messages in thread
* [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
2004-12-14 0:47 [Bug bootstrap/18972] New: Regression: bootstrap failure of gcc-4.0-20041212 on OpenDarwin 7.2.1/x86 (i686-apple-darwin7.2.1): Bootstrap comparison failure lars dot sonchocky-helldorf at hamburg dot de
2004-12-14 0:50 ` [Bug bootstrap/18972] " lars dot sonchocky-helldorf at hamburg dot de
2004-12-14 0:54 ` pinskia at gcc dot gnu dot org
@ 2004-12-14 1:27 ` lars dot sonchocky-helldorf at hamburg dot de
2004-12-14 13:46 ` lars dot sonchocky-helldorf at hamburg dot de
` (9 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: lars dot sonchocky-helldorf at hamburg dot de @ 2004-12-14 1:27 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From lars dot sonchocky-helldorf at hamburg dot de 2004-12-14 01:27 -------
maybe my attempt to "simulate" stage2 and stage3 were not alright, I am doing another clean bootstrap
now:
../gcc-4.0-20041212/configure --prefix=/tmp/gcc
make bootstrap STAGE1_CFLAGS="-no-cpp-precomp -Wa,-force_cpusubtype_ALL" BOOTCFLAGS="-O2
-g -save-temps"
after the bubblestrap attempt (touch ../../gcc-4.0-20041212/gcc/reload.c followed by: make
bubblestrap BOOTCFLAGS="-O2 -g -save-temps") didn't work (-save-temps was ignored)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18972
^ permalink raw reply [flat|nested] 14+ messages in thread
* [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
2004-12-14 0:47 [Bug bootstrap/18972] New: Regression: bootstrap failure of gcc-4.0-20041212 on OpenDarwin 7.2.1/x86 (i686-apple-darwin7.2.1): Bootstrap comparison failure lars dot sonchocky-helldorf at hamburg dot de
` (2 preceding siblings ...)
2004-12-14 1:27 ` lars dot sonchocky-helldorf at hamburg dot de
@ 2004-12-14 13:46 ` lars dot sonchocky-helldorf at hamburg dot de
2004-12-14 16:18 ` lars dot sonchocky-helldorf at hamburg dot de
` (8 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: lars dot sonchocky-helldorf at hamburg dot de @ 2004-12-14 13:46 UTC (permalink / raw)
To: gcc-bugs
------- 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
^ permalink raw reply [flat|nested] 14+ messages in thread
* [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
2004-12-14 0:47 [Bug bootstrap/18972] New: Regression: bootstrap failure of gcc-4.0-20041212 on OpenDarwin 7.2.1/x86 (i686-apple-darwin7.2.1): Bootstrap comparison failure lars dot sonchocky-helldorf at hamburg dot de
` (3 preceding siblings ...)
2004-12-14 13:46 ` lars dot sonchocky-helldorf at hamburg dot de
@ 2004-12-14 16:18 ` lars dot sonchocky-helldorf at hamburg dot de
2004-12-14 16:21 ` pinskia at gcc dot gnu dot org
` (7 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: lars dot sonchocky-helldorf at hamburg dot de @ 2004-12-14 16:18 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From lars dot sonchocky-helldorf at hamburg dot de 2004-12-14 16:18 -------
Indeed a Heisenbug:
reload.o from stage2 and stage3 differ when produced like this:
touch ../../gcc-4.0-20041212/gcc/reload.c
make restage2 BOOT_CFLAGS="-O2 -g -fomit-frame-pointer"
make restage3 BOOT_CFLAGS="-O2 -g -fomit-frame-pointer"
the resultingg reload.o differ just in one byte at offset 0000B577h:
for stage2 it is: D0
for stage3 it is: C4
now in context:
stage2: 0000 B570h: 7E B9 31 C0 8B 8C 24 D0 00 00 00 89 84 24 6C 02
stage3: 0000 B570h: 7E B9 31 C0 8B 8C 24 C4 00 00 00 89 84 24 6C 02
Does anyone know how I could disassemble those .o files to get something more
human readable?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18972
^ permalink raw reply [flat|nested] 14+ messages in thread
* [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
2004-12-14 0:47 [Bug bootstrap/18972] New: Regression: bootstrap failure of gcc-4.0-20041212 on OpenDarwin 7.2.1/x86 (i686-apple-darwin7.2.1): Bootstrap comparison failure lars dot sonchocky-helldorf at hamburg dot de
` (4 preceding siblings ...)
2004-12-14 16:18 ` lars dot sonchocky-helldorf at hamburg dot de
@ 2004-12-14 16:21 ` pinskia at gcc dot gnu dot org
2004-12-18 5:18 ` lars dot sonchocky-helldorf at hamburg dot de
` (6 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-14 16:21 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-14 16:21 -------
(In reply to comment #5)
> Indeed a Heisenbug:
>
> Does anyone know how I could disassemble those .o files to get something more
> human readable?
Use otool.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18972
^ permalink raw reply [flat|nested] 14+ messages in thread
* [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
2004-12-14 0:47 [Bug bootstrap/18972] New: Regression: bootstrap failure of gcc-4.0-20041212 on OpenDarwin 7.2.1/x86 (i686-apple-darwin7.2.1): Bootstrap comparison failure lars dot sonchocky-helldorf at hamburg dot de
` (5 preceding siblings ...)
2004-12-14 16:21 ` pinskia at gcc dot gnu dot org
@ 2004-12-18 5:18 ` lars dot sonchocky-helldorf at hamburg dot de
2004-12-18 5:20 ` lars dot sonchocky-helldorf at hamburg dot de
` (5 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: lars dot sonchocky-helldorf at hamburg dot de @ 2004-12-18 5:18 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From lars dot sonchocky-helldorf at hamburg dot de 2004-12-18 05:18 -------
(In reply to comment #6)
> (In reply to comment #5)
> > Indeed a Heisenbug:
> >
> > Does anyone know how I could disassemble those .o files to get something more
> > human readable?
>
> Use otool.
Did so.
I copied the reload.o files that were created by:
make restage2 BOOT_CFLAGS="-O2 -g -fomit-frame-pointer"
and:
make restage3 BOOT_CFLAGS="-O2 -g -fomit-frame-pointer"
into:
GCC/FSF/bootstrap-failure_gcc-4.0-20041212/stage2
and:
GCC/FSF/bootstrap-failure_gcc-4.0-20041212/stage3
and then did the following with them:
otool -tV GCC/FSF/bootstrap-failure_gcc-4.0-20041212/stage3/reload.o &> stage3.reload.o.otool.s
otool -tV GCC/FSF/bootstrap-failure_gcc-4.0-20041212/stage2/reload.o &> stage2.reload.o.otool.s
which yielded two nice assembler files that I'll attach here (plus a diff for quick overview)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18972
^ permalink raw reply [flat|nested] 14+ messages in thread
* [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
2004-12-14 0:47 [Bug bootstrap/18972] New: Regression: bootstrap failure of gcc-4.0-20041212 on OpenDarwin 7.2.1/x86 (i686-apple-darwin7.2.1): Bootstrap comparison failure lars dot sonchocky-helldorf at hamburg dot de
` (6 preceding siblings ...)
2004-12-18 5:18 ` lars dot sonchocky-helldorf at hamburg dot de
@ 2004-12-18 5:20 ` lars dot sonchocky-helldorf at hamburg dot de
2004-12-18 5:21 ` lars dot sonchocky-helldorf at hamburg dot de
` (4 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: lars dot sonchocky-helldorf at hamburg dot de @ 2004-12-18 5:20 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From lars dot sonchocky-helldorf at hamburg dot de 2004-12-18 05:20 -------
Created an attachment (id=7774)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7774&action=view)
reload.o of stage2 mangled through otool
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18972
^ permalink raw reply [flat|nested] 14+ messages in thread
* [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
2004-12-14 0:47 [Bug bootstrap/18972] New: Regression: bootstrap failure of gcc-4.0-20041212 on OpenDarwin 7.2.1/x86 (i686-apple-darwin7.2.1): Bootstrap comparison failure lars dot sonchocky-helldorf at hamburg dot de
` (7 preceding siblings ...)
2004-12-18 5:20 ` lars dot sonchocky-helldorf at hamburg dot de
@ 2004-12-18 5:21 ` lars dot sonchocky-helldorf at hamburg dot de
2004-12-18 5:22 ` lars dot sonchocky-helldorf at hamburg dot de
` (3 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: lars dot sonchocky-helldorf at hamburg dot de @ 2004-12-18 5:21 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From lars dot sonchocky-helldorf at hamburg dot de 2004-12-18 05:21 -------
Created an attachment (id=7775)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7775&action=view)
reload.o of stage3 mangled through otool
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18972
^ permalink raw reply [flat|nested] 14+ messages in thread
* [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
2004-12-14 0:47 [Bug bootstrap/18972] New: Regression: bootstrap failure of gcc-4.0-20041212 on OpenDarwin 7.2.1/x86 (i686-apple-darwin7.2.1): Bootstrap comparison failure lars dot sonchocky-helldorf at hamburg dot de
` (8 preceding siblings ...)
2004-12-18 5:21 ` lars dot sonchocky-helldorf at hamburg dot de
@ 2004-12-18 5:22 ` lars dot sonchocky-helldorf at hamburg dot de
2004-12-18 5:39 ` lars dot sonchocky-helldorf at hamburg dot de
` (2 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: lars dot sonchocky-helldorf at hamburg dot de @ 2004-12-18 5:22 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From lars dot sonchocky-helldorf at hamburg dot de 2004-12-18 05:22 -------
Created an attachment (id=7776)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7776&action=view)
diff between stage2 and stage3 reload.o otool -tV output
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18972
^ permalink raw reply [flat|nested] 14+ messages in thread
* [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
2004-12-14 0:47 [Bug bootstrap/18972] New: Regression: bootstrap failure of gcc-4.0-20041212 on OpenDarwin 7.2.1/x86 (i686-apple-darwin7.2.1): Bootstrap comparison failure lars dot sonchocky-helldorf at hamburg dot de
` (9 preceding siblings ...)
2004-12-18 5:22 ` lars dot sonchocky-helldorf at hamburg dot de
@ 2004-12-18 5:39 ` lars dot sonchocky-helldorf at hamburg dot de
2005-01-04 0:48 ` lars dot sonchocky-helldorf at hamburg dot de
2005-01-04 0:52 ` pinskia at gcc dot gnu dot org
12 siblings, 0 replies; 14+ messages in thread
From: lars dot sonchocky-helldorf at hamburg dot de @ 2004-12-18 5:39 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From lars dot sonchocky-helldorf at hamburg dot de 2004-12-18 05:38 -------
please note (I might not have stated this clearly enough in comment #4):
the bootstrap doesn't fail if:
'-fomit-frame-pointer' is omitted (by specifying BOOT_CFLAGS="-O2 -g" instead of BOOT_CFLAGS="-
O2 -g -fomit-frame-pointer" (which is the default and doesn't need to be specified)
or if:
'-save-temps' is specified (for instance: BOOT_CFLAGS="-O2 -g -fomit-frame-pointer -save-temps"
works)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18972
^ permalink raw reply [flat|nested] 14+ messages in thread
* [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
2004-12-14 0:47 [Bug bootstrap/18972] New: Regression: bootstrap failure of gcc-4.0-20041212 on OpenDarwin 7.2.1/x86 (i686-apple-darwin7.2.1): Bootstrap comparison failure lars dot sonchocky-helldorf at hamburg dot de
` (10 preceding siblings ...)
2004-12-18 5:39 ` lars dot sonchocky-helldorf at hamburg dot de
@ 2005-01-04 0:48 ` lars dot sonchocky-helldorf at hamburg dot de
2005-01-04 0:52 ` pinskia at gcc dot gnu dot org
12 siblings, 0 replies; 14+ messages in thread
From: lars dot sonchocky-helldorf at hamburg dot de @ 2005-01-04 0:48 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From lars dot sonchocky-helldorf at hamburg dot de 2005-01-04 00:47 -------
I could bootstrap (but not install) the gcc-4.0-20050102 snapshot. Should this bug be closed?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18972
^ permalink raw reply [flat|nested] 14+ messages in thread
* [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
2004-12-14 0:47 [Bug bootstrap/18972] New: Regression: bootstrap failure of gcc-4.0-20041212 on OpenDarwin 7.2.1/x86 (i686-apple-darwin7.2.1): Bootstrap comparison failure lars dot sonchocky-helldorf at hamburg dot de
` (11 preceding siblings ...)
2005-01-04 0:48 ` lars dot sonchocky-helldorf at hamburg dot de
@ 2005-01-04 0:52 ` pinskia at gcc dot gnu dot org
12 siblings, 0 replies; 14+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-04 0:52 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-04 00:52 -------
(In reply to comment #12)
> I could bootstrap (but not install) the gcc-4.0-20050102 snapshot. Should this bug be closed?
Yes which I am doing right now (for the install problem if there was one, please file it).
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18972
^ permalink raw reply [flat|nested] 14+ messages in thread