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

Issue 4629051: code review 4629051: Make.ccmd: link with mach lib, (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 10 months ago by Joe Poirier
Modified:
13 years, 10 months ago
Reviewers:
dave, ality, r2
CC:
golang-dev, r
Visibility:
Public.

Description

Make.ccmd: link with mach lib, remove explicit linking in make files

Patch Set 1 #

Patch Set 2 : diff -r 61ed63d57306 https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r 61ed63d57306 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -13 lines) Patch
M src/Make.ccmd View 1 1 chunk +1 line, -1 line 0 comments Download
M src/cmd/cov/Makefile View 1 1 chunk +0 lines, -3 lines 0 comments Download
M src/cmd/gopack/Makefile View 1 1 chunk +0 lines, -3 lines 0 comments Download
M src/cmd/nm/Makefile View 1 1 chunk +0 lines, -3 lines 0 comments Download
M src/cmd/prof/Makefile View 1 1 chunk +0 lines, -3 lines 0 comments Download

Messages

Total messages: 11
Joe Poirier
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
13 years, 10 months ago (2011-06-18 13:41:24 UTC) #1
r2
why? -rob
13 years, 10 months ago (2011-06-18 22:38:25 UTC) #2
Joe Poirier
On Jun 18, 2011, at Jun 18 - 5:38 PM, Rob 'Commander' Pike wrote: > ...
13 years, 10 months ago (2011-06-19 03:44:21 UTC) #3
r
LGTM Thanks for the explanation.
13 years, 10 months ago (2011-06-19 03:56:53 UTC) #4
r
*** Submitted as http://code.google.com/p/go/source/detail?r=2f38a0262214 *** Make.ccmd: link with mach lib, remove explicit linking in make ...
13 years, 10 months ago (2011-06-19 03:57:30 UTC) #5
dave_cheney.net
I think you need to include -lm after all. %%%% making 6g %%%% make -C ...
13 years, 10 months ago (2011-06-19 04:11:07 UTC) #6
dave_cheney.net
In addition, this CL passes just fine on darwin/amd64, but fails on linux/amd64 (debian 6)
13 years, 10 months ago (2011-06-19 04:17:49 UTC) #7
Joe Poirier
On Jun 18, 2011, at Jun 18 - 11:17 PM, dave@cheney.net wrote: > In addition, ...
13 years, 10 months ago (2011-06-19 04:39:40 UTC) #8
ality
jdpoirier@gmail.com once said: > $(TARG): $(OFILES) $(LIB) > - $(HOST_LD) -o $(TARG) -L"$(GOROOT)"/lib $(OFILES) $(LIB) ...
13 years, 10 months ago (2011-06-19 04:54:33 UTC) #9
r2
On 19/06/2011, at 2:54 PM, Anthony Martin wrote: > jdpoirier@gmail.com once said: >> $(TARG): $(OFILES) ...
13 years, 10 months ago (2011-06-19 04:55:12 UTC) #10
Joe Poirier
13 years, 10 months ago (2011-06-19 05:19:23 UTC) #11
On Jun 18, 2011, at Jun 18 - 11:55 PM, Rob 'Commander' Pike wrote:

> 
> On 19/06/2011, at 2:54 PM, Anthony Martin wrote:
> 
>> jdpoirier@gmail.com once said:
>>> $(TARG): $(OFILES) $(LIB)
>>> -	$(HOST_LD) -o $(TARG) -L"$(GOROOT)"/lib $(OFILES) $(LIB) -lbio -l9 -lm
$(HOST_LDFLAGS)
>>> +	$(HOST_LD) -o $(TARG) -L"$(GOROOT)"/lib $(OFILES) $(LIB) -lbio -l9 -lmach
$(HOST_LDFLAGS)
>> 
>> You need to put -lmach before -lbio.
>> I'd be surprised if this linked.
>> 
>> Anthony
> 
> you're right, and it didn't.
> 
> -rob
> 

The reorder fixed my Windows build. Even though it compiled on OSX I should've
seen the order in the make files! 

Thanks,
Joe
Sign in to reply to this message.

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