Hi all, I've been trying upgrade our C environment on our solaris boxes to GCC4.1
Currently we're using GCC 3.4.2 from Sun Freeware's online packages. $ gcc --version gcc (GCC) 3.4.2 ... Using the same ./configure options on 4 clean sparc Solaris systems (running 2.6, 7, 8 and 9) systems I find that the "make bootstrap" fails on solaris 8 only. I'm configuring the source as: cd /build/gcc/compiled ; CONFIG_SHELL=/bin/ksh "/build/gcc-4.1.0/configure" \ --prefix="/opt/gcc" \ --with-as=/usr/ccs/bin/as \ --with-ld=/usr/ccs/bin/ld \ --disable-nls \ --enable-libgcj \ --enable-languages=c,c++,objc,java make bootstrap fails on my solaris8 system complaining: Bootstrap comparison failure! ./integrate.o differs cp/semantics.o differs build/gengtype.o differs make[1]: *** [gnucompare] Error 1 make[1]: Leaving directory `/build/gcc/compiled/gcc' make: *** [bootstrap] Error 2 using 'hexdump' I have compared the two six files that differ: integrate.o 0006000 0000 0723 000f 0300 0260 1c23 750a 6469 stage2/integrate.o 0006000 0400 0723 000f 0300 0260 1c23 750a 6469 cp/semantics.o 0028c00 0000 8028 0100 0714 0000 0000 0000 8828 stage2/cp/semantics.o 0028c00 0400 8028 0100 0714 0000 0000 0000 8828 build/gengtype.o 0014c00 0000 b418 0100 0057 1800 00b4 1800 00ec stage2/build/gengtype.o 0014c00 0400 b418 0100 0057 1800 00b4 1800 00ec There is a one bit difference between the pairs! I'm sorry if I've left out information, I'm not sure what I need to provide here. I've checked the pre-requisites and I believe I match them all. It all works fine on my solaris 2.6, 7 and 9 systems. Only Solaris 8 seems to be suffering at the moment. For good measure I have installed the latest recommended patch cluster from Sun but it has not made a difference. More of a problem is the failure occurs about 6.5 hours into the compile. Finally, I'm currently only working with sparc Solaris systems, I've not got access to any intel sparc systems to test this under solaris8/x86 Thanks Chris -- Summary: boostrap comparison failure (stage2?) during make bootstrap on solaris8 only? Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: chris dot pitchford at newsint dot co dot uk GCC build triplet: *-*-solaris2.8 GCC host triplet: *-*-solaris2.8 GCC target triplet: *-*-solaris2.8 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26715