-
Notifications
You must be signed in to change notification settings - Fork 17.8k
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
Labels
Comments
I'll take a look at this next week. We probably need to detect whether we are working with Go 1.5 or tip. |
CL https://golang.org/cl/15803 mentions this issue. |
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 <[email protected]>
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 <[email protected]>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
The text was updated successfully, but these errors were encountered: