five "Bootstrap comparison failure" messages in 7.2.0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





All:

Not sure what the real issue is but I can not get 7.2.0 past stage 2 of the three stage bootstrap process. Over and over with slightly different configure options. Perhaps I should abandon "go" and stick to strictly c abd c++ and ada which should be enough to get a compiler than can perhaps bootstrap itself with more langages.

I get no reply on this list .. usually .. but here is what configure had to say :


$ ../gcc-7.2.0/configure \
--build=sparc64-sun-solaris2.10 --target=sparc64-sun-solaris2.10 \
--host=sparc64-sun-solaris2.10 \
--prefix=
/usr/local/gcc7 \
--without-gnu-as --without-gnu-ld --with-as=/usr/ccs/bin/as \
--with-ld=/usr/ccs/bin/sparcv9/ld \
--disable-nls --enable
-threads=posix \
--enable-shared \
--with-gmp=/usr/local --with-mpfr=/usr/local --with-mpc=/usr/local \
--with-isl=/usr/local --with-build
-time-tools=/usr/local/bin \
--with-cpu=v9 --enable-bootstrap \
--enable-languages=ada,c,c++,fortran,go,objc,obj-c++ \
--with-pkgversion="genunix Tue Aug 22 00:36:56 GMT 2017"
checking build system type... sparc64-sun-solaris2.10
checking host system type... sparc64-sun-solaris2.10
checking target system type... sparc64-sun-solaris2.10
checking for a BSD-compatible install... ../gcc-7.2.0/install-sh -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for a sed that does not truncate output... /usr/local/bin/sed
checking for gawk... /usr/local/bin/gawk
checking for libatomic support... yes
checking for libcilkrts support... yes
checking for libitm support... yes
checking for libsanitizer support... no
checking for libvtv support... no
checking for libmpx support... no
checking for libhsail-rt support... no
checking for sparc64-sun-solaris2.10-gcc... sparc64-sun-solaris2.10-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether sparc64-sun-solaris2.10-gcc accepts -g... yes
checking for sparc64-sun-solaris2.10-gcc option to accept ISO C89... none needed
checking for sparc64-sun-solaris2.10-g++... sparc64-sun-solaris2.10-g++
checking whether we are using the GNU C++ compiler... yes
checking whether sparc64-sun-solaris2.10-g++ accepts -g... yes
checking whether g++ accepts -static-libstdc++ -static-libgcc... yes
checking for sparc64-sun-solaris2.10-gnatbind... no
checking for gnatbind... gnatbind
checking for sparc64-sun-solaris2.10-gnatmake... no
checking for gnatmake... gnatmake
checking whether compiler driver understands Ada... yes
checking how to compare bootstrapped objects... cmp $$f1 $$f2 16 16
checking for objdir... .libs
checking for the correct version of gmp.h... yes
checking for the correct version of mpfr.h... yes
checking for the correct version of mpc.h... yes
checking for the correct version of the gmp/mpfr/mpc libraries... yes
checking for isl 0.15 or later... yes
The following languages will be built: c,ada,c++,fortran,go,lto,objc,obj-c++
*** This configuration is not supported in the following subdirectories:
target-libsanitizer target-libvtv target-libmpx target-libhsail-rt target-liboffloadmic
    (Any other directories should still work fine.)
