bootstrap failure on HEAD
Dorit Nuzman
DORIT@il.ibm.com
Sun Nov 12 16:50:00 GMT 2006
>
> I see this on linux but not on cygwin:
>
> make[3]: Leaving directory `/home/dk/gnu/obj'
> Comparing stages 2 and 3
> warning: ./cc1-checksum.o differs
> warning: ./cc1plus-checksum.o differs
> warning: ./cc1obj-checksum.o differs
> Bootstrap comparison failure!
> ./cfg.o differs
> ./cfgloopanal.o differs
> ./loop-iv.o differs
> ./predict.o differs
> ./profile.o differs
> ./value-prof.o differs
> ./ipa-inline.o differs
> make[2]: *** [compare] Error 1
> make[2]: Leaving directory `/home/dk/gnu/obj'
> make[1]: *** [stage3-bubble] Error 2
> make[1]: Leaving directory `/home/dk/gnu/obj'
> make: *** [all] Error 2
I also see this bootstrap failure on i386-redhat-linux systems -
on the one system the gcc used to compile stage1 is:
gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
on the other system it is:
gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-47).
On both systems, when I use gcc 4.1.1 to compile stage1 instead of the
above - bootstrap passes smoothly.
dorit
> [dk@pepper obj]$ ../gcc/config.guess
> i686-pc-linux-gnu
> [dk@pepper obj]$ uname -a
> Linux pepper.cam.artimi.com 2.4.18-14 #1 Wed Sep 4 13:35:50 EDT 2002i686
i686
> i386 GNU/Linux
> [dk@pepper obj]$
>
>
> Is it just me, or does anyone else get this? I objdump'd and diff'd
the
> stage2 and stage3 versions of cfg.o and it seems to have developed a
habit of
> inserting 'shrd'/'shld' opcodes:
>
> @@ -8895,8 +8896,10 @@ xxxx <scale_bbs_frequencies_gcov_type>:
> xxxx: 11 4c 24 34 xxxx %ecx,0x34(%esp,1)
> xxxx: 8b 5c 24 34 mov 0x34(%esp,1),%ebx
> xxxx: 8b 4c 24 30 mov 0x30(%esp,1),%ecx
> - xxxx: c1 e0 10 shl $0x10,%eax
> xxxx: 8b 54 24 44 mov 0x44(%esp,1),%edx
> + xxxx: 0f ac d9 01 shrd $0x1,%ebx,%ecx
> + xxxx: 0f a4 c2 10 shld $0x10,%eax,%edx
> + xxxx: c1 e0 10 shl $0x10,%eax
> xxxx: d1 fb sar %ebx
> xxxx: 01 c8 xxxx %ecx,%eax
> xxxx: 11 da xxxx %ebx,%edx
>
>
> although disturbingly enough there's a missing 'lea' too:
>
>
> @@ -8968,29 +8971,29 @@ xxxx <scale_bbs_frequencies_gcov_type>:
> xxxx: 31 d2 xor %edx,%edx
> xxxx: 01 c8 xxxx %ecx,%eax
> xxxx: 11 da xxxx %ebx,%edx
> + xxxx: 0f ac d0 10 shrd $0x10,%edx,%eax
> xxxx: c1 fa 10 sar $0x10,%edx
> xxxx: 83 fe f8 cmp $0xfffffff8,%esi
> xxxx: 89 46 30 mov %eax,0x30(%esi)
> xxxx: 89 56 34 mov %edx,0x34(%esi)
> - xxxx: 0f 84 62 03 00 00 je xxxx
> <scale_bbs_frequencies_gcov_type+0x4d4>
> + xxxx: 0f 84 66 03 00 00 je xxxx
> <scale_bbs_frequencies_gcov_type+0x4e4>
> xxxx: 8b 76 08 mov 0x8(%esi),%esi
> xxxx: 85 f6 test %esi,%esi
> xxxx: 89 74 24 60 mov %esi,0x60(%esp,1)
> - xxxx: 0f 85 ce 03 00 00 jne xxxx
> <scale_bbs_frequencies_gcov_type+0x54f>
> + xxxx: 0f 85 d2 03 00 00 jne xxxx
> <scale_bbs_frequencies_gcov_type+0x55f>
> xxxx: 31 c9 xor %ecx,%ecx
> xxxx: 31 ed xor %ebp,%ebp
> xxxx: 31 d2 xor %edx,%edx
> xxxx: 31 c0 xor %eax,%eax
> - xxxx: 8d b4 26 00 00 00 00 lea 0x0(%esi,1),%esi
> xxxx: 39 c1 cmp %eax,%ecx
> - xxxx: 0f 84 76 03 00 00 je xxxx
> <scale_bbs_frequencies_gcov_type+0x50e>
> + xxxx: 0f 84 81 03 00 00 je xxxx
> <scale_bbs_frequencies_gcov_type+0x51e>
>
>
>
>
>
> cheers,
> DaveK
> --
> Can't think of a witty .sigline today....
>
More information about the Gcc
mailing list