-
-
Notifications
You must be signed in to change notification settings - Fork 709
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
Doesn't build on armhf #6
Comments
Sorry about that! And thank you for trying to build it on a new platform! Do you have a netbook? Can you share a bit more about your environment? |
Sure, I have armhf all over the place : Chromebook 2 arm and odroid-U3 platforms, all running ubuntu 15.10 and go 1.5.1. Can't beat 9 hours of battery on chromebook :D |
This is due to architecture differences... These tickets (in Go and Docker) provide a good overview: golang/go#13318 , moby/moby#18064 Doing the same thing Docker did should fix it :) The syscall/seccomp functionality needs enhancements to support ARM architectures... That needs to be done in the "system" library (which covers only ArchName386 and ArchNameAmd64 at this point in time). |
This should be fixed, but there are a couple of other arm build errors that need to be addressed too: docker-slim/sensor/monitors/fanotify/monitor.go:30: nd.Mark undefined (type *fanotify.NotifyFD has no field or method Mark) docker-slim/sensor/monitors/ptrace/monitor.go:91: regs.Orig_rax undefined (type syscall.PtraceRegs has no field or method Orig_rax) docker-slim/sensor/monitors/ptrace/monitor.go:99: regs.Rax undefined (type syscall.PtraceRegs has no field or method Rax) |
@kcq @sokoow docker-slim/sensor/monitors/ptrace/monitor.go:91: regs.Orig_rax undefined (type syscall.PtraceRegs has no field or method Orig_rax) docker-slim/sensor/monitors/ptrace/monitor.go:99: regs.Rax undefined (type syscall.PtraceRegs has no field or method Rax) I did not found a solution now. |
Moving ARM support to the Wishlist. Ping me if you want to help :-) |
Ping? :) |
I have built and tested out dockerslim on armhf, but had a make a few changes specific to the arm architecture in the ptrace module, as well as some of the packages in the vendor directory. Do you have any regression tests suites to run to ensure that nothing has broken for the x86 builds? |
Thank you for working on this Josh! This is great! There's no automated regression test suite at this point in time, but there's a set of sample applications you can minify and confirm everything is still working. The examples are now in a separate repo ( https://github.com/docker-slim/examples ). Checking if the minified |
I'm getting a following when trying to build on armhf:
The text was updated successfully, but these errors were encountered: