bootstrap failure on darwin, compare stages
Andreas Tobler
toa@pop.agri.ch
Sat Sep 22 11:16:00 GMT 2001
David Edelsohn wrote:
>
> >>>>> Andreas Tobler writes:
>
> Andreas> since yesterday bootstrapping fails on darwin. My question is not 'what
> Andreas> is the fix' I'd like to know how to track down the problem.
> Andreas> Unfortunately the trapping fails in the stage of comparing the stage 1
> Andreas> with 2. The failing part is insn-emit.o which differs. How can I find
> Andreas> out what's going wrong?
>
> The first thing is to disassemble the object files or recompile
> the source into assembly output with the two different stage compilers.
> Then see what differs between the two files.
Well, I built the failing file with different cc's and I get a diff. Now
I'm stuck, how to go on?
I used the -S switch to produce assembly output.
Then I diffed. Here an excerpt:
--- insn-emit.s.s1 Sat Sep 22 19:58:23 2001
+++ insn-emit.s.s2 Sat Sep 22 20:00:16 2001
@@ -18255,13 +18255,13 @@
.stabs "operand2:P(10,1)",64,0,7288,29
.stabs "_val:r(10,1)",64,0,7290,30
.stabn 192,0,0,LBB230
- .stabs "operands:(0,28)",128,0,7293,56
+ .stabs "operands:(0,30)=ar(14,33);0;2;(10,1)",128,0,7293,56
.stabn 192,0,0,LBB231
.stabn 224,0,0,LBE231
.stabn 224,0,0,LBE230
.stabs "_val:r(10,1)",64,0,7290,30
.stabn 192,0,0,LBB232
- .stabs "operands:(0,28)",128,0,7293,56
+ .stabs "operands:(0,30)",128,0,7293,56
It goes on, the pattern is always the same: either the operand is 1 or 2
digits up or it uses 'ar'.
Sorry if too basic....
Thanks,
Andreas
More information about the Gcc
mailing list