1
0
mirror of https://github.com/golang/go synced 2024-11-25 01:17:56 -07:00

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
This commit is contained in:
Russ Cox 2012-01-31 18:44:20 -05:00
parent f7d473dd33
commit 42526e2187
18 changed files with 468 additions and 466 deletions

View File

@ -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
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
#
@ -195,26 +225,6 @@ cd "$GOROOT"/src/pkg/container/heap
mkdir -p "$GOROOT"/pkg/darwin_386/container/
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
#
@ -307,16 +317,6 @@ cd "$GOROOT"/src/pkg/flag
"$GOROOT"/bin/go-tool/pack grc "$WORK"/flag.a "$WORK"/flag/_obj/_go_.8
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
#

View File

@ -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
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
#
@ -194,26 +224,6 @@ cd "$GOROOT"/src/pkg/container/heap
mkdir -p "$GOROOT"/pkg/darwin_amd64/container/
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
#
@ -306,16 +316,6 @@ cd "$GOROOT"/src/pkg/flag
"$GOROOT"/bin/go-tool/pack grc "$WORK"/flag.a "$WORK"/flag/_obj/_go_.6
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
#

View File

@ -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
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
#
@ -195,26 +225,6 @@ cd "$GOROOT"/src/pkg/container/heap
mkdir -p "$GOROOT"/pkg/freebsd_386/container/
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
#
@ -307,16 +317,6 @@ cd "$GOROOT"/src/pkg/flag
"$GOROOT"/bin/go-tool/pack grc "$WORK"/flag.a "$WORK"/flag/_obj/_go_.8
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
#

View File

@ -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
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
#
@ -194,26 +224,6 @@ cd "$GOROOT"/src/pkg/container/heap
mkdir -p "$GOROOT"/pkg/freebsd_amd64/container/
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
#
@ -306,16 +316,6 @@ cd "$GOROOT"/src/pkg/flag
"$GOROOT"/bin/go-tool/pack grc "$WORK"/flag.a "$WORK"/flag/_obj/_go_.6
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
#

View File

@ -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
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
#
@ -195,26 +225,6 @@ cd "$GOROOT"/src/pkg/container/heap
mkdir -p "$GOROOT"/pkg/linux_386/container/
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
#
@ -307,16 +317,6 @@ cd "$GOROOT"/src/pkg/flag
"$GOROOT"/bin/go-tool/pack grc "$WORK"/flag.a "$WORK"/flag/_obj/_go_.8
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
#

View File

@ -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
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
#
@ -194,26 +224,6 @@ cd "$GOROOT"/src/pkg/container/heap
mkdir -p "$GOROOT"/pkg/linux_amd64/container/
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
#
@ -306,16 +316,6 @@ cd "$GOROOT"/src/pkg/flag
"$GOROOT"/bin/go-tool/pack grc "$WORK"/flag.a "$WORK"/flag/_obj/_go_.6
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
#

View File

@ -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
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
#
@ -198,26 +228,6 @@ cd "$GOROOT"/src/pkg/container/heap
mkdir -p "$GOROOT"/pkg/linux_arm/container/
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
#
@ -310,16 +320,6 @@ cd "$GOROOT"/src/pkg/flag
"$GOROOT"/bin/go-tool/pack grc "$WORK"/flag.a "$WORK"/flag/_obj/_go_.5
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
#

View File

@ -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
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
#
@ -195,26 +225,6 @@ cd "$GOROOT"/src/pkg/container/heap
mkdir -p "$GOROOT"/pkg/netbsd_386/container/
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
#
@ -307,16 +317,6 @@ cd "$GOROOT"/src/pkg/flag
"$GOROOT"/bin/go-tool/pack grc "$WORK"/flag.a "$WORK"/flag/_obj/_go_.8
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
#

View File

@ -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
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
#
@ -194,26 +224,6 @@ cd "$GOROOT"/src/pkg/container/heap
mkdir -p "$GOROOT"/pkg/netbsd_amd64/container/
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
#
@ -306,16 +316,6 @@ cd "$GOROOT"/src/pkg/flag
"$GOROOT"/bin/go-tool/pack grc "$WORK"/flag.a "$WORK"/flag/_obj/_go_.6
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
#

View File

@ -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
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
#
@ -195,26 +225,6 @@ cd "$GOROOT"/src/pkg/container/heap
mkdir -p "$GOROOT"/pkg/openbsd_386/container/
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
#
@ -307,16 +317,6 @@ cd "$GOROOT"/src/pkg/flag
"$GOROOT"/bin/go-tool/pack grc "$WORK"/flag.a "$WORK"/flag/_obj/_go_.8
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
#

