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

Issue 61970044: code review 61970044: cmd/go: Ensure that linking with gccgo uses installed l...

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 3 months ago by mwhudson
Modified:
11 years, 3 months ago
Reviewers:
rsc
CC:
golang-codereviews, dave_cheney.net, michael.hudson, rsc
Visibility:
Public.

Description

cmd/go: Ensure that linking with gccgo uses installed libraries. Under some circumstances, gccgoToolchain's ld can pass the path of build artefacts that have been deleted to the link command. This fixes it, but it's a bit delicate; please read the long comment in the diff. Fixes issue 7303.

Patch Set 1 #

Patch Set 2 : diff -r 16f0b6d4f8ff https://code.google.com/p/go/ #

Patch Set 3 : diff -r 16f0b6d4f8ff https://code.google.com/p/go/ #

Total comments: 1

Patch Set 4 : diff -r 1849f83423ca https://code.google.com/p/go/ #

Patch Set 5 : diff -r 1849f83423ca https://code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -7 lines) Patch
M src/cmd/go/build.go View 1 2 3 2 chunks +16 lines, -7 lines 0 comments Download

Messages

Total messages: 8
mwhudson
Hello golang-codereviews@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go/
11 years, 3 months ago (2014-02-12 01:53:23 UTC) #1
dave_cheney.net
On 2014/02/12 01:53:23, mwhudson wrote: > Hello mailto:golang-codereviews@googlegroups.com, > > I'd like you to review ...
11 years, 3 months ago (2014-02-12 05:02:10 UTC) #2
michael.hudson
dave@cheney.net writes: > On 2014/02/12 01:53:23, mwhudson wrote: >> Hello mailto:golang-codereviews@googlegroups.com, > >> I'd like ...
11 years, 3 months ago (2014-02-12 20:42:00 UTC) #3
rsc
LGTM please fix and re-hg mail https://codereview.appspot.com/61970044/diff/40001/src/cmd/go/build.go File src/cmd/go/build.go (right): https://codereview.appspot.com/61970044/diff/40001/src/cmd/go/build.go#newcode1828 src/cmd/go/build.go:1828: // When installing ...
11 years, 3 months ago (2014-03-05 19:32:07 UTC) #4
rsc
R=rsc
11 years, 3 months ago (2014-03-05 19:32:18 UTC) #5
mwhudson
Hello golang-codereviews@googlegroups.com, dave@cheney.net, michael.hudson@canonical.com, rsc@golang.org (cc: golang-codereviews@googlegroups.com), Please take another look.
11 years, 3 months ago (2014-03-09 22:59:50 UTC) #6
rsc
LGTM
11 years, 3 months ago (2014-03-13 02:32:52 UTC) #7
rsc
11 years, 3 months ago (2014-03-13 03:05:58 UTC) #8
*** Submitted as https://code.google.com/p/go/source/detail?r=017d82d5ef30 ***

cmd/go: use correct libraries during gccgo link

Under some circumstances, gccgoToolchain's ld can pass the path of
build outputs that have been deleted to the link command.

Fixes issue 7303.

LGTM=rsc
R=golang-codereviews, dave, michael.hudson, rsc
CC=golang-codereviews
https://codereview.appspot.com/61970044

Committer: Russ Cox <rsc@golang.org>
Sign in to reply to this message.

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