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/internal/ld: cannot link whole standard library into one shared object #10691

Closed
mwhudson opened this issue May 5, 2015 · 3 comments
Closed

Comments

@mwhudson
Copy link
Contributor

mwhudson commented May 5, 2015

This is presumably because the package list note in this case ends up being rather large:

mwhudson@glamdring:src$ go install -buildmode=shared std
# /tmp/go-build456756371/libstd.so
mime/quotedprintable..gobytes.3: ELFRESERVE too small: 4168 > 3072
@mwhudson
Copy link
Contributor Author

mwhudson commented May 5, 2015

I'm working on this now.

@gopherbot
Copy link
Contributor

CL https://golang.org/cl/9710 mentions this issue.

@minux
Copy link
Member

minux commented May 5, 2015 via email

mwhudson added a commit to mwhudson/go that referenced this issue May 22, 2015
…shared

This makes the intermediate object file a little bigger but it doesn't waste
any space in the final shared library.

Fixes golang#10691

Change-Id: Ic51a571d60291f1ac2dad1b50dba4679643168ae
@golang golang locked and limited conversation to collaborators Jun 25, 2016
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

3 participants