Commit 42526e21 authored by Russ Cox's avatar Russ Cox

cmd/go: improvements

Print all the syntax errors.  Fixes issue 2811.

Change Windows binary removal strategy.
This should keep the temporary files closer to
the binaries they are for, which will make it
more likely that the rename is not cross-device
and also make it easier to clean them up.
Fixes #2604 (as much as we can).

The standard build does not use the go command
to install the go command anymore, so issue 2604
is less of a concern than it originally was.
(It uses the go_bootstrap command to install
the go command.)

Buffer 'go list' output.

R=golang-dev, bradfitz, r
CC=golang-dev
https://golang.org/cl/5604048
parent f7d473dd
...@@ -174,6 +174,36 @@ cd "$GOROOT"/src/pkg/math ...@@ -174,6 +174,36 @@ cd "$GOROOT"/src/pkg/math
"$GOROOT"/bin/go-tool/pack grc "$WORK"/math.a "$WORK"/math/_obj/_go_.8 "$WORK"/math/_obj/abs_386.8 "$WORK"/math/_obj/asin_386.8 "$WORK"/math/_obj/atan2_386.8 "$WORK"/math/_obj/atan_386.8 "$WORK"/math/_obj/dim_386.8 "$WORK"/math/_obj/exp2_386.8 "$WORK"/math/_obj/exp_386.8 "$WORK"/math/_obj/expm1_386.8 "$WORK"/math/_obj/floor_386.8 "$WORK"/math/_obj/frexp_386.8 "$WORK"/math/_obj/hypot_386.8 "$WORK"/math/_obj/ldexp_386.8 "$WORK"/math/_obj/log10_386.8 "$WORK"/math/_obj/log1p_386.8 "$WORK"/math/_obj/log_386.8 "$WORK"/math/_obj/mod_386.8 "$WORK"/math/_obj/modf_386.8 "$WORK"/math/_obj/remainder_386.8 "$WORK"/math/_obj/sin_386.8 "$WORK"/math/_obj/sincos_386.8 "$WORK"/math/_obj/sqrt_386.8 "$WORK"/math/_obj/tan_386.8 "$GOROOT"/bin/go-tool/pack grc "$WORK"/math.a "$WORK"/math/_obj/_go_.8 "$WORK"/math/_obj/abs_386.8 "$WORK"/math/_obj/asin_386.8 "$WORK"/math/_obj/atan2_386.8 "$WORK"/math/_obj/atan_386.8 "$WORK"/math/_obj/dim_386.8 "$WORK"/math/_obj/exp2_386.8 "$WORK"/math/_obj/exp_386.8 "$WORK"/math/_obj/expm1_386.8 "$WORK"/math/_obj/floor_386.8 "$WORK"/math/_obj/frexp_386.8 "$WORK"/math/_obj/hypot_386.8 "$WORK"/math/_obj/ldexp_386.8 "$WORK"/math/_obj/log10_386.8 "$WORK"/math/_obj/log1p_386.8 "$WORK"/math/_obj/log_386.8 "$WORK"/math/_obj/mod_386.8 "$WORK"/math/_obj/modf_386.8 "$WORK"/math/_obj/remainder_386.8 "$WORK"/math/_obj/sin_386.8 "$WORK"/math/_obj/sincos_386.8 "$WORK"/math/_obj/sqrt_386.8 "$WORK"/math/_obj/tan_386.8
cp "$WORK"/math.a "$GOROOT"/pkg/darwin_386/math.a cp "$WORK"/math.a "$GOROOT"/pkg/darwin_386/math.a
#
# strings
#
mkdir -p "$WORK"/strings/_obj/
cd "$GOROOT"/src/pkg/strings
"$GOROOT"/bin/go-tool/8g -o "$WORK"/strings/_obj/_go_.8 -p strings -I "$WORK" reader.go replace.go strings.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/strings.a "$WORK"/strings/_obj/_go_.8
cp "$WORK"/strings.a "$GOROOT"/pkg/darwin_386/strings.a
#
# strconv
#
mkdir -p "$WORK"/strconv/_obj/
cd "$GOROOT"/src/pkg/strconv
"$GOROOT"/bin/go-tool/8g -o "$WORK"/strconv/_obj/_go_.8 -p strconv -I "$WORK" atob.go atof.go atoi.go decimal.go extfloat.go ftoa.go itoa.go quote.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/strconv.a "$WORK"/strconv/_obj/_go_.8
cp "$WORK"/strconv.a "$GOROOT"/pkg/darwin_386/strconv.a
#
# bufio
#
mkdir -p "$WORK"/bufio/_obj/
cd "$GOROOT"/src/pkg/bufio
"$GOROOT"/bin/go-tool/8g -o "$WORK"/bufio/_obj/_go_.8 -p bufio -I "$WORK" bufio.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/bufio.a "$WORK"/bufio/_obj/_go_.8
cp "$WORK"/bufio.a "$GOROOT"/pkg/darwin_386/bufio.a
# #
# sort # sort
# #
...@@ -195,26 +225,6 @@ cd "$GOROOT"/src/pkg/container/heap ...@@ -195,26 +225,6 @@ cd "$GOROOT"/src/pkg/container/heap
mkdir -p "$GOROOT"/pkg/darwin_386/container/ mkdir -p "$GOROOT"/pkg/darwin_386/container/
cp "$WORK"/container/heap.a "$GOROOT"/pkg/darwin_386/container/heap.a cp "$WORK"/container/heap.a "$GOROOT"/pkg/darwin_386/container/heap.a
#
# strings
#
mkdir -p "$WORK"/strings/_obj/
cd "$GOROOT"/src/pkg/strings
"$GOROOT"/bin/go-tool/8g -o "$WORK"/strings/_obj/_go_.8 -p strings -I "$WORK" reader.go replace.go strings.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/strings.a "$WORK"/strings/_obj/_go_.8
cp "$WORK"/strings.a "$GOROOT"/pkg/darwin_386/strings.a
#
# strconv
#
mkdir -p "$WORK"/strconv/_obj/
cd "$GOROOT"/src/pkg/strconv
"$GOROOT"/bin/go-tool/8g -o "$WORK"/strconv/_obj/_go_.8 -p strconv -I "$WORK" atob.go atof.go atoi.go decimal.go extfloat.go ftoa.go itoa.go quote.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/strconv.a "$WORK"/strconv/_obj/_go_.8
cp "$WORK"/strconv.a "$GOROOT"/pkg/darwin_386/strconv.a
# #
# encoding/base64 # encoding/base64
# #
...@@ -307,16 +317,6 @@ cd "$GOROOT"/src/pkg/flag ...@@ -307,16 +317,6 @@ cd "$GOROOT"/src/pkg/flag
"$GOROOT"/bin/go-tool/pack grc "$WORK"/flag.a "$WORK"/flag/_obj/_go_.8 "$GOROOT"/bin/go-tool/pack grc "$WORK"/flag.a "$WORK"/flag/_obj/_go_.8
cp "$WORK"/flag.a "$GOROOT"/pkg/darwin_386/flag.a cp "$WORK"/flag.a "$GOROOT"/pkg/darwin_386/flag.a
#
# bufio
#
mkdir -p "$WORK"/bufio/_obj/
cd "$GOROOT"/src/pkg/bufio
"$GOROOT"/bin/go-tool/8g -o "$WORK"/bufio/_obj/_go_.8 -p bufio -I "$WORK" bufio.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/bufio.a "$WORK"/bufio/_obj/_go_.8
cp "$WORK"/bufio.a "$GOROOT"/pkg/darwin_386/bufio.a
# #
# encoding/gob # encoding/gob
# #
......
...@@ -173,6 +173,36 @@ cd "$GOROOT"/src/pkg/math ...@@ -173,6 +173,36 @@ cd "$GOROOT"/src/pkg/math
"$GOROOT"/bin/go-tool/pack grc "$WORK"/math.a "$WORK"/math/_obj/_go_.6 "$WORK"/math/_obj/abs_amd64.6 "$WORK"/math/_obj/asin_amd64.6 "$WORK"/math/_obj/atan2_amd64.6 "$WORK"/math/_obj/atan_amd64.6 "$WORK"/math/_obj/dim_amd64.6 "$WORK"/math/_obj/exp2_amd64.6 "$WORK"/math/_obj/exp_amd64.6 "$WORK"/math/_obj/expm1_amd64.6 "$WORK"/math/_obj/floor_amd64.6 "$WORK"/math/_obj/fltasm_amd64.6 "$WORK"/math/_obj/frexp_amd64.6 "$WORK"/math/_obj/hypot_amd64.6 "$WORK"/math/_obj/ldexp_amd64.6 "$WORK"/math/_obj/log10_amd64.6 "$WORK"/math/_obj/log1p_amd64.6 "$WORK"/math/_obj/log_amd64.6 "$WORK"/math/_obj/mod_amd64.6 "$WORK"/math/_obj/modf_amd64.6 "$WORK"/math/_obj/remainder_amd64.6 "$WORK"/math/_obj/sin_amd64.6 "$WORK"/math/_obj/sincos_amd64.6 "$WORK"/math/_obj/sqrt_amd64.6 "$WORK"/math/_obj/tan_amd64.6 "$GOROOT"/bin/go-tool/pack grc "$WORK"/math.a "$WORK"/math/_obj/_go_.6 "$WORK"/math/_obj/abs_amd64.6 "$WORK"/math/_obj/asin_amd64.6 "$WORK"/math/_obj/atan2_amd64.6 "$WORK"/math/_obj/atan_amd64.6 "$WORK"/math/_obj/dim_amd64.6 "$WORK"/math/_obj/exp2_amd64.6 "$WORK"/math/_obj/exp_amd64.6 "$WORK"/math/_obj/expm1_amd64.6 "$WORK"/math/_obj/floor_amd64.6 "$WORK"/math/_obj/fltasm_amd64.6 "$WORK"/math/_obj/frexp_amd64.6 "$WORK"/math/_obj/hypot_amd64.6 "$WORK"/math/_obj/ldexp_amd64.6 "$WORK"/math/_obj/log10_amd64.6 "$WORK"/math/_obj/log1p_amd64.6 "$WORK"/math/_obj/log_amd64.6 "$WORK"/math/_obj/mod_amd64.6 "$WORK"/math/_obj/modf_amd64.6 "$WORK"/math/_obj/remainder_amd64.6 "$WORK"/math/_obj/sin_amd64.6 "$WORK"/math/_obj/sincos_amd64.6 "$WORK"/math/_obj/sqrt_amd64.6 "$WORK"/math/_obj/tan_amd64.6
cp "$WORK"/math.a "$GOROOT"/pkg/darwin_amd64/math.a cp "$WORK"/math.a "$GOROOT"/pkg/darwin_amd64/math.a
#
# strings
#
mkdir -p "$WORK"/strings/_obj/
cd "$GOROOT"/src/pkg/strings
"$GOROOT"/bin/go-tool/6g -o "$WORK"/strings/_obj/_go_.6 -p strings -I "$WORK" reader.go replace.go strings.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/strings.a "$WORK"/strings/_obj/_go_.6
cp "$WORK"/strings.a "$GOROOT"/pkg/darwin_amd64/strings.a
#
# strconv
#
mkdir -p "$WORK"/strconv/_obj/
cd "$GOROOT"/src/pkg/strconv
"$GOROOT"/bin/go-tool/6g -o "$WORK"/strconv/_obj/_go_.6 -p strconv -I "$WORK" atob.go atof.go atoi.go decimal.go extfloat.go ftoa.go itoa.go quote.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/strconv.a "$WORK"/strconv/_obj/_go_.6
cp "$WORK"/strconv.a "$GOROOT"/pkg/darwin_amd64/strconv.a
#
# bufio
#
mkdir -p "$WORK"/bufio/_obj/
cd "$GOROOT"/src/pkg/bufio
"$GOROOT"/bin/go-tool/6g -o "$WORK"/bufio/_obj/_go_.6 -p bufio -I "$WORK" bufio.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/bufio.a "$WORK"/bufio/_obj/_go_.6
cp "$WORK"/bufio.a "$GOROOT"/pkg/darwin_amd64/bufio.a
# #
# sort # sort
# #
...@@ -194,26 +224,6 @@ cd "$GOROOT"/src/pkg/container/heap ...@@ -194,26 +224,6 @@ cd "$GOROOT"/src/pkg/container/heap
mkdir -p "$GOROOT"/pkg/darwin_amd64/container/ mkdir -p "$GOROOT"/pkg/darwin_amd64/container/
cp "$WORK"/container/heap.a "$GOROOT"/pkg/darwin_amd64/container/heap.a cp "$WORK"/container/heap.a "$GOROOT"/pkg/darwin_amd64/container/heap.a
#
# strings
#
mkdir -p "$WORK"/strings/_obj/
cd "$GOROOT"/src/pkg/strings
"$GOROOT"/bin/go-tool/6g -o "$WORK"/strings/_obj/_go_.6 -p strings -I "$WORK" reader.go replace.go strings.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/strings.a "$WORK"/strings/_obj/_go_.6
cp "$WORK"/strings.a "$GOROOT"/pkg/darwin_amd64/strings.a
#
# strconv
#
mkdir -p "$WORK"/strconv/_obj/
cd "$GOROOT"/src/pkg/strconv
"$GOROOT"/bin/go-tool/6g -o "$WORK"/strconv/_obj/_go_.6 -p strconv -I "$WORK" atob.go atof.go atoi.go decimal.go extfloat.go ftoa.go itoa.go quote.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/strconv.a "$WORK"/strconv/_obj/_go_.6
cp "$WORK"/strconv.a "$GOROOT"/pkg/darwin_amd64/strconv.a
# #
# encoding/base64 # encoding/base64
# #
...@@ -306,16 +316,6 @@ cd "$GOROOT"/src/pkg/flag ...@@ -306,16 +316,6 @@ cd "$GOROOT"/src/pkg/flag
"$GOROOT"/bin/go-tool/pack grc "$WORK"/flag.a "$WORK"/flag/_obj/_go_.6 "$GOROOT"/bin/go-tool/pack grc "$WORK"/flag.a "$WORK"/flag/_obj/_go_.6
cp "$WORK"/flag.a "$GOROOT"/pkg/darwin_amd64/flag.a cp "$WORK"/flag.a "$GOROOT"/pkg/darwin_amd64/flag.a
#
# bufio
#
mkdir -p "$WORK"/bufio/_obj/
cd "$GOROOT"/src/pkg/bufio
"$GOROOT"/bin/go-tool/6g -o "$WORK"/bufio/_obj/_go_.6 -p bufio -I "$WORK" bufio.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/bufio.a "$WORK"/bufio/_obj/_go_.6
cp "$WORK"/bufio.a "$GOROOT"/pkg/darwin_amd64/bufio.a
# #
# encoding/gob # encoding/gob
# #
......
...@@ -174,6 +174,36 @@ cd "$GOROOT"/src/pkg/math ...@@ -174,6 +174,36 @@ cd "$GOROOT"/src/pkg/math
"$GOROOT"/bin/go-tool/pack grc "$WORK"/math.a "$WORK"/math/_obj/_go_.8 "$WORK"/math/_obj/abs_386.8 "$WORK"/math/_obj/asin_386.8 "$WORK"/math/_obj/atan2_386.8 "$WORK"/math/_obj/atan_386.8 "$WORK"/math/_obj/dim_386.8 "$WORK"/math/_obj/exp2_386.8 "$WORK"/math/_obj/exp_386.8 "$WORK"/math/_obj/expm1_386.8 "$WORK"/math/_obj/floor_386.8 "$WORK"/math/_obj/frexp_386.8 "$WORK"/math/_obj/hypot_386.8 "$WORK"/math/_obj/ldexp_386.8 "$WORK"/math/_obj/log10_386.8 "$WORK"/math/_obj/log1p_386.8 "$WORK"/math/_obj/log_386.8 "$WORK"/math/_obj/mod_386.8 "$WORK"/math/_obj/modf_386.8 "$WORK"/math/_obj/remainder_386.8 "$WORK"/math/_obj/sin_386.8 "$WORK"/math/_obj/sincos_386.8 "$WORK"/math/_obj/sqrt_386.8 "$WORK"/math/_obj/tan_386.8 "$GOROOT"/bin/go-tool/pack grc "$WORK"/math.a "$WORK"/math/_obj/_go_.8 "$WORK"/math/_obj/abs_386.8 "$WORK"/math/_obj/asin_386.8 "$WORK"/math/_obj/atan2_386.8 "$WORK"/math/_obj/atan_386.8 "$WORK"/math/_obj/dim_386.8 "$WORK"/math/_obj/exp2_386.8 "$WORK"/math/_obj/exp_386.8 "$WORK"/math/_obj/expm1_386.8 "$WORK"/math/_obj/floor_386.8 "$WORK"/math/_obj/frexp_386.8 "$WORK"/math/_obj/hypot_386.8 "$WORK"/math/_obj/ldexp_386.8 "$WORK"/math/_obj/log10_386.8 "$WORK"/math/_obj/log1p_386.8 "$WORK"/math/_obj/log_386.8 "$WORK"/math/_obj/mod_386.8 "$WORK"/math/_obj/modf_386.8 "$WORK"/math/_obj/remainder_386.8 "$WORK"/math/_obj/sin_386.8 "$WORK"/math/_obj/sincos_386.8 "$WORK"/math/_obj/sqrt_386.8 "$WORK"/math/_obj/tan_386.8
cp "$WORK"/math.a "$GOROOT"/pkg/freebsd_386/math.a cp "$WORK"/math.a "$GOROOT"/pkg/freebsd_386/math.a
#
# strings
#
mkdir -p "$WORK"/strings/_obj/
cd "$GOROOT"/src/pkg/strings
"$GOROOT"/bin/go-tool/8g -o "$WORK"/strings/_obj/_go_.8 -p strings -I "$WORK" reader.go replace.go strings.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/strings.a "$WORK"/strings/_obj/_go_.8
cp "$WORK"/strings.a "$GOROOT"/pkg/freebsd_386/strings.a
#
# strconv
#
mkdir -p "$WORK"/strconv/_obj/
cd "$GOROOT"/src/pkg/strconv
"$GOROOT"/bin/go-tool/8g -o "$WORK"/strconv/_obj/_go_.8 -p strconv -I "$WORK" atob.go atof.go atoi.go decimal.go extfloat.go ftoa.go itoa.go quote.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/strconv.a "$WORK"/strconv/_obj/_go_.8
cp "$WORK"/strconv.a "$GOROOT"/pkg/freebsd_386/strconv.a
#
# bufio
#
mkdir -p "$WORK"/bufio/_obj/
cd "$GOROOT"/src/pkg/bufio
"$GOROOT"/bin/go-tool/8g -o "$WORK"/bufio/_obj/_go_.8 -p bufio -I "$WORK" bufio.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/bufio.a "$WORK"/bufio/_obj/_go_.8
cp "$WORK"/bufio.a "$GOROOT"/pkg/freebsd_386/bufio.a
# #
# sort # sort
# #
...@@ -195,26 +225,6 @@ cd "$GOROOT"/src/pkg/container/heap ...@@ -195,26 +225,6 @@ cd "$GOROOT"/src/pkg/container/heap
mkdir -p "$GOROOT"/pkg/freebsd_386/container/ mkdir -p "$GOROOT"/pkg/freebsd_386/container/
cp "$WORK"/container/heap.a "$GOROOT"/pkg/freebsd_386/container/heap.a cp "$WORK"/container/heap.a "$GOROOT"/pkg/freebsd_386/container/heap.a
#
# strings
#
mkdir -p "$WORK"/strings/_obj/
cd "$GOROOT"/src/pkg/strings
"$GOROOT"/bin/go-tool/8g -o "$WORK"/strings/_obj/_go_.8 -p strings -I "$WORK" reader.go replace.go strings.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/strings.a "$WORK"/strings/_obj/_go_.8
cp "$WORK"/strings.a "$GOROOT"/pkg/freebsd_386/strings.a
#
# strconv
#
mkdir -p "$WORK"/strconv/_obj/
cd "$GOROOT"/src/pkg/strconv
"$GOROOT"/bin/go-tool/8g -o "$WORK"/strconv/_obj/_go_.8 -p strconv -I "$WORK" atob.go atof.go atoi.go decimal.go extfloat.go ftoa.go itoa.go quote.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/strconv.a "$WORK"/strconv/_obj/_go_.8
cp "$WORK"/strconv.a "$GOROOT"/pkg/freebsd_386/strconv.a
# #
# encoding/base64 # encoding/base64
# #
...@@ -307,16 +317,6 @@ cd "$GOROOT"/src/pkg/flag ...@@ -307,16 +317,6 @@ cd "$GOROOT"/src/pkg/flag
"$GOROOT"/bin/go-tool/pack grc "$WORK"/flag.a "$WORK"/flag/_obj/_go_.8 "$GOROOT"/bin/go-tool/pack grc "$WORK"/flag.a "$WORK"/flag/_obj/_go_.8
cp "$WORK"/flag.a "$GOROOT"/pkg/freebsd_386/flag.a cp "$WORK"/flag.a "$GOROOT"/pkg/freebsd_386/flag.a
#
# bufio
#
mkdir -p "$WORK"/bufio/_obj/
cd "$GOROOT"/src/pkg/bufio
"$GOROOT"/bin/go-tool/8g -o "$WORK"/bufio/_obj/_go_.8 -p bufio -I "$WORK" bufio.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/bufio.a "$WORK"/bufio/_obj/_go_.8
cp "$WORK"/bufio.a "$GOROOT"/pkg/freebsd_386/bufio.a
# #
# encoding/gob # encoding/gob
# #
......
...@@ -173,6 +173,36 @@ cd "$GOROOT"/src/pkg/math ...@@ -173,6 +173,36 @@ cd "$GOROOT"/src/pkg/math
"$GOROOT"/bin/go-tool/pack grc "$WORK"/math.a "$WORK"/math/_obj/_go_.6 "$WORK"/math/_obj/abs_amd64.6 "$WORK"/math/_obj/asin_amd64.6 "$WORK"/math/_obj/atan2_amd64.6 "$WORK"/math/_obj/atan_amd64.6 "$WORK"/math/_obj/dim_amd64.6 "$WORK"/math/_obj/exp2_amd64.6 "$WORK"/math/_obj/exp_amd64.6 "$WORK"/math/_obj/expm1_amd64.6 "$WORK"/math/_obj/floor_amd64.6 "$WORK"/math/_obj/fltasm_amd64.6 "$WORK"/math/_obj/frexp_amd64.6 "$WORK"/math/_obj/hypot_amd64.6 "$WORK"/math/_obj/ldexp_amd64.6 "$WORK"/math/_obj/log10_amd64.6 "$WORK"/math/_obj/log1p_amd64.6 "$WORK"/math/_obj/log_amd64.6 "$WORK"/math/_obj/mod_amd64.6 "$WORK"/math/_obj/modf_amd64.6 "$WORK"/math/_obj/remainder_amd64.6 "$WORK"/math/_obj/sin_amd64.6 "$WORK"/math/_obj/sincos_amd64.6 "$WORK"/math/_obj/sqrt_amd64.6 "$WORK"/math/_obj/tan_amd64.6 "$GOROOT"/bin/go-tool/pack grc "$WORK"/math.a "$WORK"/math/_obj/_go_.6 "$WORK"/math/_obj/abs_amd64.6 "$WORK"/math/_obj/asin_amd64.6 "$WORK"/math/_obj/atan2_amd64.6 "$WORK"/math/_obj/atan_amd64.6 "$WORK"/math/_obj/dim_amd64.6 "$WORK"/math/_obj/exp2_amd64.6 "$WORK"/math/_obj/exp_amd64.6 "$WORK"/math/_obj/expm1_amd64.6 "$WORK"/math/_obj/floor_amd64.6 "$WORK"/math/_obj/fltasm_amd64.6 "$WORK"/math/_obj/frexp_amd64.6 "$WORK"/math/_obj/hypot_amd64.6 "$WORK"/math/_obj/ldexp_amd64.6 "$WORK"/math/_obj/log10_amd64.6 "$WORK"/math/_obj/log1p_amd64.6 "$WORK"/math/_obj/log_amd64.6 "$WORK"/math/_obj/mod_amd64.6 "$WORK"/math/_obj/modf_amd64.6 "$WORK"/math/_obj/remainder_amd64.6 "$WORK"/math/_obj/sin_amd64.6 "$WORK"/math/_obj/sincos_amd64.6 "$WORK"/math/_obj/sqrt_amd64.6 "$WORK"/math/_obj/tan_amd64.6
cp "$WORK"/math.a "$GOROOT"/pkg/freebsd_amd64/math.a cp "$WORK"/math.a "$GOROOT"/pkg/freebsd_amd64/math.a
#
# strings
#
mkdir -p "$WORK"/strings/_obj/
cd "$GOROOT"/src/pkg/strings
"$GOROOT"/bin/go-tool/6g -o "$WORK"/strings/_obj/_go_.6 -p strings -I "$WORK" reader.go replace.go strings.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/strings.a "$WORK"/strings/_obj/_go_.6
cp "$WORK"/strings.a "$GOROOT"/pkg/freebsd_amd64/strings.a
#
# strconv
#
mkdir -p "$WORK"/strconv/_obj/
cd "$GOROOT"/src/pkg/strconv
"$GOROOT"/bin/go-tool/6g -o "$WORK"/strconv/_obj/_go_.6 -p strconv -I "$WORK" atob.go atof.go atoi.go decimal.go extfloat.go ftoa.go itoa.go quote.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/strconv.a "$WORK"/strconv/_obj/_go_.6
cp "$WORK"/strconv.a "$GOROOT"/pkg/freebsd_amd64/strconv.a
#
# bufio
#
mkdir -p "$WORK"/bufio/_obj/
cd "$GOROOT"/src/pkg/bufio
"$GOROOT"/bin/go-tool/6g -o "$WORK"/bufio/_obj/_go_.6 -p bufio -I "$WORK" bufio.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/bufio.a "$WORK"/bufio/_obj/_go_.6
cp "$WORK"/bufio.a "$GOROOT"/pkg/freebsd_amd64/bufio.a
# #
# sort # sort
# #
...@@ -194,26 +224,6 @@ cd "$GOROOT"/src/pkg/container/heap ...@@ -194,26 +224,6 @@ cd "$GOROOT"/src/pkg/container/heap
mkdir -p "$GOROOT"/pkg/freebsd_amd64/container/ mkdir -p "$GOROOT"/pkg/freebsd_amd64/container/
cp "$WORK"/container/heap.a "$GOROOT"/pkg/freebsd_amd64/container/heap.a cp "$WORK"/container/heap.a "$GOROOT"/pkg/freebsd_amd64/container/heap.a
#
# strings
#
mkdir -p "$WORK"/strings/_obj/
cd "$GOROOT"/src/pkg/strings
"$GOROOT"/bin/go-tool/6g -o "$WORK"/strings/_obj/_go_.6 -p strings -I "$WORK" reader.go replace.go strings.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/strings.a "$WORK"/strings/_obj/_go_.6
cp "$WORK"/strings.a "$GOROOT"/pkg/freebsd_amd64/strings.a
#
# strconv
#
mkdir -p "$WORK"/strconv/_obj/
cd "$GOROOT"/src/pkg/strconv
"$GOROOT"/bin/go-tool/6g -o "$WORK"/strconv/_obj/_go_.6 -p strconv -I "$WORK" atob.go atof.go atoi.go decimal.go extfloat.go ftoa.go itoa.go quote.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/strconv.a "$WORK"/strconv/_obj/_go_.6
cp "$WORK"/strconv.a "$GOROOT"/pkg/freebsd_amd64/strconv.a
# #
# encoding/base64 # encoding/base64
# #
...@@ -306,16 +316,6 @@ cd "$GOROOT"/src/pkg/flag ...@@ -306,16 +316,6 @@ cd "$GOROOT"/src/pkg/flag
"$GOROOT"/bin/go-tool/pack grc "$WORK"/flag.a "$WORK"/flag/_obj/_go_.6 "$GOROOT"/bin/go-tool/pack grc "$WORK"/flag.a "$WORK"/flag/_obj/_go_.6
cp "$WORK"/flag.a "$GOROOT"/pkg/freebsd_amd64/flag.a cp "$WORK"/flag.a "$GOROOT"/pkg/freebsd_amd64/flag.a
#
# bufio
#
mkdir -p "$WORK"/bufio/_obj/
cd "$GOROOT"/src/pkg/bufio
"$GOROOT"/bin/go-tool/6g -o "$WORK"/bufio/_obj/_go_.6 -p bufio -I "$WORK" bufio.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/bufio.a "$WORK"/bufio/_obj/_go_.6
cp "$WORK"/bufio.a "$GOROOT"/pkg/freebsd_amd64/bufio.a
# #
# encoding/gob # encoding/gob
# #
......
...@@ -174,6 +174,36 @@ cd "$GOROOT"/src/pkg/math ...@@ -174,6 +174,36 @@ cd "$GOROOT"/src/pkg/math
"$GOROOT"/bin/go-tool/pack grc "$WORK"/math.a "$WORK"/math/_obj/_go_.8 "$WORK"/math/_obj/abs_386.8 "$WORK"/math/_obj/asin_386.8 "$WORK"/math/_obj/atan2_386.8 "$WORK"/math/_obj/atan_386.8 "$WORK"/math/_obj/dim_386.8 "$WORK"/math/_obj/exp2_386.8 "$WORK"/math/_obj/exp_386.8 "$WORK"/math/_obj/expm1_386.8 "$WORK"/math/_obj/floor_386.8 "$WORK"/math/_obj/frexp_386.8 "$WORK"/math/_obj/hypot_386.8 "$WORK"/math/_obj/ldexp_386.8 "$WORK"/math/_obj/log10_386.8 "$WORK"/math/_obj/log1p_386.8 "$WORK"/math/_obj/log_386.8 "$WORK"/math/_obj/mod_386.8 "$WORK"/math/_obj/modf_386.8 "$WORK"/math/_obj/remainder_386.8 "$WORK"/math/_obj/sin_386.8 "$WORK"/math/_obj/sincos_386.8 "$WORK"/math/_obj/sqrt_386.8 "$WORK"/math/_obj/tan_386.8 "$GOROOT"/bin/go-tool/pack grc "$WORK"/math.a "$WORK"/math/_obj/_go_.8 "$WORK"/math/_obj/abs_386.8 "$WORK"/math/_obj/asin_386.8 "$WORK"/math/_obj/atan2_386.8 "$WORK"/math/_obj/atan_386.8 "$WORK"/math/_obj/dim_386.8 "$WORK"/math/_obj/exp2_386.8 "$WORK"/math/_obj/exp_386.8 "$WORK"/math/_obj/expm1_386.8 "$WORK"/math/_obj/floor_386.8 "$WORK"/math/_obj/frexp_386.8 "$WORK"/math/_obj/hypot_386.8 "$WORK"/math/_obj/ldexp_386.8 "$WORK"/math/_obj/log10_386.8 "$WORK"/math/_obj/log1p_386.8 "$WORK"/math/_obj/log_386.8 "$WORK"/math/_obj/mod_386.8 "$WORK"/math/_obj/modf_386.8 "$WORK"/math/_obj/remainder_386.8 "$WORK"/math/_obj/sin_386.8 "$WORK"/math/_obj/sincos_386.8 "$WORK"/math/_obj/sqrt_386.8 "$WORK"/math/_obj/tan_386.8
cp "$WORK"/math.a "$GOROOT"/pkg/linux_386/math.a cp "$WORK"/math.a "$GOROOT"/pkg/linux_386/math.a
#
# strings
#
mkdir -p "$WORK"/strings/_obj/
cd "$GOROOT"/src/pkg/strings
"$GOROOT"/bin/go-tool/8g -o "$WORK"/strings/_obj/_go_.8 -p strings -I "$WORK" reader.go replace.go strings.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/strings.a "$WORK"/strings/_obj/_go_.8
cp "$WORK"/strings.a "$GOROOT"/pkg/linux_386/strings.a
#
# strconv
#
mkdir -p "$WORK"/strconv/_obj/
cd "$GOROOT"/src/pkg/strconv
"$GOROOT"/bin/go-tool/8g -o "$WORK"/strconv/_obj/_go_.8 -p strconv -I "$WORK" atob.go atof.go atoi.go decimal.go extfloat.go ftoa.go itoa.go quote.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/strconv.a "$WORK"/strconv/_obj/_go_.8
cp "$WORK"/strconv.a "$GOROOT"/pkg/linux_386/strconv.a
#
# bufio
#
mkdir -p "$WORK"/bufio/_obj/
cd "$GOROOT"/src/pkg/bufio
"$GOROOT"/bin/go-tool/8g -o "$WORK"/bufio/_obj/_go_.8 -p bufio -I "$WORK" bufio.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/bufio.a "$WORK"/bufio/_obj/_go_.8
cp "$WORK"/bufio.a "$GOROOT"/pkg/linux_386/bufio.a
# #
# sort # sort
# #
...@@ -195,26 +225,6 @@ cd "$GOROOT"/src/pkg/container/heap ...@@ -195,26 +225,6 @@ cd "$GOROOT"/src/pkg/container/heap
mkdir -p "$GOROOT"/pkg/linux_386/container/ mkdir -p "$GOROOT"/pkg/linux_386/container/
cp "$WORK"/container/heap.a "$GOROOT"/pkg/linux_386/container/heap.a cp "$WORK"/container/heap.a "$GOROOT"/pkg/linux_386/container/heap.a
#
# strings
#
mkdir -p "$WORK"/strings/_obj/
cd "$GOROOT"/src/pkg/strings
"$GOROOT"/bin/go-tool/8g -o "$WORK"/strings/_obj/_go_.8 -p strings -I "$WORK" reader.go replace.go strings.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/strings.a "$WORK"/strings/_obj/_go_.8
cp "$WORK"/strings.a "$GOROOT"/pkg/linux_386/strings.a
#
# strconv
#
mkdir -p "$WORK"/strconv/_obj/
cd "$GOROOT"/src/pkg/strconv
"$GOROOT"/bin/go-tool/8g -o "$WORK"/strconv/_obj/_go_.8 -p strconv -I "$WORK" atob.go atof.go atoi.go decimal.go extfloat.go ftoa.go itoa.go quote.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/strconv.a "$WORK"/strconv/_obj/_go_.8
cp "$WORK"/strconv.a "$GOROOT"/pkg/linux_386/strconv.a
# #
# encoding/base64 # encoding/base64
# #
...@@ -307,16 +317,6 @@ cd "$GOROOT"/src/pkg/flag ...@@ -307,16 +317,6 @@ cd "$GOROOT"/src/pkg/flag
"$GOROOT"/bin/go-tool/pack grc "$WORK"/flag.a "$WORK"/flag/_obj/_go_.8 "$GOROOT"/bin/go-tool/pack grc "$WORK"/flag.a "$WORK"/flag/_obj/_go_.8
cp "$WORK"/flag.a "$GOROOT"/pkg/linux_386/flag.a cp "$WORK"/flag.a "$GOROOT"/pkg/linux_386/flag.a
#
# bufio
#
mkdir -p "$WORK"/bufio/_obj/
cd "$GOROOT"/src/pkg/bufio
"$GOROOT"/bin/go-tool/8g -o "$WORK"/bufio/_obj/_go_.8 -p bufio -I "$WORK" bufio.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/bufio.a "$WORK"/bufio/_obj/_go_.8
cp "$WORK"/bufio.a "$GOROOT"/pkg/linux_386/bufio.a
# #
# encoding/gob # encoding/gob
# #
......
...@@ -173,6 +173,36 @@ cd "$GOROOT"/src/pkg/math ...@@ -173,6 +173,36 @@ cd "$GOROOT"/src/pkg/math
"$GOROOT"/bin/go-tool/pack grc "$WORK"/math.a "$WORK"/math/_obj/_go_.6 "$WORK"/math/_obj/abs_amd64.6 "$WORK"/math/_obj/asin_amd64.6 "$WORK"/math/_obj/atan2_amd64.6 "$WORK"/math/_obj/atan_amd64.6 "$WORK"/math/_obj/dim_amd64.6 "$WORK"/math/_obj/exp2_amd64.6 "$WORK"/math/_obj/exp_amd64.6 "$WORK"/math/_obj/expm1_amd64.6 "$WORK"/math/_obj/floor_amd64.6 "$WORK"/math/_obj/fltasm_amd64.6 "$WORK"/math/_obj/frexp_amd64.6 "$WORK"/math/_obj/hypot_amd64.6 "$WORK"/math/_obj/ldexp_amd64.6 "$WORK"/math/_obj/log10_amd64.6 "$WORK"/math/_obj/log1p_amd64.6 "$WORK"/math/_obj/log_amd64.6 "$WORK"/math/_obj/mod_amd64.6 "$WORK"/math/_obj/modf_amd64.6 "$WORK"/math/_obj/remainder_amd64.6 "$WORK"/math/_obj/sin_amd64.6 "$WORK"/math/_obj/sincos_amd64.6 "$WORK"/math/_obj/sqrt_amd64.6 "$WORK"/math/_obj/tan_amd64.6 "$GOROOT"/bin/go-tool/pack grc "$WORK"/math.a "$WORK"/math/_obj/_go_.6 "$WORK"/math/_obj/abs_amd64.6 "$WORK"/math/_obj/asin_amd64.6 "$WORK"/math/_obj/atan2_amd64.6 "$WORK"/math/_obj/atan_amd64.6 "$WORK"/math/_obj/dim_amd64.6 "$WORK"/math/_obj/exp2_amd64.6 "$WORK"/math/_obj/exp_amd64.6 "$WORK"/math/_obj/expm1_amd64.6 "$WORK"/math/_obj/floor_amd64.6 "$WORK"/math/_obj/fltasm_amd64.6 "$WORK"/math/_obj/frexp_amd64.6 "$WORK"/math/_obj/hypot_amd64.6 "$WORK"/math/_obj/ldexp_amd64.6 "$WORK"/math/_obj/log10_amd64.6 "$WORK"/math/_obj/log1p_amd64.6 "$WORK"/math/_obj/log_amd64.6 "$WORK"/math/_obj/mod_amd64.6 "$WORK"/math/_obj/modf_amd64.6 "$WORK"/math/_obj/remainder_amd64.6 "$WORK"/math/_obj/sin_amd64.6 "$WORK"/math/_obj/sincos_amd64.6 "$WORK"/math/_obj/sqrt_amd64.6 "$WORK"/math/_obj/tan_amd64.6
cp "$WORK"/math.a "$GOROOT"/pkg/linux_amd64/math.a cp "$WORK"/math.a "$GOROOT"/pkg/linux_amd64/math.a
#
# strings
#
mkdir -p "$WORK"/strings/_obj/
cd "$GOROOT"/src/pkg/strings
"$GOROOT"/bin/go-tool/6g -o "$WORK"/strings/_obj/_go_.6 -p strings -I "$WORK" reader.go replace.go strings.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/strings.a "$WORK"/strings/_obj/_go_.6
cp "$WORK"/strings.a "$GOROOT"/pkg/linux_amd64/strings.a
#
# strconv
#
mkdir -p "$WORK"/strconv/_obj/
cd "$GOROOT"/src/pkg/strconv
"$GOROOT"/bin/go-tool/6g -o "$WORK"/strconv/_obj/_go_.6 -p strconv -I "$WORK" atob.go atof.go atoi.go decimal.go extfloat.go ftoa.go itoa.go quote.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/strconv.a "$WORK"/strconv/_obj/_go_.6
cp "$WORK"/strconv.a "$GOROOT"/pkg/linux_amd64/strconv.a
#
# bufio
#
mkdir -p "$WORK"/bufio/_obj/
cd "$GOROOT"/src/pkg/bufio
"$GOROOT"/bin/go-tool/6g -o "$WORK"/bufio/_obj/_go_.6 -p bufio -I "$WORK" bufio.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/bufio.a "$WORK"/bufio/_obj/_go_.6
cp "$WORK"/bufio.a "$GOROOT"/pkg/linux_amd64/bufio.a
# #
# sort # sort
# #
...@@ -194,26 +224,6 @@ cd "$GOROOT"/src/pkg/container/heap ...@@ -194,26 +224,6 @@ cd "$GOROOT"/src/pkg/container/heap
mkdir -p "$GOROOT"/pkg/linux_amd64/container/ mkdir -p "$GOROOT"/pkg/linux_amd64/container/
cp "$WORK"/container/heap.a "$GOROOT"/pkg/linux_amd64/container/heap.a cp "$WORK"/container/heap.a "$GOROOT"/pkg/linux_amd64/container/heap.a
#
# strings
#
mkdir -p "$WORK"/strings/_obj/
cd "$GOROOT"/src/pkg/strings
"$GOROOT"/bin/go-tool/6g -o "$WORK"/strings/_obj/_go_.6 -p strings -I "$WORK" reader.go replace.go strings.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/strings.a "$WORK"/strings/_obj/_go_.6
cp "$WORK"/strings.a "$GOROOT"/pkg/linux_amd64/strings.a
#
# strconv
#
mkdir -p "$WORK"/strconv/_obj/
cd "$GOROOT"/src/pkg/strconv
"$GOROOT"/bin/go-tool/6g -o "$WORK"/strconv/_obj/_go_.6 -p strconv -I "$WORK" atob.go atof.go atoi.go decimal.go extfloat.go ftoa.go itoa.go quote.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/strconv.a "$WORK"/strconv/_obj/_go_.6
cp "$WORK"/strconv.a "$GOROOT"/pkg/linux_amd64/strconv.a
# #
# encoding/base64 # encoding/base64
# #
...@@ -306,16 +316,6 @@ cd "$GOROOT"/src/pkg/flag ...@@ -306,16 +316,6 @@ cd "$GOROOT"/src/pkg/flag
"$GOROOT"/bin/go-tool/pack grc "$WORK"/flag.a "$WORK"/flag/_obj/_go_.6 "$GOROOT"/bin/go-tool/pack grc "$WORK"/flag.a "$WORK"/flag/_obj/_go_.6
cp "$WORK"/flag.a "$GOROOT"/pkg/linux_amd64/flag.a cp "$WORK"/flag.a "$GOROOT"/pkg/linux_amd64/flag.a
#
# bufio
#
mkdir -p "$WORK"/bufio/_obj/
cd "$GOROOT"/src/pkg/bufio
"$GOROOT"/bin/go-tool/6g -o "$WORK"/bufio/_obj/_go_.6 -p bufio -I "$WORK" bufio.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/bufio.a "$WORK"/bufio/_obj/_go_.6
cp "$WORK"/bufio.a "$GOROOT"/pkg/linux_amd64/bufio.a
# #
# encoding/gob # encoding/gob
# #
......
...@@ -177,6 +177,36 @@ cd "$GOROOT"/src/pkg/math ...@@ -177,6 +177,36 @@ cd "$GOROOT"/src/pkg/math
"$GOROOT"/bin/go-tool/pack grc "$WORK"/math.a "$WORK"/math/_obj/_go_.5 "$WORK"/math/_obj/abs_arm.5 "$WORK"/math/_obj/asin_arm.5 "$WORK"/math/_obj/atan2_arm.5 "$WORK"/math/_obj/atan_arm.5 "$WORK"/math/_obj/dim_arm.5 "$WORK"/math/_obj/exp2_arm.5 "$WORK"/math/_obj/exp_arm.5 "$WORK"/math/_obj/expm1_arm.5 "$WORK"/math/_obj/floor_arm.5 "$WORK"/math/_obj/frexp_arm.5 "$WORK"/math/_obj/hypot_arm.5 "$WORK"/math/_obj/ldexp_arm.5 "$WORK"/math/_obj/log10_arm.5 "$WORK"/math/_obj/log1p_arm.5 "$WORK"/math/_obj/log_arm.5 "$WORK"/math/_obj/mod_arm.5 "$WORK"/math/_obj/modf_arm.5 "$WORK"/math/_obj/remainder_arm.5 "$WORK"/math/_obj/sin_arm.5 "$WORK"/math/_obj/sincos_arm.5 "$WORK"/math/_obj/sqrt_arm.5 "$WORK"/math/_obj/tan_arm.5 "$GOROOT"/bin/go-tool/pack grc "$WORK"/math.a "$WORK"/math/_obj/_go_.5 "$WORK"/math/_obj/abs_arm.5 "$WORK"/math/_obj/asin_arm.5 "$WORK"/math/_obj/atan2_arm.5 "$WORK"/math/_obj/atan_arm.5 "$WORK"/math/_obj/dim_arm.5 "$WORK"/math/_obj/exp2_arm.5 "$WORK"/math/_obj/exp_arm.5 "$WORK"/math/_obj/expm1_arm.5 "$WORK"/math/_obj/floor_arm.5 "$WORK"/math/_obj/frexp_arm.5 "$WORK"/math/_obj/hypot_arm.5 "$WORK"/math/_obj/ldexp_arm.5 "$WORK"/math/_obj/log10_arm.5 "$WORK"/math/_obj/log1p_arm.5 "$WORK"/math/_obj/log_arm.5 "$WORK"/math/_obj/mod_arm.5 "$WORK"/math/_obj/modf_arm.5 "$WORK"/math/_obj/remainder_arm.5 "$WORK"/math/_obj/sin_arm.5 "$WORK"/math/_obj/sincos_arm.5 "$WORK"/math/_obj/sqrt_arm.5 "$WORK"/math/_obj/tan_arm.5
cp "$WORK"/math.a "$GOROOT"/pkg/linux_arm/math.a cp "$WORK"/math.a "$GOROOT"/pkg/linux_arm/math.a
#
# strings
#
mkdir -p "$WORK"/strings/_obj/
cd "$GOROOT"/src/pkg/strings
"$GOROOT"/bin/go-tool/5g -o "$WORK"/strings/_obj/_go_.5 -p strings -I "$WORK" reader.go replace.go strings.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/strings.a "$WORK"/strings/_obj/_go_.5
cp "$WORK"/strings.a "$GOROOT"/pkg/linux_arm/strings.a
#
# strconv
#
mkdir -p "$WORK"/strconv/_obj/
cd "$GOROOT"/src/pkg/strconv
"$GOROOT"/bin/go-tool/5g -o "$WORK"/strconv/_obj/_go_.5 -p strconv -I "$WORK" atob.go atof.go atoi.go decimal.go extfloat.go ftoa.go itoa.go quote.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/strconv.a "$WORK"/strconv/_obj/_go_.5
cp "$WORK"/strconv.a "$GOROOT"/pkg/linux_arm/strconv.a
#
# bufio
#
mkdir -p "$WORK"/bufio/_obj/
cd "$GOROOT"/src/pkg/bufio
"$GOROOT"/bin/go-tool/5g -o "$WORK"/bufio/_obj/_go_.5 -p bufio -I "$WORK" bufio.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/bufio.a "$WORK"/bufio/_obj/_go_.5
cp "$WORK"/bufio.a "$GOROOT"/pkg/linux_arm/bufio.a
# #
# sort # sort
# #
...@@ -198,26 +228,6 @@ cd "$GOROOT"/src/pkg/container/heap ...@@ -198,26 +228,6 @@ cd "$GOROOT"/src/pkg/container/heap
mkdir -p "$GOROOT"/pkg/linux_arm/container/ mkdir -p "$GOROOT"/pkg/linux_arm/container/
cp "$WORK"/container/heap.a "$GOROOT"/pkg/linux_arm/container/heap.a cp "$WORK"/container/heap.a "$GOROOT"/pkg/linux_arm/container/heap.a
#
# strings
#
mkdir -p "$WORK"/strings/_obj/
cd "$GOROOT"/src/pkg/strings
"$GOROOT"/bin/go-tool/5g -o "$WORK"/strings/_obj/_go_.5 -p strings -I "$WORK" reader.go replace.go strings.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/strings.a "$WORK"/strings/_obj/_go_.5
cp "$WORK"/strings.a "$GOROOT"/pkg/linux_arm/strings.a
#
# strconv
#
mkdir -p "$WORK"/strconv/_obj/
cd "$GOROOT"/src/pkg/strconv
"$GOROOT"/bin/go-tool/5g -o "$WORK"/strconv/_obj/_go_.5 -p strconv -I "$WORK" atob.go atof.go atoi.go decimal.go extfloat.go ftoa.go itoa.go quote.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/strconv.a "$WORK"/strconv/_obj/_go_.5
cp "$WORK"/strconv.a "$GOROOT"/pkg/linux_arm/strconv.a
# #
# encoding/base64 # encoding/base64
# #
...@@ -310,16 +320,6 @@ cd "$GOROOT"/src/pkg/flag ...@@ -310,16 +320,6 @@ cd "$GOROOT"/src/pkg/flag
"$GOROOT"/bin/go-tool/pack grc "$WORK"/flag.a "$WORK"/flag/_obj/_go_.5 "$GOROOT"/bin/go-tool/pack grc "$WORK"/flag.a "$WORK"/flag/_obj/_go_.5
cp "$WORK"/flag.a "$GOROOT"/pkg/linux_arm/flag.a cp "$WORK"/flag.a "$GOROOT"/pkg/linux_arm/flag.a
#
# bufio
#
mkdir -p "$WORK"/bufio/_obj/
cd "$GOROOT"/src/pkg/bufio
"$GOROOT"/bin/go-tool/5g -o "$WORK"/bufio/_obj/_go_.5 -p bufio -I "$WORK" bufio.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/bufio.a "$WORK"/bufio/_obj/_go_.5
cp "$WORK"/bufio.a "$GOROOT"/pkg/linux_arm/bufio.a
# #
# encoding/gob # encoding/gob
# #
......
...@@ -174,6 +174,36 @@ cd "$GOROOT"/src/pkg/math ...@@ -174,6 +174,36 @@ cd "$GOROOT"/src/pkg/math
"$GOROOT"/bin/go-tool/pack grc "$WORK"/math.a "$WORK"/math/_obj/_go_.8 "$WORK"/math/_obj/abs_386.8 "$WORK"/math/_obj/asin_386.8 "$WORK"/math/_obj/atan2_386.8 "$WORK"/math/_obj/atan_386.8 "$WORK"/math/_obj/dim_386.8 "$WORK"/math/_obj/exp2_386.8 "$WORK"/math/_obj/exp_386.8 "$WORK"/math/_obj/expm1_386.8 "$WORK"/math/_obj/floor_386.8 "$WORK"/math/_obj/frexp_386.8 "$WORK"/math/_obj/hypot_386.8 "$WORK"/math/_obj/ldexp_386.8 "$WORK"/math/_obj/log10_386.8 "$WORK"/math/_obj/log1p_386.8 "$WORK"/math/_obj/log_386.8 "$WORK"/math/_obj/mod_386.8 "$WORK"/math/_obj/modf_386.8 "$WORK"/math/_obj/remainder_386.8 "$WORK"/math/_obj/sin_386.8 "$WORK"/math/_obj/sincos_386.8 "$WORK"/math/_obj/sqrt_386.8 "$WORK"/math/_obj/tan_386.8 "$GOROOT"/bin/go-tool/pack grc "$WORK"/math.a "$WORK"/math/_obj/_go_.8 "$WORK"/math/_obj/abs_386.8 "$WORK"/math/_obj/asin_386.8 "$WORK"/math/_obj/atan2_386.8 "$WORK"/math/_obj/atan_386.8 "$WORK"/math/_obj/dim_386.8 "$WORK"/math/_obj/exp2_386.8 "$WORK"/math/_obj/exp_386.8 "$WORK"/math/_obj/expm1_386.8 "$WORK"/math/_obj/floor_386.8 "$WORK"/math/_obj/frexp_386.8 "$WORK"/math/_obj/hypot_386.8 "$WORK"/math/_obj/ldexp_386.8 "$WORK"/math/_obj/log10_386.8 "$WORK"/math/_obj/log1p_386.8 "$WORK"/math/_obj/log_386.8 "$WORK"/math/_obj/mod_386.8 "$WORK"/math/_obj/modf_386.8 "$WORK"/math/_obj/remainder_386.8 "$WORK"/math/_obj/sin_386.8 "$WORK"/math/_obj/sincos_386.8 "$WORK"/math/_obj/sqrt_386.8 "$WORK"/math/_obj/tan_386.8
cp "$WORK"/math.a "$GOROOT"/pkg/netbsd_386/math.a cp "$WORK"/math.a "$GOROOT"/pkg/netbsd_386/math.a
#
# strings
#
mkdir -p "$WORK"/strings/_obj/
cd "$GOROOT"/src/pkg/strings
"$GOROOT"/bin/go-tool/8g -o "$WORK"/strings/_obj/_go_.8 -p strings -I "$WORK" reader.go replace.go strings.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/strings.a "$WORK"/strings/_obj/_go_.8
cp "$WORK"/strings.a "$GOROOT"/pkg/netbsd_386/strings.a
#
# strconv
#
mkdir -p "$WORK"/strconv/_obj/
cd "$GOROOT"/src/pkg/strconv
"$GOROOT"/bin/go-tool/8g -o "$WORK"/strconv/_obj/_go_.8 -p strconv -I "$WORK" atob.go atof.go atoi.go decimal.go extfloat.go ftoa.go itoa.go quote.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/strconv.a "$WORK"/strconv/_obj/_go_.8
cp "$WORK"/strconv.a "$GOROOT"/pkg/netbsd_386/strconv.a
#
# bufio
#
mkdir -p "$WORK"/bufio/_obj/
cd "$GOROOT"/src/pkg/bufio
"$GOROOT"/bin/go-tool/8g -o "$WORK"/bufio/_obj/_go_.8 -p bufio -I "$WORK" bufio.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/bufio.a "$WORK"/bufio/_obj/_go_.8
cp "$WORK"/bufio.a "$GOROOT"/pkg/netbsd_386/bufio.a
# #
# sort # sort
# #
...@@ -195,26 +225,6 @@ cd "$GOROOT"/src/pkg/container/heap ...@@ -195,26 +225,6 @@ cd "$GOROOT"/src/pkg/container/heap
mkdir -p "$GOROOT"/pkg/netbsd_386/container/ mkdir -p "$GOROOT"/pkg/netbsd_386/container/
cp "$WORK"/container/heap.a "$GOROOT"/pkg/netbsd_386/container/heap.a cp "$WORK"/container/heap.a "$GOROOT"/pkg/netbsd_386/container/heap.a
#
# strings
#
mkdir -p "$WORK"/strings/_obj/
cd "$GOROOT"/src/pkg/strings
"$GOROOT"/bin/go-tool/8g -o "$WORK"/strings/_obj/_go_.8 -p strings -I "$WORK" reader.go replace.go strings.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/strings.a "$WORK"/strings/_obj/_go_.8
cp "$WORK"/strings.a "$GOROOT"/pkg/netbsd_386/strings.a
#
# strconv
#
mkdir -p "$WORK"/strconv/_obj/
cd "$GOROOT"/src/pkg/strconv
"$GOROOT"/bin/go-tool/8g -o "$WORK"/strconv/_obj/_go_.8 -p strconv -I "$WORK" atob.go atof.go atoi.go decimal.go extfloat.go ftoa.go itoa.go quote.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/strconv.a "$WORK"/strconv/_obj/_go_.8
cp "$WORK"/strconv.a "$GOROOT"/pkg/netbsd_386/strconv.a
# #
# encoding/base64 # encoding/base64
# #
...@@ -307,16 +317,6 @@ cd "$GOROOT"/src/pkg/flag ...@@ -307,16 +317,6 @@ cd "$GOROOT"/src/pkg/flag
"$GOROOT"/bin/go-tool/pack grc "$WORK"/flag.a "$WORK"/flag/_obj/_go_.8 "$GOROOT"/bin/go-tool/pack grc "$WORK"/flag.a "$WORK"/flag/_obj/_go_.8
cp "$WORK"/flag.a "$GOROOT"/pkg/netbsd_386/flag.a cp "$WORK"/flag.a "$GOROOT"/pkg/netbsd_386/flag.a
#
# bufio
#
mkdir -p "$WORK"/bufio/_obj/
cd "$GOROOT"/src/pkg/bufio
"$GOROOT"/bin/go-tool/8g -o "$WORK"/bufio/_obj/_go_.8 -p bufio -I "$WORK" bufio.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/bufio.a "$WORK"/bufio/_obj/_go_.8
cp "$WORK"/bufio.a "$GOROOT"/pkg/netbsd_386/bufio.a
# #
# encoding/gob # encoding/gob
# #
......
...@@ -173,6 +173,36 @@ cd "$GOROOT"/src/pkg/math ...@@ -173,6 +173,36 @@ cd "$GOROOT"/src/pkg/math
"$GOROOT"/bin/go-tool/pack grc "$WORK"/math.a "$WORK"/math/_obj/_go_.6 "$WORK"/math/_obj/abs_amd64.6 "$WORK"/math/_obj/asin_amd64.6 "$WORK"/math/_obj/atan2_amd64.6 "$WORK"/math/_obj/atan_amd64.6 "$WORK"/math/_obj/dim_amd64.6 "$WORK"/math/_obj/exp2_amd64.6 "$WORK"/math/_obj/exp_amd64.6 "$WORK"/math/_obj/expm1_amd64.6 "$WORK"/math/_obj/floor_amd64.6 "$WORK"/math/_obj/fltasm_amd64.6 "$WORK"/math/_obj/frexp_amd64.6 "$WORK"/math/_obj/hypot_amd64.6 "$WORK"/math/_obj/ldexp_amd64.6 "$WORK"/math/_obj/log10_amd64.6 "$WORK"/math/_obj/log1p_amd64.6 "$WORK"/math/_obj/log_amd64.6 "$WORK"/math/_obj/mod_amd64.6 "$WORK"/math/_obj/modf_amd64.6 "$WORK"/math/_obj/remainder_amd64.6 "$WORK"/math/_obj/sin_amd64.6 "$WORK"/math/_obj/sincos_amd64.6 "$WORK"/math/_obj/sqrt_amd64.6 "$WORK"/math/_obj/tan_amd64.6 "$GOROOT"/bin/go-tool/pack grc "$WORK"/math.a "$WORK"/math/_obj/_go_.6 "$WORK"/math/_obj/abs_amd64.6 "$WORK"/math/_obj/asin_amd64.6 "$WORK"/math/_obj/atan2_amd64.6 "$WORK"/math/_obj/atan_amd64.6 "$WORK"/math/_obj/dim_amd64.6 "$WORK"/math/_obj/exp2_amd64.6 "$WORK"/math/_obj/exp_amd64.6 "$WORK"/math/_obj/expm1_amd64.6 "$WORK"/math/_obj/floor_amd64.6 "$WORK"/math/_obj/fltasm_amd64.6 "$WORK"/math/_obj/frexp_amd64.6 "$WORK"/math/_obj/hypot_amd64.6 "$WORK"/math/_obj/ldexp_amd64.6 "$WORK"/math/_obj/log10_amd64.6 "$WORK"/math/_obj/log1p_amd64.6 "$WORK"/math/_obj/log_amd64.6 "$WORK"/math/_obj/mod_amd64.6 "$WORK"/math/_obj/modf_amd64.6 "$WORK"/math/_obj/remainder_amd64.6 "$WORK"/math/_obj/sin_amd64.6 "$WORK"/math/_obj/sincos_amd64.6 "$WORK"/math/_obj/sqrt_amd64.6 "$WORK"/math/_obj/tan_amd64.6
cp "$WORK"/math.a "$GOROOT"/pkg/netbsd_amd64/math.a cp "$WORK"/math.a "$GOROOT"/pkg/netbsd_amd64/math.a
#
# strings
#
mkdir -p "$WORK"/strings/_obj/
cd "$GOROOT"/src/pkg/strings
"$GOROOT"/bin/go-tool/6g -o "$WORK"/strings/_obj/_go_.6 -p strings -I "$WORK" reader.go replace.go strings.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/strings.a "$WORK"/strings/_obj/_go_.6
cp "$WORK"/strings.a "$GOROOT"/pkg/netbsd_amd64/strings.a
#
# strconv
#
mkdir -p "$WORK"/strconv/_obj/
cd "$GOROOT"/src/pkg/strconv
"$GOROOT"/bin/go-tool/6g -o "$WORK"/strconv/_obj/_go_.6 -p strconv -I "$WORK" atob.go atof.go atoi.go decimal.go extfloat.go ftoa.go itoa.go quote.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/strconv.a "$WORK"/strconv/_obj/_go_.6
cp "$WORK"/strconv.a "$GOROOT"/pkg/netbsd_amd64/strconv.a
#
# bufio
#
mkdir -p "$WORK"/bufio/_obj/
cd "$GOROOT"/src/pkg/bufio
"$GOROOT"/bin/go-tool/6g -o "$WORK"/bufio/_obj/_go_.6 -p bufio -I "$WORK" bufio.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/bufio.a "$WORK"/bufio/_obj/_go_.6
cp "$WORK"/bufio.a "$GOROOT"/pkg/netbsd_amd64/bufio.a
# #
# sort # sort
# #
...@@ -194,26 +224,6 @@ cd "$GOROOT"/src/pkg/container/heap ...@@ -194,26 +224,6 @@ cd "$GOROOT"/src/pkg/container/heap
mkdir -p "$GOROOT"/pkg/netbsd_amd64/container/ mkdir -p "$GOROOT"/pkg/netbsd_amd64/container/
cp "$WORK"/container/heap.a "$GOROOT"/pkg/netbsd_amd64/container/heap.a cp "$WORK"/container/heap.a "$GOROOT"/pkg/netbsd_amd64/container/heap.a
#
# strings
#
mkdir -p "$WORK"/strings/_obj/
cd "$GOROOT"/src/pkg/strings
"$GOROOT"/bin/go-tool/6g -o "$WORK"/strings/_obj/_go_.6 -p strings -I "$WORK" reader.go replace.go strings.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/strings.a "$WORK"/strings/_obj/_go_.6
cp "$WORK"/strings.a "$GOROOT"/pkg/netbsd_amd64/strings.a
#
# strconv
#
mkdir -p "$WORK"/strconv/_obj/
cd "$GOROOT"/src/pkg/strconv
"$GOROOT"/bin/go-tool/6g -o "$WORK"/strconv/_obj/_go_.6 -p strconv -I "$WORK" atob.go atof.go atoi.go decimal.go extfloat.go ftoa.go itoa.go quote.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/strconv.a "$WORK"/strconv/_obj/_go_.6
cp "$WORK"/strconv.a "$GOROOT"/pkg/netbsd_amd64/strconv.a
# #
# encoding/base64 # encoding/base64
# #
...@@ -306,16 +316,6 @@ cd "$GOROOT"/src/pkg/flag ...@@ -306,16 +316,6 @@ cd "$GOROOT"/src/pkg/flag
"$GOROOT"/bin/go-tool/pack grc "$WORK"/flag.a "$WORK"/flag/_obj/_go_.6 "$GOROOT"/bin/go-tool/pack grc "$WORK"/flag.a "$WORK"/flag/_obj/_go_.6
cp "$WORK"/flag.a "$GOROOT"/pkg/netbsd_amd64/flag.a cp "$WORK"/flag.a "$GOROOT"/pkg/netbsd_amd64/flag.a
#
# bufio
#
mkdir -p "$WORK"/bufio/_obj/
cd "$GOROOT"/src/pkg/bufio
"$GOROOT"/bin/go-tool/6g -o "$WORK"/bufio/_obj/_go_.6 -p bufio -I "$WORK" bufio.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/bufio.a "$WORK"/bufio/_obj/_go_.6
cp "$WORK"/bufio.a "$GOROOT"/pkg/netbsd_amd64/bufio.a
# #
# encoding/gob # encoding/gob
# #
......
...@@ -174,6 +174,36 @@ cd "$GOROOT"/src/pkg/math ...@@ -174,6 +174,36 @@ cd "$GOROOT"/src/pkg/math
"$GOROOT"/bin/go-tool/pack grc "$WORK"/math.a "$WORK"/math/_obj/_go_.8 "$WORK"/math/_obj/abs_386.8 "$WORK"/math/_obj/asin_386.8 "$WORK"/math/_obj/atan2_386.8 "$WORK"/math/_obj/atan_386.8 "$WORK"/math/_obj/dim_386.8 "$WORK"/math/_obj/exp2_386.8 "$WORK"/math/_obj/exp_386.8 "$WORK"/math/_obj/expm1_386.8 "$WORK"/math/_obj/floor_386.8 "$WORK"/math/_obj/frexp_386.8 "$WORK"/math/_obj/hypot_386.8 "$WORK"/math/_obj/ldexp_386.8 "$WORK"/math/_obj/log10_386.8 "$WORK"/math/_obj/log1p_386.8 "$WORK"/math/_obj/log_386.8 "$WORK"/math/_obj/mod_386.8 "$WORK"/math/_obj/modf_386.8 "$WORK"/math/_obj/remainder_386.8 "$WORK"/math/_obj/sin_386.8 "$WORK"/math/_obj/sincos_386.8 "$WORK"/math/_obj/sqrt_386.8 "$WORK"/math/_obj/tan_386.8 "$GOROOT"/bin/go-tool/pack grc "$WORK"/math.a "$WORK"/math/_obj/_go_.8 "$WORK"/math/_obj/abs_386.8 "$WORK"/math/_obj/asin_386.8 "$WORK"/math/_obj/atan2_386.8 "$WORK"/math/_obj/atan_386.8 "$WORK"/math/_obj/dim_386.8 "$WORK"/math/_obj/exp2_386.8 "$WORK"/math/_obj/exp_386.8 "$WORK"/math/_obj/expm1_386.8 "$WORK"/math/_obj/floor_386.8 "$WORK"/math/_obj/frexp_386.8 "$WORK"/math/_obj/hypot_386.8 "$WORK"/math/_obj/ldexp_386.8 "$WORK"/math/_obj/log10_386.8 "$WORK"/math/_obj/log1p_386.8 "$WORK"/math/_obj/log_386.8 "$WORK"/math/_obj/mod_386.8 "$WORK"/math/_obj/modf_386.8 "$WORK"/math/_obj/remainder_386.8 "$WORK"/math/_obj/sin_386.8 "$WORK"/math/_obj/sincos_386.8 "$WORK"/math/_obj/sqrt_386.8 "$WORK"/math/_obj/tan_386.8
cp "$WORK"/math.a "$GOROOT"/pkg/openbsd_386/math.a cp "$WORK"/math.a "$GOROOT"/pkg/openbsd_386/math.a
#
# strings
#
mkdir -p "$WORK"/strings/_obj/
cd "$GOROOT"/src/pkg/strings
"$GOROOT"/bin/go-tool/8g -o "$WORK"/strings/_obj/_go_.8 -p strings -I "$WORK" reader.go replace.go strings.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/strings.a "$WORK"/strings/_obj/_go_.8
cp "$WORK"/strings.a "$GOROOT"/pkg/openbsd_386/strings.a
#
# strconv
#
mkdir -p "$WORK"/strconv/_obj/
cd "$GOROOT"/src/pkg/strconv
"$GOROOT"/bin/go-tool/8g -o "$WORK"/strconv/_obj/_go_.8 -p strconv -I "$WORK" atob.go atof.go atoi.go decimal.go extfloat.go ftoa.go itoa.go quote.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/strconv.a "$WORK"/strconv/_obj/_go_.8
cp "$WORK"/strconv.a "$GOROOT"/pkg/openbsd_386/strconv.a
#
# bufio
#
mkdir -p "$WORK"/bufio/_obj/
cd "$GOROOT"/src/pkg/bufio
"$GOROOT"/bin/go-tool/8g -o "$WORK"/bufio/_obj/_go_.8 -p bufio -I "$WORK" bufio.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/bufio.a "$WORK"/bufio/_obj/_go_.8
cp "$WORK"/bufio.a "$GOROOT"/pkg/openbsd_386/bufio.a
# #
# sort # sort
# #
...@@ -195,26 +225,6 @@ cd "$GOROOT"/src/pkg/container/heap ...@@ -195,26 +225,6 @@ cd "$GOROOT"/src/pkg/container/heap
mkdir -p "$GOROOT"/pkg/openbsd_386/container/ mkdir -p "$GOROOT"/pkg/openbsd_386/container/
cp "$WORK"/container/heap.a "$GOROOT"/pkg/openbsd_386/container/heap.a cp "$WORK"/container/heap.a "$GOROOT"/pkg/openbsd_386/container/heap.a
#
# strings
#
mkdir -p "$WORK"/strings/_obj/
cd "$GOROOT"/src/pkg/strings
"$GOROOT"/bin/go-tool/8g -o "$WORK"/strings/_obj/_go_.8 -p strings -I "$WORK" reader.go replace.go strings.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/strings.a "$WORK"/strings/_obj/_go_.8
cp "$WORK"/strings.a "$GOROOT"/pkg/openbsd_386/strings.a
#
# strconv
#
mkdir -p "$WORK"/strconv/_obj/
cd "$GOROOT"/src/pkg/strconv
"$GOROOT"/bin/go-tool/8g -o "$WORK"/strconv/_obj/_go_.8 -p strconv -I "$WORK" atob.go atof.go atoi.go decimal.go extfloat.go ftoa.go itoa.go quote.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/strconv.a "$WORK"/strconv/_obj/_go_.8
cp "$WORK"/strconv.a "$GOROOT"/pkg/openbsd_386/strconv.a
# #
# encoding/base64 # encoding/base64
# #
...@@ -307,16 +317,6 @@ cd "$GOROOT"/src/pkg/flag ...@@ -307,16 +317,6 @@ cd "$GOROOT"/src/pkg/flag
"$GOROOT"/bin/go-tool/pack grc "$WORK"/flag.a "$WORK"/flag/_obj/_go_.8 "$GOROOT"/bin/go-tool/pack grc "$WORK"/flag.a "$WORK"/flag/_obj/_go_.8
cp "$WORK"/flag.a "$GOROOT"/pkg/openbsd_386/flag.a cp "$WORK"/flag.a "$GOROOT"/pkg/openbsd_386/flag.a
#
# bufio
#
mkdir -p "$WORK"/bufio/_obj/
cd "$GOROOT"/src/pkg/bufio
"$GOROOT"/bin/go-tool/8g -o "$WORK"/bufio/_obj/_go_.8 -p bufio -I "$WORK" bufio.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/bufio.a "$WORK"/bufio/_obj/_go_.8
cp "$WORK"/bufio.a "$GOROOT"/pkg/openbsd_386/bufio.a
# #
# encoding/gob # encoding/gob
# #
......
...@@ -173,6 +173,36 @@ cd "$GOROOT"/src/pkg/math ...@@ -173,6 +173,36 @@ cd "$GOROOT"/src/pkg/math
"$GOROOT"/bin/go-tool/pack grc "$WORK"/math.a "$WORK"/math/_obj/_go_.6 "$WORK"/math/_obj/abs_amd64.6 "$WORK"/math/_obj/asin_amd64.6 "$WORK"/math/_obj/atan2_amd64.6 "$WORK"/math/_obj/atan_amd64.6 "$WORK"/math/_obj/dim_amd64.6 "$WORK"/math/_obj/exp2_amd64.6 "$WORK"/math/_obj/exp_amd64.6 "$WORK"/math/_obj/expm1_amd64.6 "$WORK"/math/_obj/floor_amd64.6 "$WORK"/math/_obj/fltasm_amd64.6 "$WORK"/math/_obj/frexp_amd64.6 "$WORK"/math/_obj/hypot_amd64.6 "$WORK"/math/_obj/ldexp_amd64.6 "$WORK"/math/_obj/log10_amd64.6 "$WORK"/math/_obj/log1p_amd64.6 "$WORK"/math/_obj/log_amd64.6 "$WORK"/math/_obj/mod_amd64.6 "$WORK"/math/_obj/modf_amd64.6 "$WORK"/math/_obj/remainder_amd64.6 "$WORK"/math/_obj/sin_amd64.6 "$WORK"/math/_obj/sincos_amd64.6 "$WORK"/math/_obj/sqrt_amd64.6 "$WORK"/math/_obj/tan_amd64.6 "$GOROOT"/bin/go-tool/pack grc "$WORK"/math.a "$WORK"/math/_obj/_go_.6 "$WORK"/math/_obj/abs_amd64.6 "$WORK"/math/_obj/asin_amd64.6 "$WORK"/math/_obj/atan2_amd64.6 "$WORK"/math/_obj/atan_amd64.6 "$WORK"/math/_obj/dim_amd64.6 "$WORK"/math/_obj/exp2_amd64.6 "$WORK"/math/_obj/exp_amd64.6 "$WORK"/math/_obj/expm1_amd64.6 "$WORK"/math/_obj/floor_amd64.6 "$WORK"/math/_obj/fltasm_amd64.6 "$WORK"/math/_obj/frexp_amd64.6 "$WORK"/math/_obj/hypot_amd64.6 "$WORK"/math/_obj/ldexp_amd64.6 "$WORK"/math/_obj/log10_amd64.6 "$WORK"/math/_obj/log1p_amd64.6 "$WORK"/math/_obj/log_amd64.6 "$WORK"/math/_obj/mod_amd64.6 "$WORK"/math/_obj/modf_amd64.6 "$WORK"/math/_obj/remainder_amd64.6 "$WORK"/math/_obj/sin_amd64.6 "$WORK"/math/_obj/sincos_amd64.6 "$WORK"/math/_obj/sqrt_amd64.6 "$WORK"/math/_obj/tan_amd64.6
cp "$WORK"/math.a "$GOROOT"/pkg/openbsd_amd64/math.a cp "$WORK"/math.a "$GOROOT"/pkg/openbsd_amd64/math.a
#
# strings
#
mkdir -p "$WORK"/strings/_obj/
cd "$GOROOT"/src/pkg/strings
"$GOROOT"/bin/go-tool/6g -o "$WORK"/strings/_obj/_go_.6 -p strings -I "$WORK" reader.go replace.go strings.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/strings.a "$WORK"/strings/_obj/_go_.6
cp "$WORK"/strings.a "$GOROOT"/pkg/openbsd_amd64/strings.a
#
# strconv
#
mkdir -p "$WORK"/strconv/_obj/
cd "$GOROOT"/src/pkg/strconv
"$GOROOT"/bin/go-tool/6g -o "$WORK"/strconv/_obj/_go_.6 -p strconv -I "$WORK" atob.go atof.go atoi.go decimal.go extfloat.go ftoa.go itoa.go quote.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/strconv.a "$WORK"/strconv/_obj/_go_.6
cp "$WORK"/strconv.a "$GOROOT"/pkg/openbsd_amd64/strconv.a
#
# bufio
#
mkdir -p "$WORK"/bufio/_obj/
cd "$GOROOT"/src/pkg/bufio
"$GOROOT"/bin/go-tool/6g -o "$WORK"/bufio/_obj/_go_.6 -p bufio -I "$WORK" bufio.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/bufio.a "$WORK"/bufio/_obj/_go_.6
cp "$WORK"/bufio.a "$GOROOT"/pkg/openbsd_amd64/bufio.a
# #
# sort # sort
# #
...@@ -194,26 +224,6 @@ cd "$GOROOT"/src/pkg/container/heap ...@@ -194,26 +224,6 @@ cd "$GOROOT"/src/pkg/container/heap
mkdir -p "$GOROOT"/pkg/openbsd_amd64/container/ mkdir -p "$GOROOT"/pkg/openbsd_amd64/container/
cp "$WORK"/container/heap.a "$GOROOT"/pkg/openbsd_amd64/container/heap.a cp "$WORK"/container/heap.a "$GOROOT"/pkg/openbsd_amd64/container/heap.a
#
# strings
#
mkdir -p "$WORK"/strings/_obj/
cd "$GOROOT"/src/pkg/strings
"$GOROOT"/bin/go-tool/6g -o "$WORK"/strings/_obj/_go_.6 -p strings -I "$WORK" reader.go replace.go strings.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/strings.a "$WORK"/strings/_obj/_go_.6
cp "$WORK"/strings.a "$GOROOT"/pkg/openbsd_amd64/strings.a
#
# strconv
#
mkdir -p "$WORK"/strconv/_obj/
cd "$GOROOT"/src/pkg/strconv
"$GOROOT"/bin/go-tool/6g -o "$WORK"/strconv/_obj/_go_.6 -p strconv -I "$WORK" atob.go atof.go atoi.go decimal.go extfloat.go ftoa.go itoa.go quote.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/strconv.a "$WORK"/strconv/_obj/_go_.6
cp "$WORK"/strconv.a "$GOROOT"/pkg/openbsd_amd64/strconv.a
# #
# encoding/base64 # encoding/base64
# #
...@@ -306,16 +316,6 @@ cd "$GOROOT"/src/pkg/flag ...@@ -306,16 +316,6 @@ cd "$GOROOT"/src/pkg/flag
"$GOROOT"/bin/go-tool/pack grc "$WORK"/flag.a "$WORK"/flag/_obj/_go_.6 "$GOROOT"/bin/go-tool/pack grc "$WORK"/flag.a "$WORK"/flag/_obj/_go_.6
cp "$WORK"/flag.a "$GOROOT"/pkg/openbsd_amd64/flag.a cp "$WORK"/flag.a "$GOROOT"/pkg/openbsd_amd64/flag.a
#
# bufio
#
mkdir -p "$WORK"/bufio/_obj/
cd "$GOROOT"/src/pkg/bufio
"$GOROOT"/bin/go-tool/6g -o "$WORK"/bufio/_obj/_go_.6 -p bufio -I "$WORK" bufio.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/bufio.a "$WORK"/bufio/_obj/_go_.6
cp "$WORK"/bufio.a "$GOROOT"/pkg/openbsd_amd64/bufio.a
# #
# encoding/gob # encoding/gob
# #
......
...@@ -174,6 +174,36 @@ cd "$GOROOT"/src/pkg/math ...@@ -174,6 +174,36 @@ cd "$GOROOT"/src/pkg/math
"$GOROOT"/bin/go-tool/pack grc "$WORK"/math.a "$WORK"/math/_obj/_go_.8 "$WORK"/math/_obj/abs_386.8 "$WORK"/math/_obj/asin_386.8 "$WORK"/math/_obj/atan2_386.8 "$WORK"/math/_obj/atan_386.8 "$WORK"/math/_obj/dim_386.8 "$WORK"/math/_obj/exp2_386.8 "$WORK"/math/_obj/exp_386.8 "$WORK"/math/_obj/expm1_386.8 "$WORK"/math/_obj/floor_386.8 "$WORK"/math/_obj/frexp_386.8 "$WORK"/math/_obj/hypot_386.8 "$WORK"/math/_obj/ldexp_386.8 "$WORK"/math/_obj/log10_386.8 "$WORK"/math/_obj/log1p_386.8 "$WORK"/math/_obj/log_386.8 "$WORK"/math/_obj/mod_386.8 "$WORK"/math/_obj/modf_386.8 "$WORK"/math/_obj/remainder_386.8 "$WORK"/math/_obj/sin_386.8 "$WORK"/math/_obj/sincos_386.8 "$WORK"/math/_obj/sqrt_386.8 "$WORK"/math/_obj/tan_386.8 "$GOROOT"/bin/go-tool/pack grc "$WORK"/math.a "$WORK"/math/_obj/_go_.8 "$WORK"/math/_obj/abs_386.8 "$WORK"/math/_obj/asin_386.8 "$WORK"/math/_obj/atan2_386.8 "$WORK"/math/_obj/atan_386.8 "$WORK"/math/_obj/dim_386.8 "$WORK"/math/_obj/exp2_386.8 "$WORK"/math/_obj/exp_386.8 "$WORK"/math/_obj/expm1_386.8 "$WORK"/math/_obj/floor_386.8 "$WORK"/math/_obj/frexp_386.8 "$WORK"/math/_obj/hypot_386.8 "$WORK"/math/_obj/ldexp_386.8 "$WORK"/math/_obj/log10_386.8 "$WORK"/math/_obj/log1p_386.8 "$WORK"/math/_obj/log_386.8 "$WORK"/math/_obj/mod_386.8 "$WORK"/math/_obj/modf_386.8 "$WORK"/math/_obj/remainder_386.8 "$WORK"/math/_obj/sin_386.8 "$WORK"/math/_obj/sincos_386.8 "$WORK"/math/_obj/sqrt_386.8 "$WORK"/math/_obj/tan_386.8
cp "$WORK"/math.a "$GOROOT"/pkg/plan9_386/math.a cp "$WORK"/math.a "$GOROOT"/pkg/plan9_386/math.a
#
# strings
#
mkdir -p "$WORK"/strings/_obj/
cd "$GOROOT"/src/pkg/strings
"$GOROOT"/bin/go-tool/8g -o "$WORK"/strings/_obj/_go_.8 -p strings -I "$WORK" reader.go replace.go strings.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/strings.a "$WORK"/strings/_obj/_go_.8
cp "$WORK"/strings.a "$GOROOT"/pkg/plan9_386/strings.a
#
# strconv
#
mkdir -p "$WORK"/strconv/_obj/
cd "$GOROOT"/src/pkg/strconv
"$GOROOT"/bin/go-tool/8g -o "$WORK"/strconv/_obj/_go_.8 -p strconv -I "$WORK" atob.go atof.go atoi.go decimal.go extfloat.go ftoa.go itoa.go quote.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/strconv.a "$WORK"/strconv/_obj/_go_.8
cp "$WORK"/strconv.a "$GOROOT"/pkg/plan9_386/strconv.a
#
# bufio
#
mkdir -p "$WORK"/bufio/_obj/
cd "$GOROOT"/src/pkg/bufio
"$GOROOT"/bin/go-tool/8g -o "$WORK"/bufio/_obj/_go_.8 -p bufio -I "$WORK" bufio.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/bufio.a "$WORK"/bufio/_obj/_go_.8
cp "$WORK"/bufio.a "$GOROOT"/pkg/plan9_386/bufio.a
# #
# sort # sort
# #
...@@ -195,26 +225,6 @@ cd "$GOROOT"/src/pkg/container/heap ...@@ -195,26 +225,6 @@ cd "$GOROOT"/src/pkg/container/heap
mkdir -p "$GOROOT"/pkg/plan9_386/container/ mkdir -p "$GOROOT"/pkg/plan9_386/container/
cp "$WORK"/container/heap.a "$GOROOT"/pkg/plan9_386/container/heap.a cp "$WORK"/container/heap.a "$GOROOT"/pkg/plan9_386/container/heap.a
#
# strings
#
mkdir -p "$WORK"/strings/_obj/
cd "$GOROOT"/src/pkg/strings
"$GOROOT"/bin/go-tool/8g -o "$WORK"/strings/_obj/_go_.8 -p strings -I "$WORK" reader.go replace.go strings.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/strings.a "$WORK"/strings/_obj/_go_.8
cp "$WORK"/strings.a "$GOROOT"/pkg/plan9_386/strings.a
#
# strconv
#
mkdir -p "$WORK"/strconv/_obj/
cd "$GOROOT"/src/pkg/strconv
"$GOROOT"/bin/go-tool/8g -o "$WORK"/strconv/_obj/_go_.8 -p strconv -I "$WORK" atob.go atof.go atoi.go decimal.go extfloat.go ftoa.go itoa.go quote.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/strconv.a "$WORK"/strconv/_obj/_go_.8
cp "$WORK"/strconv.a "$GOROOT"/pkg/plan9_386/strconv.a
# #
# encoding/base64 # encoding/base64
# #
...@@ -307,16 +317,6 @@ cd "$GOROOT"/src/pkg/flag ...@@ -307,16 +317,6 @@ cd "$GOROOT"/src/pkg/flag
"$GOROOT"/bin/go-tool/pack grc "$WORK"/flag.a "$WORK"/flag/_obj/_go_.8 "$GOROOT"/bin/go-tool/pack grc "$WORK"/flag.a "$WORK"/flag/_obj/_go_.8
cp "$WORK"/flag.a "$GOROOT"/pkg/plan9_386/flag.a cp "$WORK"/flag.a "$GOROOT"/pkg/plan9_386/flag.a
#
# bufio
#
mkdir -p "$WORK"/bufio/_obj/
cd "$GOROOT"/src/pkg/bufio
"$GOROOT"/bin/go-tool/8g -o "$WORK"/bufio/_obj/_go_.8 -p bufio -I "$WORK" bufio.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/bufio.a "$WORK"/bufio/_obj/_go_.8
cp "$WORK"/bufio.a "$GOROOT"/pkg/plan9_386/bufio.a
# #
# encoding/gob # encoding/gob
# #
......
...@@ -176,6 +176,36 @@ cd "$GOROOT"/src/pkg/math ...@@ -176,6 +176,36 @@ cd "$GOROOT"/src/pkg/math
"$GOROOT"/bin/go-tool/pack grc "$WORK"/math.a "$WORK"/math/_obj/_go_.8 "$WORK"/math/_obj/abs_386.8 "$WORK"/math/_obj/asin_386.8 "$WORK"/math/_obj/atan2_386.8 "$WORK"/math/_obj/atan_386.8 "$WORK"/math/_obj/dim_386.8 "$WORK"/math/_obj/exp2_386.8 "$WORK"/math/_obj/exp_386.8 "$WORK"/math/_obj/expm1_386.8 "$WORK"/math/_obj/floor_386.8 "$WORK"/math/_obj/frexp_386.8 "$WORK"/math/_obj/hypot_386.8 "$WORK"/math/_obj/ldexp_386.8 "$WORK"/math/_obj/log10_386.8 "$WORK"/math/_obj/log1p_386.8 "$WORK"/math/_obj/log_386.8 "$WORK"/math/_obj/mod_386.8 "$WORK"/math/_obj/modf_386.8 "$WORK"/math/_obj/remainder_386.8 "$WORK"/math/_obj/sin_386.8 "$WORK"/math/_obj/sincos_386.8 "$WORK"/math/_obj/sqrt_386.8 "$WORK"/math/_obj/tan_386.8 "$GOROOT"/bin/go-tool/pack grc "$WORK"/math.a "$WORK"/math/_obj/_go_.8 "$WORK"/math/_obj/abs_386.8 "$WORK"/math/_obj/asin_386.8 "$WORK"/math/_obj/atan2_386.8 "$WORK"/math/_obj/atan_386.8 "$WORK"/math/_obj/dim_386.8 "$WORK"/math/_obj/exp2_386.8 "$WORK"/math/_obj/exp_386.8 "$WORK"/math/_obj/expm1_386.8 "$WORK"/math/_obj/floor_386.8 "$WORK"/math/_obj/frexp_386.8 "$WORK"/math/_obj/hypot_386.8 "$WORK"/math/_obj/ldexp_386.8 "$WORK"/math/_obj/log10_386.8 "$WORK"/math/_obj/log1p_386.8 "$WORK"/math/_obj/log_386.8 "$WORK"/math/_obj/mod_386.8 "$WORK"/math/_obj/modf_386.8 "$WORK"/math/_obj/remainder_386.8 "$WORK"/math/_obj/sin_386.8 "$WORK"/math/_obj/sincos_386.8 "$WORK"/math/_obj/sqrt_386.8 "$WORK"/math/_obj/tan_386.8
cp "$WORK"/math.a "$GOROOT"/pkg/windows_386/math.a cp "$WORK"/math.a "$GOROOT"/pkg/windows_386/math.a
#
# strings
#
mkdir -p "$WORK"/strings/_obj/
cd "$GOROOT"/src/pkg/strings
"$GOROOT"/bin/go-tool/8g -o "$WORK"/strings/_obj/_go_.8 -p strings -I "$WORK" reader.go replace.go strings.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/strings.a "$WORK"/strings/_obj/_go_.8
cp "$WORK"/strings.a "$GOROOT"/pkg/windows_386/strings.a
#
# strconv
#
mkdir -p "$WORK"/strconv/_obj/
cd "$GOROOT"/src/pkg/strconv
"$GOROOT"/bin/go-tool/8g -o "$WORK"/strconv/_obj/_go_.8 -p strconv -I "$WORK" atob.go atof.go atoi.go decimal.go extfloat.go ftoa.go itoa.go quote.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/strconv.a "$WORK"/strconv/_obj/_go_.8
cp "$WORK"/strconv.a "$GOROOT"/pkg/windows_386/strconv.a
#
# bufio
#
mkdir -p "$WORK"/bufio/_obj/
cd "$GOROOT"/src/pkg/bufio
"$GOROOT"/bin/go-tool/8g -o "$WORK"/bufio/_obj/_go_.8 -p bufio -I "$WORK" bufio.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/bufio.a "$WORK"/bufio/_obj/_go_.8
cp "$WORK"/bufio.a "$GOROOT"/pkg/windows_386/bufio.a
# #
# sort # sort
# #
...@@ -197,26 +227,6 @@ cd "$GOROOT"/src/pkg/container/heap ...@@ -197,26 +227,6 @@ cd "$GOROOT"/src/pkg/container/heap
mkdir -p "$GOROOT"/pkg/windows_386/container/ mkdir -p "$GOROOT"/pkg/windows_386/container/
cp "$WORK"/container/heap.a "$GOROOT"/pkg/windows_386/container/heap.a cp "$WORK"/container/heap.a "$GOROOT"/pkg/windows_386/container/heap.a
#
# strings
#
mkdir -p "$WORK"/strings/_obj/
cd "$GOROOT"/src/pkg/strings
"$GOROOT"/bin/go-tool/8g -o "$WORK"/strings/_obj/_go_.8 -p strings -I "$WORK" reader.go replace.go strings.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/strings.a "$WORK"/strings/_obj/_go_.8
cp "$WORK"/strings.a "$GOROOT"/pkg/windows_386/strings.a
#
# strconv
#
mkdir -p "$WORK"/strconv/_obj/
cd "$GOROOT"/src/pkg/strconv
"$GOROOT"/bin/go-tool/8g -o "$WORK"/strconv/_obj/_go_.8 -p strconv -I "$WORK" atob.go atof.go atoi.go decimal.go extfloat.go ftoa.go itoa.go quote.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/strconv.a "$WORK"/strconv/_obj/_go_.8
cp "$WORK"/strconv.a "$GOROOT"/pkg/windows_386/strconv.a
# #
# encoding/base64 # encoding/base64
# #
...@@ -309,16 +319,6 @@ cd "$GOROOT"/src/pkg/flag ...@@ -309,16 +319,6 @@ cd "$GOROOT"/src/pkg/flag
"$GOROOT"/bin/go-tool/pack grc "$WORK"/flag.a "$WORK"/flag/_obj/_go_.8 "$GOROOT"/bin/go-tool/pack grc "$WORK"/flag.a "$WORK"/flag/_obj/_go_.8
cp "$WORK"/flag.a "$GOROOT"/pkg/windows_386/flag.a cp "$WORK"/flag.a "$GOROOT"/pkg/windows_386/flag.a
#
# bufio
#
mkdir -p "$WORK"/bufio/_obj/
cd "$GOROOT"/src/pkg/bufio
"$GOROOT"/bin/go-tool/8g -o "$WORK"/bufio/_obj/_go_.8 -p bufio -I "$WORK" bufio.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/bufio.a "$WORK"/bufio/_obj/_go_.8
cp "$WORK"/bufio.a "$GOROOT"/pkg/windows_386/bufio.a
# #
# encoding/gob # encoding/gob
# #
......
...@@ -175,6 +175,36 @@ cd "$GOROOT"/src/pkg/math ...@@ -175,6 +175,36 @@ cd "$GOROOT"/src/pkg/math
"$GOROOT"/bin/go-tool/pack grc "$WORK"/math.a "$WORK"/math/_obj/_go_.6 "$WORK"/math/_obj/abs_amd64.6 "$WORK"/math/_obj/asin_amd64.6 "$WORK"/math/_obj/atan2_amd64.6 "$WORK"/math/_obj/atan_amd64.6 "$WORK"/math/_obj/dim_amd64.6 "$WORK"/math/_obj/exp2_amd64.6 "$WORK"/math/_obj/exp_amd64.6 "$WORK"/math/_obj/expm1_amd64.6 "$WORK"/math/_obj/floor_amd64.6 "$WORK"/math/_obj/fltasm_amd64.6 "$WORK"/math/_obj/frexp_amd64.6 "$WORK"/math/_obj/hypot_amd64.6 "$WORK"/math/_obj/ldexp_amd64.6 "$WORK"/math/_obj/log10_amd64.6 "$WORK"/math/_obj/log1p_amd64.6 "$WORK"/math/_obj/log_amd64.6 "$WORK"/math/_obj/mod_amd64.6 "$WORK"/math/_obj/modf_amd64.6 "$WORK"/math/_obj/remainder_amd64.6 "$WORK"/math/_obj/sin_amd64.6 "$WORK"/math/_obj/sincos_amd64.6 "$WORK"/math/_obj/sqrt_amd64.6 "$WORK"/math/_obj/tan_amd64.6 "$GOROOT"/bin/go-tool/pack grc "$WORK"/math.a "$WORK"/math/_obj/_go_.6 "$WORK"/math/_obj/abs_amd64.6 "$WORK"/math/_obj/asin_amd64.6 "$WORK"/math/_obj/atan2_amd64.6 "$WORK"/math/_obj/atan_amd64.6 "$WORK"/math/_obj/dim_amd64.6 "$WORK"/math/_obj/exp2_amd64.6 "$WORK"/math/_obj/exp_amd64.6 "$WORK"/math/_obj/expm1_amd64.6 "$WORK"/math/_obj/floor_amd64.6 "$WORK"/math/_obj/fltasm_amd64.6 "$WORK"/math/_obj/frexp_amd64.6 "$WORK"/math/_obj/hypot_amd64.6 "$WORK"/math/_obj/ldexp_amd64.6 "$WORK"/math/_obj/log10_amd64.6 "$WORK"/math/_obj/log1p_amd64.6 "$WORK"/math/_obj/log_amd64.6 "$WORK"/math/_obj/mod_amd64.6 "$WORK"/math/_obj/modf_amd64.6 "$WORK"/math/_obj/remainder_amd64.6 "$WORK"/math/_obj/sin_amd64.6 "$WORK"/math/_obj/sincos_amd64.6 "$WORK"/math/_obj/sqrt_amd64.6 "$WORK"/math/_obj/tan_amd64.6
cp "$WORK"/math.a "$GOROOT"/pkg/windows_amd64/math.a cp "$WORK"/math.a "$GOROOT"/pkg/windows_amd64/math.a
#
# strings
#
mkdir -p "$WORK"/strings/_obj/
cd "$GOROOT"/src/pkg/strings
"$GOROOT"/bin/go-tool/6g -o "$WORK"/strings/_obj/_go_.6 -p strings -I "$WORK" reader.go replace.go strings.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/strings.a "$WORK"/strings/_obj/_go_.6
cp "$WORK"/strings.a "$GOROOT"/pkg/windows_amd64/strings.a
#
# strconv
#
mkdir -p "$WORK"/strconv/_obj/
cd "$GOROOT"/src/pkg/strconv
"$GOROOT"/bin/go-tool/6g -o "$WORK"/strconv/_obj/_go_.6 -p strconv -I "$WORK" atob.go atof.go atoi.go decimal.go extfloat.go ftoa.go itoa.go quote.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/strconv.a "$WORK"/strconv/_obj/_go_.6
cp "$WORK"/strconv.a "$GOROOT"/pkg/windows_amd64/strconv.a
#
# bufio
#
mkdir -p "$WORK"/bufio/_obj/
cd "$GOROOT"/src/pkg/bufio
"$GOROOT"/bin/go-tool/6g -o "$WORK"/bufio/_obj/_go_.6 -p bufio -I "$WORK" bufio.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/bufio.a "$WORK"/bufio/_obj/_go_.6
cp "$WORK"/bufio.a "$GOROOT"/pkg/windows_amd64/bufio.a
# #
# sort # sort
# #
...@@ -196,26 +226,6 @@ cd "$GOROOT"/src/pkg/container/heap ...@@ -196,26 +226,6 @@ cd "$GOROOT"/src/pkg/container/heap
mkdir -p "$GOROOT"/pkg/windows_amd64/container/ mkdir -p "$GOROOT"/pkg/windows_amd64/container/
cp "$WORK"/container/heap.a "$GOROOT"/pkg/windows_amd64/container/heap.a cp "$WORK"/container/heap.a "$GOROOT"/pkg/windows_amd64/container/heap.a
#
# strings
#
mkdir -p "$WORK"/strings/_obj/
cd "$GOROOT"/src/pkg/strings
"$GOROOT"/bin/go-tool/6g -o "$WORK"/strings/_obj/_go_.6 -p strings -I "$WORK" reader.go replace.go strings.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/strings.a "$WORK"/strings/_obj/_go_.6
cp "$WORK"/strings.a "$GOROOT"/pkg/windows_amd64/strings.a
#
# strconv
#
mkdir -p "$WORK"/strconv/_obj/
cd "$GOROOT"/src/pkg/strconv
"$GOROOT"/bin/go-tool/6g -o "$WORK"/strconv/_obj/_go_.6 -p strconv -I "$WORK" atob.go atof.go atoi.go decimal.go extfloat.go ftoa.go itoa.go quote.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/strconv.a "$WORK"/strconv/_obj/_go_.6
cp "$WORK"/strconv.a "$GOROOT"/pkg/windows_amd64/strconv.a
# #
# encoding/base64 # encoding/base64
# #
...@@ -308,16 +318,6 @@ cd "$GOROOT"/src/pkg/flag ...@@ -308,16 +318,6 @@ cd "$GOROOT"/src/pkg/flag
"$GOROOT"/bin/go-tool/pack grc "$WORK"/flag.a "$WORK"/flag/_obj/_go_.6 "$GOROOT"/bin/go-tool/pack grc "$WORK"/flag.a "$WORK"/flag/_obj/_go_.6
cp "$WORK"/flag.a "$GOROOT"/pkg/windows_amd64/flag.a cp "$WORK"/flag.a "$GOROOT"/pkg/windows_amd64/flag.a
#
# bufio
#
mkdir -p "$WORK"/bufio/_obj/
cd "$GOROOT"/src/pkg/bufio
"$GOROOT"/bin/go-tool/6g -o "$WORK"/bufio/_obj/_go_.6 -p bufio -I "$WORK" bufio.go
"$GOROOT"/bin/go-tool/pack grc "$WORK"/bufio.a "$WORK"/bufio/_obj/_go_.6
cp "$WORK"/bufio.a "$GOROOT"/pkg/windows_amd64/bufio.a
# #
# encoding/gob # encoding/gob
# #
......
...@@ -700,33 +700,6 @@ func (b *builder) includeArgs(flag string, all []*action) []string { ...@@ -700,33 +700,6 @@ func (b *builder) includeArgs(flag string, all []*action) []string {
return inc return inc
} }
// removeByRenaming removes file name by moving it to a tmp
// directory and deleting the target if possible.
func removeByRenaming(name string) error {
f, err := ioutil.TempFile("", "")
if err != nil {
return err
}
tmpname := f.Name()
f.Close()
err = os.Remove(tmpname)
if err != nil {
return err
}
err = os.Rename(name, tmpname)
if err != nil {
// assume name file does not exists,
// otherwise later code will fail.
return nil
}
err = os.Remove(tmpname)
if err != nil {
// TODO(brainman): file is locked and can't be deleted.
// We need to come up with a better way of doing it.
}
return nil
}
// copyFile is like 'cp src dst'. // copyFile is like 'cp src dst'.
func (b *builder) copyFile(dst, src string, perm os.FileMode) error { func (b *builder) copyFile(dst, src string, perm os.FileMode) error {
if buildN || buildX { if buildN || buildX {
...@@ -741,23 +714,30 @@ func (b *builder) copyFile(dst, src string, perm os.FileMode) error { ...@@ -741,23 +714,30 @@ func (b *builder) copyFile(dst, src string, perm os.FileMode) error {
return err return err
} }
defer sf.Close() defer sf.Close()
// On Windows, remove lingering ~ file from last attempt.
if toolIsWindows {
if _, err := os.Stat(dst + "~"); err == nil {
os.Remove(dst + "~")
}
}
os.Remove(dst) os.Remove(dst)
df, err := os.OpenFile(dst, os.O_WRONLY|os.O_CREATE|os.O_TRUNC, perm) df, err := os.OpenFile(dst, os.O_WRONLY|os.O_CREATE|os.O_TRUNC, perm)
if err != nil { if err != nil && toolIsWindows {
if !toolIsWindows { // Windows does not allow deletion of a binary file
return err // while it is executing. Try to move it out of the way.
} // If the remove fails, which is likely, we'll try again the
// Windows does not allow to replace binary file // next time we do an install of this binary.
// while it is executing. We will cheat. if err := os.Rename(dst, dst+"~"); err == nil {
err = removeByRenaming(dst) os.Remove(dst + "~")
if err != nil {
return err
} }
df, err = os.OpenFile(dst, os.O_WRONLY|os.O_CREATE|os.O_TRUNC, perm) df, err = os.OpenFile(dst, os.O_WRONLY|os.O_CREATE|os.O_TRUNC, perm)
if err != nil {
return err
}
} }
if err != nil {
return err
}
_, err = io.Copy(df, sf) _, err = io.Copy(df, sf)
df.Close() df.Close()
if err != nil { if err != nil {
......
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
package main package main
import ( import (
"bufio"
"encoding/json" "encoding/json"
"os" "os"
"text/template" "text/template"
...@@ -81,15 +82,19 @@ var listJson = cmdList.Flag.Bool("json", false, "") ...@@ -81,15 +82,19 @@ var listJson = cmdList.Flag.Bool("json", false, "")
var nl = []byte{'\n'} var nl = []byte{'\n'}
func runList(cmd *Command, args []string) { func runList(cmd *Command, args []string) {
out := bufio.NewWriter(os.Stdout)
defer out.Flush()
var do func(*Package) var do func(*Package)
if *listJson { if *listJson {
do = func(p *Package) { do = func(p *Package) {
b, err := json.MarshalIndent(p, "", "\t") b, err := json.MarshalIndent(p, "", "\t")
if err != nil { if err != nil {
out.Flush()
fatalf("%s", err) fatalf("%s", err)
} }
os.Stdout.Write(b) out.Write(b)
os.Stdout.Write(nl) out.Write(nl)
} }
} else { } else {
tmpl, err := template.New("main").Parse(*listFmt + "\n") tmpl, err := template.New("main").Parse(*listFmt + "\n")
...@@ -97,7 +102,8 @@ func runList(cmd *Command, args []string) { ...@@ -97,7 +102,8 @@ func runList(cmd *Command, args []string) {
fatalf("%s", err) fatalf("%s", err)
} }
do = func(p *Package) { do = func(p *Package) {
if err := tmpl.Execute(os.Stdout, p); err != nil { if err := tmpl.Execute(out, p); err != nil {
out.Flush()
fatalf("%s", err) fatalf("%s", err)
} }
} }
......
...@@ -5,7 +5,9 @@ ...@@ -5,7 +5,9 @@
package main package main
import ( import (
"bytes"
"go/build" "go/build"
"go/scanner"
"os" "os"
"path/filepath" "path/filepath"
"sort" "sort"
...@@ -259,6 +261,20 @@ func scanPackage(ctxt *build.Context, t *build.Tree, arg, importPath, dir string ...@@ -259,6 +261,20 @@ func scanPackage(ctxt *build.Context, t *build.Tree, arg, importPath, dir string
ImportStack: stk.copy(), ImportStack: stk.copy(),
Err: err.Error(), Err: err.Error(),
} }
// Look for parser errors.
if err, ok := err.(scanner.ErrorList); ok {
// Prepare error with \n before each message.
// When printed in something like context: %v
// this will put the leading file positions each on
// its own line. It will also show all the errors
// instead of just the first, as err.Error does.
var buf bytes.Buffer
for _, e := range err {
buf.WriteString("\n")
buf.WriteString(e.Error())
}
p.Error.Err = buf.String()
}
p.Incomplete = true p.Incomplete = true
return p return p
} }
......
...@@ -75,7 +75,7 @@ func runTool(cmd *Command, args []string) { ...@@ -75,7 +75,7 @@ func runTool(cmd *Command, args []string) {
} }
err := toolCmd.Run() err := toolCmd.Run()
if err != nil { if err != nil {
fmt.Fprintf(os.Stderr, "go tool %s failed: %s\n", tool, err) fmt.Fprintf(os.Stderr, "go tool %s: %s\n", toolName, err)
setExitStatus(1) setExitStatus(1)
return return
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment