Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/go: linker error: too many -L's: 15 #3171

Closed
alberts opened this issue Mar 2, 2012 · 3 comments
Closed

cmd/go: linker error: too many -L's: 15 #3171

alberts opened this issue Mar 2, 2012 · 3 comments

Comments

@alberts
Copy link
Contributor

alberts commented Mar 2, 2012

What steps will reproduce the problem?

We have a clean (unbuilt) tree. One directory in GOPATH. I do:

go install cmd/foo/bar

I get a linker error:

too many -L's: 15

What do you see instead?

from go install -x I can see that the go tool is passing -L $GOPATH/pkg/linux_amd64 to
6l many times.

Doesn't happen with all commands, so I'm not sure what triggers it.

This tree built fine before the previous go tool fixes.

Which compiler are you using (5g, 6g, 8g, gccgo)?

6g

Which operating system are you using?

linux

Which revision are you using?  (hg identify)

tip
@alberts
Copy link
Contributor Author

alberts commented Mar 2, 2012

Comment 1:

another bug in this area (maybe):
go test code.google.com/...
had problems finding goprotobuf's testdata package. again, not quite sure what planets
need to align for it to fail, but it happens in parts of our build. always starting
clean.

@remyoudompheng
Copy link
Contributor

Comment 2:

Can you try http://golang.org/cl/5724045 ?

@rsc
Copy link
Contributor

rsc commented Mar 2, 2012

Comment 3:

This issue was closed by revision 1feecdd.

Status changed to Fixed.

@golang golang locked and limited conversation to collaborators Jun 24, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants