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

x/mobile: needs to build standard library as PIC for android #12581

Closed
mwhudson opened this issue Sep 11, 2015 · 2 comments
Closed

x/mobile: needs to build standard library as PIC for android #12581

mwhudson opened this issue Sep 11, 2015 · 2 comments

Comments

@mwhudson
Copy link
Contributor

gomobile installs the standard library for you but it just compiles it with the default flags. Thanks to the use of -pkgdir, the attempts made by the go tool to build the runtime as PIC when -buildmode=c-shared is passed fail.

@crawshaw
Copy link
Member

I'll take a look at this next week. We probably need to detect whether we are working with Go 1.5 or tip.

@gopherbot
Copy link

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

@golang golang locked and limited conversation to collaborators Oct 12, 2016
imWildCat pushed a commit to imWildCat/go-mobile that referenced this issue Apr 10, 2021
Fixes golang/go#12581

Change-Id: I9e462b76037f0f89f1d3e59b9aef899d21de925a
Reviewed-on: https://go-review.googlesource.com/15803
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
imWildCat pushed a commit to imWildCat/go-mobile that referenced this issue Apr 11, 2021
Fixes golang/go#12581

Change-Id: I9e462b76037f0f89f1d3e59b9aef899d21de925a
Reviewed-on: https://go-review.googlesource.com/15803
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
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