-
Notifications
You must be signed in to change notification settings - Fork 1.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
Make working on arm64 and ppc64le too #209
Comments
cc @Pensu |
The first one is easy, we just need to create some more files: https://github.com/opencontainers/runc/blob/master/libcontainer/system/setns_linux.go#L13-22 |
Checked the golang.org/x/sys dependency out and it's really old. Now the package has 155 commits, the vendored version has only 76, so only a |
@luxas please submit a PR with the mentioned |
I'm cross-compiling, and will send a PR as soon as I have time :) |
Seems like c0d34c6 fixed the SetNsNr issue. |
#241 |
The current vendor of sys/unix is really old, and doesn't work on arm64 and ppc64le Updating to the latest version might also fix other issues ref containernetworking#209
… architectures This makes it possible to cross-compile cni like so: $ GOARCH=arm ./build $ GOARCH=arm64 ./build $ GOARCH=ppc64le ./build ref containernetworking#209
Cross-compile cni for arm, arm64 and ppc64le with go1.6 only Allow go tip to fail Set fast_finish to true, which means travis will instantly return build failure when any of the required builds fail ref containernetworking#209
Modify the releasing script to cross-compile for the new architectures, but also keep backwards-compability ref containernetworking#209
The current vendor of sys/unix is really old, and doesn't work on arm64 and ppc64le Updating to the latest version might also fix other issues ref containernetworking#209
… architectures This makes it possible to cross-compile cni like so: $ GOARCH=arm ./build $ GOARCH=arm64 ./build $ GOARCH=ppc64le ./build ref containernetworking#209
Cross-compile cni for arm, arm64 and ppc64le with go1.6 only Allow go tip to fail Set fast_finish to true, which means travis will instantly return build failure when any of the required builds fail ref containernetworking#209
Modify the releasing script to cross-compile for the new architectures, but also keep backwards-compability ref containernetworking#209
The current vendor of sys/unix is really old, and doesn't work on arm64 and ppc64le Updating to the latest version might also fix other issues ref containernetworking#209
… architectures This makes it possible to cross-compile cni like so: $ GOARCH=arm ./build $ GOARCH=arm64 ./build $ GOARCH=ppc64le ./build ref containernetworking#209
Cross-compile cni for arm, arm64 and ppc64le with go1.6 only Allow go tip to fail Set fast_finish to true, which means travis will instantly return build failure when any of the required builds fail ref containernetworking#209
Modify the releasing script to cross-compile for the new architectures, but also keep backwards-compability ref containernetworking#209
This is working now when #241 is merged. Thanks! |
When building for
arm64
orppc64le
, it fails with these messages:The
ns.go
issue seems easy to fix, but thegolang.org/x/sys/unix
ones seems harder.We'll need cni for these arches for Kubernetes
The text was updated successfully, but these errors were encountered: