1
0
mirror of https://github.com/golang/go synced 2024-11-08 08:56:16 -07:00
go/src/cmd
Russ Cox 0be2d52eba cmd/go: use -importcfg to invoke compiler, linker
This is a step toward using cached build artifacts: the importcfg
will direct the compiler and linker to read them right from the cache
if necessary. However, this CL does not have a cache yet, so it still
reads them from the usual install location or build location.
Even so, this fixes a long-standing issue that -I and -L (no longer used)
are not expressive enough to describe complex GOPATH setups.

Shared libraries are handled enough that all.bash passes, but
there may still be more work to do here. If so, tests and fixes
can be added in follow-up CLs.

Gccgo will need updating to support -importcfg as well.

Fixes #14271.

Change-Id: I5c52a0a5df0ffbf7436e1130c74e9e24fceff80f
Reviewed-on: https://go-review.googlesource.com/56279
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: David Crawshaw <crawshaw@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
2017-09-29 00:22:58 +00:00
..
addr2line
api all: prefer strings.IndexByte over strings.Index 2017-09-25 17:35:41 +00:00
asm cmd/internal/obj/x86: add ADDSUBPS/PD 2017-09-18 15:06:05 +00:00
cgo cmd/cgo: simplify a call to strip spaces 2017-09-27 19:52:55 +00:00
compile cmd/compile: add reflect to TestIntendedInlining 2017-09-28 21:09:46 +00:00
cover cmd/cover: take default value of total only once. 2017-06-02 17:59:12 +00:00
dist all: prefer strings.IndexByte over strings.Index 2017-09-25 17:35:41 +00:00
doc all: prefer strings.LastIndexByte over strings.LastIndex 2017-09-27 00:54:24 +00:00
fix all: prefer strings.LastIndexByte over strings.LastIndex 2017-09-27 00:54:24 +00:00
go cmd/go: use -importcfg to invoke compiler, linker 2017-09-29 00:22:58 +00:00
gofmt
internal cmd/compile: cover control flow insns in location lists 2017-09-28 20:30:12 +00:00
link cmd/go: use -importcfg to invoke compiler, linker 2017-09-29 00:22:58 +00:00
nm cmd/link: don't use internal linking mode for cgo on PPC64 2017-09-26 15:06:32 +00:00
objdump cmd/internal/objfile: add arm64 disassembler support 2017-08-28 14:09:35 +00:00
pack cmd/pack: fix export data truncation bug 2017-09-09 14:13:33 +00:00
pprof cmd/pprof: restore printing descriptive errors from net/http/pprof endpoints 2017-06-15 02:14:24 +00:00
trace all: correct location of go tool 2017-09-20 03:54:16 +00:00
vendor cmd/vendor/golang.org/x/arch: pull latest updates from x repo (commit edaf650) 2017-08-25 14:13:13 +00:00
vet all: prefer strings.LastIndexByte over strings.LastIndex 2017-09-27 00:54:24 +00:00