On 12 November 2006 16:50, H. J. Lu wrote: > On Sun, Nov 12, 2006 at 02:44:36PM -0000, Dave Korn wrote:
>> 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 > Gcc mainline may miscompile gcc when -O2 is used. See > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29680 > > I have no problems on x86, x86-64 and ia64 with revision 118723 today > after reverting revision 117986. Can you try > > http://gcc.gnu.org/bugzilla/attachment.cgi?id=12574 Hi H.J., I updated to the revision you said, tried a clean bootstrap and verified the bug was still present, then applied your patch, and continued the bootstrap. I still get the same problem, so I have to conclude that Dorit is most likely correct to suggest the host compiler is at fault: I have been using 3.2 Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2/specs Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --host=i386-redhat-linux --with-system-zlib --enable-__cxa_atexit Thread model: posix gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7) Since 3.x is dead, I'm not going to investigate, I'll just try using an intermediate 4.1 to get going. Thanks for the suggestion. cheers, DaveK -- Can't think of a witty .sigline today....