Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(790)

Issue 213570043: code review 213570043: cmd: Fix dependencies for 'go get'

Can't Edit
Can't Publish+Mail
Start Review
Created:
9 years, 1 month ago by laboger
Modified:
9 years, 1 month ago
Reviewers:
iant
CC:
gofrontend-dev_googlegroups.com, iant, dave_cheney.net
Visibility:
Public.

Description

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.

Patch Set 1 #

Patch Set 2 : diff -r ce7434c390d0 https://code.google.com/p/gofrontend #

Patch Set 3 : diff -r ce7434c390d0 https://code.google.com/p/gofrontend #

Total comments: 3

Patch Set 4 : diff -r ce7434c390d0 https://code.google.com/p/gofrontend #

Patch Set 5 : diff -r ce7434c390d0 https://code.google.com/p/gofrontend #

Patch Set 6 : diff -r ce7434c390d0 https://code.google.com/p/gofrontend #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -31 lines) Patch
M libgo/Makefile.am View 1 chunk +14 lines, -0 lines 0 comments Download
M libgo/Makefile.in View 3 chunks +31 lines, -17 lines 0 comments Download
M libgo/go/cmd/go/build.go View 3 chunks +5 lines, -4 lines 0 comments Download
M libgo/go/cmd/go/pkg.go View 2 chunks +6 lines, -2 lines 0 comments Download
M libgo/go/cmd/go/test.go View 4 chunks +9 lines, -8 lines 0 comments Download

Messages

Total messages: 11
laboger
Hello gofrontend-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/gofrontend
9 years, 1 month ago (2015-03-20 21:00:11 UTC) #1
iant
https://codereview.appspot.com/213570043/diff/40001/libgo/Makefile.am File libgo/Makefile.am (right): https://codereview.appspot.com/213570043/diff/40001/libgo/Makefile.am#newcode970 libgo/Makefile.am:970: s-version: Makefile zstdpkglist.go Instead of adding the dependency here, ...
9 years, 1 month ago (2015-03-20 22:51:06 UTC) #2
dave_cheney.net
Is it possible to get this patch landed upstream in golang/go ? On Sat, Mar ...
9 years, 1 month ago (2015-03-21 02:23:48 UTC) #3
dave_cheney.net
I think I've also hit this issue, https://github.com/golang/go/issues/10217. Lynn, did you raise a bug about ...
9 years, 1 month ago (2015-03-23 04:50:05 UTC) #4
dave_cheney.net
On 2015/03/23 04:50:05, dfc wrote: > I think I've also hit this issue, https://github.com/golang/go/issues/10217. > ...
9 years, 1 month ago (2015-03-23 06:24:00 UTC) #5
laboger
On 03/23/2015 01:24 AM, dave@cheney.net wrote: > On 2015/03/23 04:50:05, dfc wrote: >> I think ...
9 years, 1 month ago (2015-03-23 13:41:05 UTC) #6
laboger
On 2015/03/20 22:51:06, iant wrote: > https://codereview.appspot.com/213570043/diff/40001/libgo/Makefile.am > File libgo/Makefile.am (right): > > https://codereview.appspot.com/213570043/diff/40001/libgo/Makefile.am#newcode970 > ...
9 years, 1 month ago (2015-03-23 13:54:08 UTC) #7
iant
Run "hg upload" when your new version is ready.
9 years, 1 month ago (2015-03-23 15:22:01 UTC) #8
laboger
Hello gofrontend-dev@googlegroups.com, iant@golang.org, dave@cheney.net (cc: gofrontend-dev@googlegroups.com), Please take another look.
9 years, 1 month ago (2015-03-23 16:46:30 UTC) #9
iant
LGTM Thanks.
9 years, 1 month ago (2015-03-24 19:43:46 UTC) #10
iant
9 years, 1 month ago (2015-03-24 19:44:02 UTC) #11
*** Submitted as
https://code.google.com/p/gofrontend/source/detail?r=6ed23fc8eac4 ***

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.

LGTM=iant
R=gofrontend-dev, iant, dave
CC=gofrontend-dev
https://codereview.appspot.com/213570043

Committer: Ian Lance Taylor <iant@golang.org>
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b