checking for default BUILD_CONFIG...
checking for --enable-vtable-verify... no
checking for bison... bison -y
checking for bison... bison
checking for gm4... /usr/local/bin/m4
checking for flex... flex
checking for flex... flex
checking for makeinfo... makeinfo
checking for expect... expect
checking for runtest... runtest
checking for ar... (cached) /usr/xpg4/bin/ar
checking for sparc64-sun-solaris2.10-ar... (cached) /usr/xpg4/bin/ar
checking for as... (cached) /usr/ccs/bin/as
checking for sparc64-sun-solaris2.10-as... (cached) /usr/ccs/bin/as
checking for sparc64-sun-solaris2.10-dlltool... no
checking for dlltool... no
checking for ld... (cached) /usr/ccs/bin/ld
checking for sparc64-sun-solaris2.10-ld... (cached) /usr/ccs/bin/ld
checking for sparc64-sun-solaris2.10-lipo... no
checking for lipo... no
checking for nm... (cached) /usr/ccs/bin/sparcv9/nm -p
checking for sparc64-sun-solaris2.10-nm... (cached) /usr/ccs/bin/sparcv9/nm -p
checking for ranlib... (cached) /usr/ccs/bin/ranlib
checking for sparc64-sun-solaris2.10-ranlib... (cached) /usr/ccs/bin/ranlib
checking for strip... (cached) /usr/ccs/bin/strip
checking for sparc64-sun-solaris2.10-strip... (cached) /usr/ccs/bin/strip
checking for sparc64-sun-solaris2.10-windres... no
checking for windres... no
checking for sparc64-sun-solaris2.10-windmc... no
checking for windmc... no
checking for sparc64-sun-solaris2.10-objcopy... no
checking for objcopy... no
checking for sparc64-sun-solaris2.10-objdump... no
checking for objdump... no
checking for sparc64-sun-solaris2.10-readelf... no
checking for readelf... no
checking for cc in /usr/local/bin... no
checking for gcc in /usr/local/bin... no
checking for sparc64-sun-solaris2.10-cc... no
checking for cc... cc
checking for c++ in /usr/local/bin... no
checking for g++ in /usr/local/bin... no
checking for cxx in /usr/local/bin... no
checking for gxx in /usr/local/bin... no
checking for sparc64-sun-solaris2.10-c++... sparc64-sun-solaris2.10-c++
checking for gcc in /usr/local/bin... no
checking for sparc64-sun-solaris2.10-gcc... sparc64-sun-solaris2.10-gcc
checking for gfortran in /usr/local/bin... no
checking for sparc64-sun-solaris2.10-gfortran... sparc64-sun-solaris2.10-gfortran
checking for gccgo in /usr/local/bin... no
checking for sparc64-sun-solaris2.10-gccgo... no
checking for gccgo... no
checking for ar in /usr/local/bin... no
checking for ar... no
checking for ar in /usr/local/bin... no
checking for sparc64-sun-solaris2.10-ar... no
checking for ar... ar
checking for as in /usr/local/bin... no
checking for as... no
checking for as in /usr/local/bin... no
checking for sparc64-sun-solaris2.10-as... no
checking for as... as
checking for dlltool in /usr/local/bin... no
checking for dlltool... no
checking for dlltool in /usr/local/bin... no
checking for sparc64-sun-solaris2.10-dlltool... no
checking for dlltool... no
checking for ld in /usr/local/bin... no
checking for ld... no
checking for ld in /usr/local/bin... no
checking for sparc64-sun-solaris2.10-ld... no
checking for ld... ld
checking for lipo in /usr/local/bin... no
checking for lipo... no
checking for lipo in /usr/local/bin... no
checking for sparc64-sun-solaris2.10-lipo... no
checking for lipo... no
checking for nm in /usr/local/bin... no
checking for nm... no
checking for nm in /usr/local/bin... no
checking for sparc64-sun-solaris2.10-nm... no
checking for nm... nm
checking for objcopy in /usr/local/bin... no
checking for objcopy... no
checking for objcopy in /usr/local/bin... no
checking for sparc64-sun-solaris2.10-objcopy... no
checking for objcopy... no
checking for objdump in /usr/local/bin... no
checking for objdump... no
checking for objdump in /usr/local/bin... no
checking for sparc64-sun-solaris2.10-objdump... no
checking for objdump... no
checking for ranlib in /usr/local/bin... no
checking for ranlib... no
checking for ranlib in /usr/local/bin... no
checking for sparc64-sun-solaris2.10-ranlib... no
checking for ranlib... ranlib
checking for readelf in /usr/local/bin... no
checking for readelf... no
checking for readelf in /usr/local/bin... no
checking for sparc64-sun-solaris2.10-readelf... no
checking for readelf... no
checking for strip in /usr/local/bin... no
checking for strip... no
checking for strip in /usr/local/bin... no
checking for sparc64-sun-solaris2.10-strip... no
checking for strip... strip
checking for windres in /usr/local/bin... no
checking for windres... no
checking for windres in /usr/local/bin... no
checking for sparc64-sun-solaris2.10-windres... no
checking for windres... no
checking for windmc in /usr/local/bin... no
checking for windmc... no
checking for windmc in /usr/local/bin... no
checking for sparc64-sun-solaris2.10-windmc... no
checking for windmc... no
checking where to find the target ar... host tool
checking where to find the target as... host tool
checking where to find the target cc... just compiled
checking where to find the target c++... just compiled
checking where to find the target c++ for libstdc++... just compiled
checking where to find the target dlltool... host tool
checking where to find the target gcc... just compiled
checking where to find the target gfortran... just compiled
checking where to find the target gccgo... just compiled
checking where to find the target ld... host tool
checking where to find the target lipo... host tool
checking where to find the target nm... host tool
checking where to find the target objcopy... host tool
checking where to find the target objdump... host tool
checking where to find the target ranlib... host tool
checking where to find the target readelf... host tool
checking where to find the target strip... host tool
checking where to find the target windres... host tool
checking where to find the target windmc... host tool
checking whether to enable maintainer-specific portions of Makefiles... no
configure: creating ./config.status
config.status: creating Makefile

