This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug go/65462] Use of 'go get' with gccgo is not finding dependencies correctly
- From: "ian at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 24 Mar 2015 19:51:02 +0000
- Subject: [Bug go/65462] Use of 'go get' with gccgo is not finding dependencies correctly
- Auto-submitted: auto-generated
- References: <bug-65462-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65462
--- Comment #7 from ian at gcc dot gnu.org <ian at gcc dot gnu.org> ---
Author: ian
Date: Tue Mar 24 19:50:31 2015
New Revision: 221643
URL: https://gcc.gnu.org/viewcvs?rev=221643&root=gcc&view=rev
Log:
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.
Modified:
trunk/gotools/ChangeLog
trunk/gotools/Makefile.am
trunk/gotools/Makefile.in
trunk/libgo/Makefile.am
trunk/libgo/Makefile.in
trunk/libgo/go/cmd/go/build.go
trunk/libgo/go/cmd/go/pkg.go
trunk/libgo/go/cmd/go/test.go