gcc/libgo
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
go re PR go/65462 (Use of 'go get' with gccgo is not finding dependencies correctly) 2015-03-24 19:50:31 +00:00
runtime re PR go/65349 (go tool crashes, can't compile go code on 32bit linux systems) 2015-03-09 23:43:16 +00:00
testsuite
aclocal.m4
config.h.in
configure
configure.ac
godeps.sh
LICENSE
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
MERGE libgo: Upgrade to Go 1.4.2 release. 2015-03-06 16:19:05 +00:00
merge.sh libgo: Upgrade to Go 1.4.2 release. 2015-03-06 16:19:05 +00:00
mksysinfo.sh mksysinfo.sh: Remove _zone_net_addr_t handling. 2015-02-06 16:18:14 +00:00
mvifdiff.sh
PATENTS
README libgo/README: Minor updates. 2015-03-13 18:53:13 +00:00
README.gcc
VERSION libgo: Upgrade to Go 1.4.2 release. 2015-03-06 16:19:05 +00:00

See ../README.

This is the runtime support library for the Go programming language.
This library is intended for use with the Go frontend.

This library should not be stripped when it is installed.  Go code
relies on being able to look up file/line information, which comes
from the debugging info using the libbacktrace library.

The library has only been tested on GNU/Linux using glibc, and on
Solaris.  It should not be difficult to port to other operating
systems.

Directories:

go
  A copy of the Go library from http://golang.org/, with several
  changes for gccgo.

runtime
  Runtime functions, written in C, which are called directly by the
  compiler or by the library.

Contributing
============

To contribute patches to the files in this directory, please see
http://golang.org/doc/gccgo_contribute.html .

The master copy of these files is hosted at
http://code.google.com/p/gofrontend .  Changes to these files require
signing a Google contributor license agreement.  If you are the
copyright holder, you will need to agree to the individual contributor
license agreement at
http://code.google.com/legal/individual-cla-v1.0.html.  This agreement
can be completed online.

If your organization is the copyright holder, the organization will
need to agree to the corporate contributor license agreement at
http://code.google.com/legal/corporate-cla-v1.0.html.

If the copyright holder for your code has already completed the
agreement in connection with another Google open source project, it
does not need to be completed again.