View File

@ -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
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
#
@ -194,26 +224,6 @@ cd "$GOROOT"/src/pkg/container/heap
mkdir -p "$GOROOT"/pkg/openbsd_amd64/container/
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
#
@ -306,16 +316,6 @@ cd "$GOROOT"/src/pkg/flag
"$GOROOT"/bin/go-tool/pack grc "$WORK"/flag.a "$WORK"/flag/_obj/_go_.6
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
#

View File

@ -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
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
#
@ -195,26 +225,6 @@ cd "$GOROOT"/src/pkg/container/heap
mkdir -p "$GOROOT"/pkg/plan9_386/container/
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
#
@ -307,16 +317,6 @@ cd "$GOROOT"/src/pkg/flag
"$GOROOT"/bin/go-tool/pack grc "$WORK"/flag.a "$WORK"/flag/_obj/_go_.8
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
#

View File

@ -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
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
#
@ -197,26 +227,6 @@ cd "$GOROOT"/src/pkg/container/heap
mkdir -p "$GOROOT"/pkg/windows_386/container/
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
#
@ -309,16 +319,6 @@ cd "$GOROOT"/src/pkg/flag
"$GOROOT"/bin/go-tool/pack grc "$WORK"/flag.a "$WORK"/flag/_obj/_go_.8
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
#

View File

@ -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
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
#
@ -196,26 +226,6 @@ cd "$GOROOT"/src/pkg/container/heap
mkdir -p "$GOROOT"/pkg/windows_amd64/container/
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
#
@ -308,16 +318,6 @@ cd "$GOROOT"/src/pkg/flag
"$GOROOT"/bin/go-tool/pack grc "$WORK"/flag.a "$WORK"/flag/_obj/_go_.6
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
#

View File

@ -700,33 +700,6 @@ func (b *builder) includeArgs(flag string, all []*action) []string {
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'.
func (b *builder) copyFile(dst, src string, perm os.FileMode) error {
if buildN || buildX {
@ -741,23 +714,30 @@ func (b *builder) copyFile(dst, src string, perm os.FileMode) error {
return err
}
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)
df, err := os.OpenFile(dst, os.O_WRONLY|os.O_CREATE|os.O_TRUNC, perm)
if err != nil {
if !toolIsWindows {
return err
}
// Windows does not allow to replace binary file
// while it is executing. We will cheat.
err = removeByRenaming(dst)
if err != nil {
return err
if err != nil && toolIsWindows {
// Windows does not allow deletion of a binary file
// while it is executing. Try to move it out of the way.
// If the remove fails, which is likely, we'll try again the
// next time we do an install of this binary.
if err := os.Rename(dst, dst+"~"); err == nil {
os.Remove(dst + "~")
}
df, err = os.OpenFile(dst, os.O_WRONLY|os.O_CREATE|os.O_TRUNC, perm)
}
if err != nil {
return err
}
}
_, err = io.Copy(df, sf)
df.Close()
if err != nil {

View File

@ -5,6 +5,7 @@
package main
import (
"bufio"
"encoding/json"
"os"
"text/template"
@ -81,15 +82,19 @@ var listJson = cmdList.Flag.Bool("json", false, "")
var nl = []byte{'\n'}
func runList(cmd *Command, args []string) {
out := bufio.NewWriter(os.Stdout)
defer out.Flush()
var do func(*Package)
if *listJson {
do = func(p *Package) {
b, err := json.MarshalIndent(p, "", "\t")
if err != nil {
out.Flush()
fatalf("%s", err)
}
os.Stdout.Write(b)
os.Stdout.Write(nl)
out.Write(b)
out.Write(nl)
}
} else {
tmpl, err := template.New("main").Parse(*listFmt + "\n")
@ -97,7 +102,8 @@ func runList(cmd *Command, args []string) {
fatalf("%s", err)
}
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)
}
}

View File

@ -5,7 +5,9 @@
package main
import (
"bytes"
"go/build"
"go/scanner"
"os"
"path/filepath"
"sort"
@ -259,6 +261,20 @@ func scanPackage(ctxt *build.Context, t *build.Tree, arg, importPath, dir string
ImportStack: stk.copy(),
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
return p
}

View File

@ -75,7 +75,7 @@ func runTool(cmd *Command, args []string) {
}
err := toolCmd.Run()
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)
return
}