Dear GCC'ers :
I would like to think I am making progress with boot strapping
GCC 5.4.0 but I seem to keep hitting issues in stage 2 and then later
in stage 3. I think any failure within stage 3 must be a bug. Otherwise
how could we have possibly gotten past stage 2 of bootstrap to ever
arrive in stage 3 ?
So I am seeing this in stage 3 :
.
.
.
/usr/xpg4/bin/ar cru libgobegin.a libgobegin_a-go-main.o
/usr/ccs/bin/ranlib libgobegin.a
/usr/local/build/gcc-5.4.0_SunOS5.10_sparcv9.001/./gcc/xgcc
-B/usr/local/build/gcc-5.4.0_SunOS5.10_sparcv9.001/./gcc/
-B/usr/local/gcc5/sparc64-sun-solaris2.10/bin/
-B/usr/local/gcc5/sparc64-sun-solaris2.10/lib/ -isystem
/usr/local/gcc5/sparc64-sun-solaris2.10/include -isystem
/usr/local/gcc5/sparc64-sun-solaris2.10/sys-include -DHAVE_CONFIG_H
-I. -I../../../gcc-5.4.0/libgo -I ../../../gcc-5.4.0/libgo/runtime
-I../../../gcc-5.4.0/libgo/../libffi/include -I../libffi/include
-pthread -fexceptions -fnon-call-exceptions -fplan9-extensions -Wall
-Wextra -Wwrite-strings -Wcast-qual -Werror -D_GNU_SOURCE
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -std=gnu99
-D_XOPEN_SOURCE=600 -D__EXTENSIONS__ -I
../../../gcc-5.4.0/libgo/../libgcc -I
../../../gcc-5.4.0/libgo/../libbacktrace -I ../../gcc/include -fPIC -g
-O2 -MT libgolibbegin_a-go-libmain.o -MD -MP -MF
.deps/libgolibbegin_a-go-libmain.Tpo -c -o libgolibbegin_a-go-libmain.o
`test -f 'runtime/go-libmain.c' || echo
'../../../gcc-5.4.0/libgo/'`runtime/go-libmain.c
mv -f .deps/libgolibbegin_a-go-libmain.Tpo
.deps/libgolibbegin_a-go-libmain.Po
rm -f libgolibbegin.a
/usr/xpg4/bin/ar cru libgolibbegin.a libgolibbegin_a-go-libmain.o
/usr/ccs/bin/ranlib libgolibbegin.a
../../../gcc-5.4.0/libgo/../install-sh -c -d .; files=`echo
../../../gcc-5.4.0/libgo/go/errors/errors.go | sed -e 's/[^
]*\.gox//g'`; /usr/local/bin/bash ./libtool --tag GO --mode=compile
/usr/local/build/gcc-5.4.0_SunOS5.10_sparcv9.001/./gcc/gccgo
-B/usr/local/build/gcc-5.4.0_SunOS5.10_sparcv9.001/./gcc/
-B/usr/local/gcc5/sparc64-sun-solaris2.10/bin/
-B/usr/local/gcc5/sparc64-sun-solaris2.10/lib/ -isystem
/usr/local/gcc5/sparc64-sun-solaris2.10/include -isystem
/usr/local/gcc5/sparc64-sun-solaris2.10/sys-include -O2 -g -I . -c
-fgo-pkgpath=`echo errors.lo | sed -e 's/.lo$//' -e 's/-go$//'` -o
errors.lo $files
libtool: compile:
/usr/local/build/gcc-5.4.0_SunOS5.10_sparcv9.001/./gcc/gccgo
-B/usr/local/build/gcc-5.4.0_SunOS5.10_sparcv9.001/./gcc/
-B/usr/local/gcc5/sparc64-sun-solaris2.10/bin/
-B/usr/local/gcc5/sparc64-sun-solaris2.10/lib/ -isystem
/usr/local/gcc5/sparc64-sun-solaris2.10/include -isystem
/usr/local/gcc5/sparc64-sun-solaris2.10/sys-include -O2 -g -I . -c
-fgo-pkgpath=errors ../../../gcc-5.4.0/libgo/go/errors/errors.go -fPIC
-o .libs/errors.o
libtool: compile:
/usr/local/build/gcc-5.4.0_SunOS5.10_sparcv9.001/./gcc/gccgo
-B/usr/local/build/gcc-5.4.0_SunOS5.10_sparcv9.001/./gcc/
-B/usr/local/gcc5/sparc64-sun-solaris2.10/bin/
-B/usr/local/gcc5/sparc64-sun-solaris2.10/lib/ -isystem
/usr/local/gcc5/sparc64-sun-solaris2.10/include -isystem
/usr/local/gcc5/sparc64-sun-solaris2.10/sys-include -O2 -g -I . -c
-fgo-pkgpath=errors ../../../gcc-5.4.0/libgo/go/errors/errors.go -o
errors.o >/dev/null 2>&1
f=`echo errors.lo | sed -e 's/.lo$/.o/'`; missing-objcopy -j .go_export
$f errors.gox.tmp && mv -f errors.gox.tmp errors.gox
/usr/local/bin/bash: missing-objcopy: command not found
gmake[4]: *** [errors.gox] Error 127
gmake[4]: Leaving directory
`/usr/local/build/gcc-5.4.0_SunOS5.10_sparcv9.001/sparc64-sun-solaris2.10/libgo'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory
`/usr/local/build/gcc-5.4.0_SunOS5.10_sparcv9.001/sparc64-sun-solaris2.10/libgo'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory
`/usr/local/build/gcc-5.4.0_SunOS5.10_sparcv9.001/sparc64-sun-solaris2.10/libgo'
gmake[1]: *** [all-target-libgo] Error 2
gmake[1]: Leaving directory
`/usr/local/build/gcc-5.4.0_SunOS5.10_sparcv9.001'
gmake: *** [all] Error 2
Very strange that there is some sort of objcopy being looked for? This
is not a linux server and there is no GNU binutils available. I don't
even know if the GNU binutils work at all on a Solaris 10 server.
So any hints from anyone on this ?
Dennis Clarke