gcc/gotools
Ian Lance Taylor ab24432b9a re PR go/65462 (Use of 'go get' with gccgo is not finding dependencies correctly)
PR go/65462
cmd: Fix dependencies for 'go get' with gccgo

Problem described in GCC BZ 65462.
Generate the list of the standard GO package names based on what was built into libgo in the libgo Makefile.
Change the var name from reqPkgSrc to reqStdPkgSrc to clarify it only affects standard GO packages.
Skip the attempted loading of a package only if it is a standard GO package and the flag is set indicating its source is not required to be available.
This requires a corresponding change to gotools to build and link in the new file containing the list of standard GO package names that was generated by the libgo Makefile.

gotools/:
	PR go/65462
	* Makefile.am (go_cmd_go_files): Add $(libgodir)/zstdpkglist.go.
	* Makefile.in: Rebuild.

From-SVN: r221643
2015-03-24 19:50:31 +00:00
..
config
aclocal.m4
ChangeLog re PR go/65462 (Use of 'go get' with gccgo is not finding dependencies correctly) 2015-03-24 19:50:31 +00:00
configure Link with -lrt on Solaris 10 2015-01-20 09:26:50 +00:00
configure.ac Link with -lrt on Solaris 10 2015-01-20 09:26:50 +00:00
go.1 re PR go/64595 (go programs abort when debug info is stripped) 2015-01-23 01:42:08 +00:00
gofmt.1 re PR go/64595 (go programs abort when debug info is stripped) 2015-01-23 01:42:08 +00:00
Makefile.am re PR go/65462 (Use of 'go get' with gccgo is not finding dependencies correctly) 2015-03-24 19:50:31 +00:00
Makefile.in re PR go/65462 (Use of 'go get' with gccgo is not finding dependencies correctly) 2015-03-24 19:50:31 +00:00
README

This directory builds tools used by people working in the Go language.
The source code for these tools lives in libgo/go/cmd, where it is
copied from the master gofrontend repository.  This directory contains
only the configure/Makefile instructions required to build the tools.

This directory builds two programs for general use: go and gofmt.  It
also builds one program for internal use by the go tool: cgo.  For
more information on these tools see the doc.go files in the relevant
source code, which can also be seen hosted at golang.org:

http://golang.org/cmd/go
http://golang.org/cmd/gofmt
http://golang.org/cmd/cgo