This is my fifth attempt at a bootstrap and fifth "Bootstrap comparison failure" message at the same place but always slightly different reasons.

.
.
.
gmake[2]: Entering directory '/usr/local/build/gcc-7.2.0_SunOS5.10_sparc64vii+.004' gmake[3]: Entering directory '/usr/local/build/gcc-7.2.0_SunOS5.10_sparc64vii+.004'
rm -f stage_current
gmake[3]: Leaving directory '/usr/local/build/gcc-7.2.0_SunOS5.10_sparc64vii+.004'
Comparing stages 2 and 3
warning: gcc/cc1objplus-checksum.o differs
warning: gcc/cc1obj-checksum.o differs
Bootstrap comparison failure!
gcc/go/parse.o differs
gmake[2]: *** [Makefile:28094: compare] Error 1
gmake[2]: Leaving directory '/usr/local/build/gcc-7.2.0_SunOS5.10_sparc64vii+.004'
gmake[1]: *** [Makefile:28074: stage3-bubble] Error 2
gmake[1]: Leaving directory '/usr/local/build/gcc-7.2.0_SunOS5.10_sparc64vii+.004'
gmake: *** [Makefile:28137: bootstrap] Error 2



So the issue is with "go" parse.o and I see an 8 byte size diff :


d$ ls -lo ./stage3-gcc/go/parse.o ./stage2-gcc/go/parse.o
-rw-r--r--   1 dclarke  3904088 Aug 22 04:00 ./stage2-gcc/go/parse.o
-rw-r--r--   1 dclarke  3904080 Aug 22 04:57 ./stage3-gcc/go/parse.o

Not sure what the real diff is .. yet .. however there are plenty of small byte sized delta between them :

0000020: 0000 0000 0000 0000 0000 0000 003b 7cd8  .............;|.
                                              **
0000020: 0000 0000 0000 0000 0000 0000 003b 7cd0  .............;|.


001faa0: 0016 369e 0002 0000 0000 0893 0247 4e55  ..6..........GNU
                **
001faa0: 0016 3694 0002 0000 0000 0893 0247 4e55  ..6..........GNU


001fd90: 0095 0210 0691 0300 0003 2ffb 015f 4d5f  ........../.._M_
                                    **
001fd90: 0095 0210 0691 0300 0003 2ffa 015f 4d5f  ........../.._M_


Very strange given that the actual compile lines that made them both are
absolutely identical in every way except for the stage from whence they
were created. Stage 2 and stage 3 create different output files in very
subtle ways.


Both were compiled in the same way three times from the same source file :

   gcc/go/gofrontend/parse.cc


/usr/local/build/gcc-7.2.0_SunOS5.10_sparc64vii+.004/./prev-gcc/xg++ -B/usr/local/build/gcc-7.2.0_SunOS5.10_sparc64vii+.004/./prev-gcc/ -B/usr/local/gcc7/sparc64-sun-solaris2.10/bin/ -nostdinc++ -B/usr/local/build/gcc-7.2.0_SunOS5.10_sparc64vii+.004/prev-sparc64-sun-solaris2.10/libstdc++-v3/src/.libs -B/usr/local/build/gcc-7.2.0_SunOS5.10_sparc64vii+.004/prev-sparc64-sun-solaris2.10/libstdc++-v3/libsupc++/.libs -I/usr/local/build/gcc-7.2.0_SunOS5.10_sparc64vii+.004/prev-sparc64-sun-solaris2.10/libstdc++-v3/include/sparc64-sun-solaris2.10 -I/usr/local/build/gcc-7.2.0_SunOS5.10_sparc64vii+.004/prev-sparc64-sun-solaris2.10/libstdc++-v3/include -I/usr/local/build/gcc-7.2.0/libstdc++-v3/libsupc++ -L/usr/local/build/gcc-7.2.0_SunOS5.10_sparc64vii+.004/prev-sparc64-sun-solaris2.10/libstdc++-v3/src/.libs -L/usr/local/build/gcc-7.2.0_SunOS5.10_sparc64vii+.004/prev-sparc64-sun-solaris2.10/libstdc++-v3/libsupc++/.libs -fno-PIE -c -DIN_GCC_FRONTEND -g -O2 -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -I. -Igo -I../../gcc-7.2.0/gcc -I../../gcc-7.2.0/gcc/go -I../../gcc-7.2.0/gcc/../include -I../../gcc-7.2.0/gcc/../libcpp/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I../../gcc-7.2.0/gcc/../libdecnumber -I../../gcc-7.2.0/gcc/../libdecnumber/dpd -I../libdecnumber -I../../gcc-7.2.0/gcc/../libbacktrace -I/usr/local/include -I/usr/local/include -I/usr/local/gcc7/include -o go/parse.o -MT go/parse.o -MMD -MP -MF go/.deps/parse.TPo -I ../../gcc-7.2.0/gcc/go -I ../../gcc-7.2.0/gcc/go/gofrontend ../../gcc-7.2.0/gcc/go/gofrontend/parse.cc go/ast-dump.o go/escape.o go/export.o go/expressions.o go/go-backend.o go/go-diagnostics.o go/go-encode-id.o go/go-dump.o go/go-gcc.o go/go-gcc-diagnostics.o go/go-lang.o go/go-linemap.o go/go-optimize.o go/go-sha1.o go/go.o go/gogo.o go/import.o go/import-archive.o go/lex.o go/parse.o go/runtime.o go/statements.o go/types.o go/unsafe.o attribs.o libbackend.a main.o libcommon-target.a libcommon.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a libcommon.a ../libcpp/libcpp.a ../libbacktrace/.libs/libbacktrace.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -L/usr/local/lib -lisl -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -lmpc -lmpfr -lgmp -L./../zlib -lz
gcc/go/parse.o differs


Nothing of note there. Both stage2 and stage3 were exactly the same. Yet
there was only a single file delta in the entire pile and only with the
single object file gcc/go/parse.o so I may as well throw "go" over my
shoulder and try this again.  Hopefully someone takes an interest
otherwise I may end up filling this mail list with bootstrap failure
talking. I will also move along onto Linux on Power, i686, x86_64 and
perhaps a MIPS system just to see what happens.


Dennis Clarke



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux