https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82688
Bug ID: 82688
Summary: Bootstrap comparison failure on Solaris 10/SPARC
Product: gcc
Version: 7.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: go
Assignee: ian at airs dot com
Reporter: bugzilla-gcc at thewrittenword dot com
CC: cmang at google dot com
Target Milestone: ---
I tried building gcc-7.2.0 on Solaris 10/SPARC and get the following:
gmake[2]: Entering directory `/opt/build/china/gcc-7.2.0/.obj'
gmake[3]: Entering directory `/opt/build/china/gcc-7.2.0/.obj'
rm -f stage_current
gmake[3]: Leaving directory `/opt/build/china/gcc-7.2.0/.obj'
Comparing stages 2 and 3
Bootstrap comparison failure!
gcc/go/parse.o differs
gmake[2]: *** [compare] Error 1
gmake[2]: Leaving directory `/opt/build/china/gcc-7.2.0/.obj'
gmake[1]: *** [stage3-bubble] Error 2
gmake[1]: Leaving directory `/opt/build/china/gcc-7.2.0/.obj'
gmake: *** [all] Error 2
My steps to build:
$ cd /opt/build/china
$ gtar Jxf gcc-7.2.0.tar.xz
$ cd gcc-7.2.0
$ mkdir .obj
$ cd .obj
$
PATH=/opt/TWWfsw/gcc7/bin:/opt/TWWfsw/gcc47/bin:/opt/TWWfsw/bison27/bin:/opt/TWWfsw/findutils44/bin:/opt/TWWfsw/gawk40/bin:/opt/TWWfsw/m414/bin:$PATH
CONFIG_SHELL=/opt/fsw/bin/bash bash /opt/build/china/gcc-7.2.0/configure
--enable-nls --with-included-gettext --enable-shared
--with-local-prefix=/tmp/gcc7 --with-gmp=/opt/TWWfsw/libgmp51
--with-mpc=/opt/TWWfsw/libmpc10 --with-mpfr=/opt/TWWfsw/libmpfr31
--with-isl=/opt/TWWfsw/libisl016 --enable-languages="ada,c,c++,fortran,go,lto"
--datarootdir=/tmp/gcc7/share --datadir=/tmp/gcc7/share --enable-threads
--with-gxx-include-dir=/tmp/gcc7/include/c++ --prefix=/tmp/gcc7
$
LD_LIBRARY_PATH=/opt/TWWfsw/gcc7/bin:/opt/TWWfsw/libgmp51/lib:/opt/TWWfsw/libmpc10/lib:/opt/TWWfsw/libmpfr31/lib:/opt/TWWfsw/libisl016/lib
PATH=/opt/TWWfsw/gcc47/bin:/opt/TWWfsw/bison27/bin:/opt/TWWfsw/findutils44/bin:/opt/TWWfsw/gawk40/bin:/opt/TWWfsw/m414/bin:$PATH
CONFIG_SHELL=/opt/fsw/bin/bash gmake
If I change --enable-languages to --enable-languages="ada,c,c++,fortran,lto",
excluding go, then it builds fine. Is Go supported on Solaris/SPARC?