We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Attempting to bind a package main results in non-obvious error:
gomobile bind -target=android github.com/pbdesign/selphy gomobile: loadExportData failed go install -p=4 -pkgdir=/home/daniel/local/pkg/gomobile/pkg_android_arm -tags="" -gcflags=-shared -ldflags=-shared github.com/pbdesign/selphy failed: exit status 2 # github.com/pbdesign/selphy /home/daniel/local/go/pkg/tool/linux_amd64/link: -shared and -buildmode=pie are incompatible
If possible, this should instead error out before attempting build stating that binding a package main is not supported.
The text was updated successfully, but these errors were encountered:
CL https://golang.org/cl/22802 mentions this issue.
Sorry, something went wrong.
golang/mobile@2922272
cmd/gomobile: error when attempting to bind main package
7f81fce
Fixes golang/go#15515 Change-Id: Idc831d4691f6c983d37622bb30c238015542cfdf Reviewed-on: https://go-review.googlesource.com/22802 Reviewed-by: David Crawshaw <crawshaw@golang.org>
054c4ce
No branches or pull requests
Attempting to bind a package main results in non-obvious error:
If possible, this should instead error out before attempting build stating that binding a package main is not supported.
The text was updated successfully, but these errors were encountered: