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

Docker v1.8.0-rc1cannot be build on ARM 32bit #15053

Closed
DieterReuter opened this issue Jul 27, 2015 · 9 comments
Closed

Docker v1.8.0-rc1cannot be build on ARM 32bit #15053

DieterReuter opened this issue Jul 27, 2015 · 9 comments

Comments

@DieterReuter
Copy link
Contributor

Trying to build Docker 1.8.0-rc1 on a Scaleway server (ARM 32bit, armv7l) failed:

# Try this instead: make all
#
---> Making bundle: dynbinary (in bundles/1.8.0-rc1/dynbinary)
# github.com/opencontainers/runc/libcontainer/seccomp
vendor/src/github.com/opencontainers/runc/libcontainer/seccomp/filter.go:93: undefined: jumpEqualTo
vendor/src/github.com/opencontainers/runc/libcontainer/seccomp/filter.go:95: undefined: jumpNotEqualTo
vendor/src/github.com/opencontainers/runc/libcontainer/seccomp/filter.go:97: undefined: jumpGreaterThan
vendor/src/github.com/opencontainers/runc/libcontainer/seccomp/filter.go:99: undefined: jumpLessThan
vendor/src/github.com/opencontainers/runc/libcontainer/seccomp/filter.go:101: undefined: jumpMaskEqualTo

The seccomp package has currently a jump_amd64.go file for linux/amd64 only!

@thaJeztah
Copy link
Member

Looks like this problem is in vendored files, and needs changes in the runc repository, could you report there as well?

@jefby
Copy link

jefby commented Jul 29, 2015

arm64 alse compile error , ARMv8 cortex-a57

@paralin
Copy link

paralin commented Aug 19, 2015

There's a simple patch for this. See the buildroot recepie I wrote found in https://github.com/paralin/buildroot

@thaJeztah
Copy link
Member

@paralin are those patches suitable for inclusion in Docker by default? IIRC, plans are to eventually make Docker build on ARMv7/v8 without the need to apply patches, if there's a clean way to integrate those, we welcome PR's (but it may make sense to discuss in the #docker-dev IRC channel before that).

@paralin
Copy link

paralin commented Aug 19, 2015

It's a very simple set of patches, I'll submit PRs.

@domenkozar
Copy link

Upstream has a different source: https://github.com/opencontainers/runc/tree/master/libcontainer/seccomp

@domenkozar
Copy link

I've fixed it in NixOS with NixOS/nixpkgs@e65fce3

@fedya
Copy link

fedya commented Oct 4, 2015

@domenkozar thanks for your commit, really helped me to fix similar issue on armv7hl port.

@DieterReuter
Copy link
Contributor Author

I'll close this issues as it is already fixed in Docker 1.9.0, for 1.8.x it's still present.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants