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/compile: -buildmode=c-archive broken on darwin/arm #11363

Closed
crawshaw opened this issue Jun 23, 2015 · 1 comment
Closed

cmd/compile: -buildmode=c-archive broken on darwin/arm #11363

crawshaw opened this issue Jun 23, 2015 · 1 comment
Milestone

Comments

@crawshaw
Copy link
Member

$ go build -buildmode=c-archive -o /tmp/junk.a github.com/hyangah/ivy/ivyarchive
# github.com/hyangah/ivy/ivyarchive
$GOROOT/pkg/tool/darwin_amd64/link: running ar failed: exit status 1
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: object: $WORK/github.com/hyangah/ivy/ivyarchive/_obj/exe/a.out.a(go.o) truncated or malformed object (LC_SEGMENT command 0 fileoff field plus filesize field extends past the end of the file)
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar: internal ranlib command failed

Broken in golang.org/cl/10284. Not noticed due to hardware failure of darwin/arm builder (which I'm working on separately.) See golang.org/cl/11306 for a partial rollback to fix this.

@crawshaw crawshaw self-assigned this Jun 23, 2015
@crawshaw crawshaw added this to the Go1.5 milestone Jun 23, 2015
@crawshaw
Copy link
Member Author

Fixed in http://golang.org/cl/11306.

@golang golang locked and limited conversation to collaborators Jun 28, 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

2 participants