g1.4/src/ $ ./make.bash + '[''!' -f run.bash ']' + case"$(uname)"in ++ uname + ld --version + grep 'gold.* 2\.20' + for se_mount in /selinux /sys/fs/selinux + '[' -d /selinux -a -f /selinux/booleans/allow_execstack -a -x /usr/sbin/selinuxenabled ']' + for se_mount in /selinux /sys/fs/selinux + '[' -d /sys/fs/selinux -a -f /sys/fs/selinux/booleans/allow_execstack -a -x /usr/sbin/selinuxenabled ']' ++ uname -s + '[' Darwin == GNU/kFreeBSD ']' + rm -f ./runtime/runtime_defs.go + echo'# Building C bootstrap tool.' # Building C bootstrap tool. + echo cmd/dist cmd/dist ++ cd .. ++ pwd + export GOROOT=/Users/ym/work/go1.4 + GOROOT=/Users/ym/work/go1.4 + GOROOT_FINAL=/Users/ym/work/go1.4 + DEFGOROOT='-DGOROOT_FINAL="/Users/ym/work/go1.4"' + mflag= + case"$GOHOSTARCH"in ++ uname + '[' Darwin == Darwin ']' + mflag=' -mmacosx-version-min=10.6' ++ type -t gcc ++ type -t clang + '[' -z '' -a -z file -a -n file ']' + gcc -mmacosx-version-min=10.6 -O2 -Wall -Werror -o cmd/dist/dist -Icmd/dist '-DGOROOT_FINAL="/Users/ym/work/go1.4"' cmd/dist/arm.c cmd/dist/buf.c cmd/dist/build.c cmd/dist/buildgc.c cmd/dist/buildgo.c cmd/dist/buildruntime.c cmd/dist/main.c cmd/dist/plan9.c cmd/dist/unix.c cmd/dist/windows.c ++ ./cmd/dist/dist env -p + eval'CC="clang"''CC_FOR_TARGET="clang"''GOROOT="/Users/ym/work/go1.4"''GOBIN="/Users/ym/me/go/test/bin"''GOARCH="amd64"''GOOS="darwin"''GOHOSTARCH="amd64"''GOHOSTOS="darwin"''GOTOOLDIR="/Users/ym/work/go1.4/pkg/tool/darwin_amd64"''GOCHAR="6"''PATH="/Users/ym/me/go/test/bin:/usr/local/opt/openssl@1.1/bin:/usr/local/opt/postgresql@12/bin:/Users/ym/work/go1.4/bin:/usr/local/Homebrew/bin:/usr/local/sbin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/go/bin:/usr/local/share/dotnet:~/.dotnet/tools:/Library/Apple/usr/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/Users/ym/mybin/apache-maven-3.6.0/bin:/Users/ym/me/go/test/bin:/Users/ym/.rvm/bin:/Users/ym/mybin/spark-2.4.3-bin-hadoop2.7/bin/"' ++ CC=clang ++ CC_FOR_TARGET=clang ++ GOROOT=/Users/ym/work/go1.4 ++ GOBIN=/Users/ym/me/go/test/bin ++ GOARCH=amd64 ++ GOOS=darwin ++ GOHOSTARCH=amd64 ++ GOHOSTOS=darwin ++ GOTOOLDIR=/Users/ym/work/go1.4/pkg/tool/darwin_amd64 ++ GOCHAR=6 ++ PATH='/Users/ym/me/go/test/bin:/usr/local/opt/openssl@1.1/bin:/usr/local/opt/postgresql@12/bin:/Users/ym/work/go1.4/bin:/usr/local/Homebrew/bin:/usr/local/sbin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/go/bin:/usr/local/share/dotnet:~/.dotnet/tools:/Library/Apple/usr/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/Users/ym/mybin/apache-maven-3.6.0/bin:/Users/ym/me/go/test/bin:/Users/ym/.rvm/bin:/Users/ym/mybin/spark-2.4.3-bin-hadoop2.7/bin/' + '[''' = true']' + echo
+ '[''' = --dist-tool ']' + echo'# Building compilers and Go bootstrap tool for host, darwin/amd64.' # Building compilers and Go bootstrap tool for host, darwin/amd64. + buildall=-a + '[''' = --no-clean ']' + ./cmd/dist/dist bootstrap -a -v lib9 libbio liblink cmd/cc cmd/gc cmd/6l /Users/ym/work/go1.4/src/cmd/6l/../ld/dwarf.c:1479:15: warning: implicit conversion from 'int' to 'char' changes value from 156 to -100 [-Wconstant-conversion] /Users/ym/work/go1.4/src/cmd/6l/../ld/dwarf.c:1763:21: warning: implicit conversion from 'int' to 'char' changes value from 144 to -112 [-Wconstant-conversion] /Users/ym/work/go1.4/src/cmd/6l/../ld/lib.h:168:13: note: expanded from macro 'cput' cmd/6a cmd/6c /Users/ym/work/go1.4/src/cmd/6c/txt.c:995:28: warning: shifting a negative signed value is undefined [-Wshift-negative-value] /Users/ym/work/go1.4/src/cmd/6c/txt.c:1045:28: warning: shifting a negative signed value is undefined [-Wshift-negative-value] cmd/6g /Users/ym/work/go1.4/src/cmd/6g/peep.c:771:13: warning: converting the enum constant to a boolean [-Wint-in-bool-context] runtime errors sync/atomic sync io unicode unicode/utf8 unicode/utf16 bytes math strings strconv bufio sort container/heap encoding/base64 syscall time os reflect fmt encoding encoding/json flag path/filepath path io/ioutil log regexp/syntax regexp go/token go/scanner go/ast go/parser os/exec os/signal net/url text/template/parse text/template go/doc go/build cmd/go + cp cmd/dist/dist /Users/ym/work/go1.4/pkg/tool/darwin_amd64/dist + /Users/ym/work/go1.4/pkg/tool/darwin_amd64/go_bootstrap clean -i std + echo