-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
cannot cross-compile arm binary on x86 platform #1787
Comments
Cross compiling with cgo in the mix (nsenter package) is a bit more involved. See golang/go#24433 Hopefully the cgo bits will be turned into pure Go at one point, though: #1795 |
You will need to set up a cross compile toolchain, I'm not knowledgeable enough to recommend precise steps. I can tell you with confidence that you at least need to specify |
@bzub Thanks a lot for your reply! Since I know what the problem is now, I will try again to figure it out. |
I got it working without being completely statically linked. Add For example on Arch Linux compiling for arm64 (raspberry pi 3) I was successful with installing the Now getting it to work with seccomp is what I haven't accomplished. There's actually a make target for static building to reference. I have gotten this far:
|
Could any body tell me how to make it? Any suggestions would be appreciated!
The text was updated successfully, but these errors were encountered: