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

Building for ARMv8? #64

Open
EtaoinWu opened this issue Oct 5, 2024 · 7 comments
Open

Building for ARMv8? #64

EtaoinWu opened this issue Oct 5, 2024 · 7 comments
Assignees
Labels
enhancement New feature or request

Comments

@EtaoinWu
Copy link

EtaoinWu commented Oct 5, 2024

Currently the docker image for meshping is only built for x64 and armv7. Running the armv7 image directly on a armv8 machine gives me:

exec /usr/bin/dumb-init: exec format error

It would be great if there are container images built for armv8 available.

@nook24
Copy link
Contributor

nook24 commented Oct 5, 2024

arm64 support would be nice

@Svedrin
Copy link
Owner

Svedrin commented Oct 5, 2024

While I do agree, I currently don't have an armv8 hardware to build on and I'm not sure my cross-compilation skills are up to par. I can give it a try, but I can't promise anything right now unfortunately.

@Svedrin Svedrin added the enhancement New feature or request label Oct 5, 2024
@Svedrin Svedrin self-assigned this Oct 5, 2024
@Svedrin
Copy link
Owner

Svedrin commented Oct 5, 2024

hm. it seems I managed to build it, but for some reason I can't get it included in the latest tag. Could you try running from the latest-arm64-v8 tag?

docker pull svedrin/meshping:latest-arm64-v8

For some reason the DroneCI docker manifest plugin fails to reference this image:

Couldn't find or access image reference "svedrin/meshping:latest-arm64-v8". Skipping image.

Not sure what's wrong...

@Svedrin
Copy link
Owner

Svedrin commented Oct 5, 2024

I tried dropping the v8 variant in 590fd1a, but no luck. I'll have to look into this further.

@EtaoinWu
Copy link
Author

EtaoinWu commented Oct 5, 2024

Weird: I have two ARMv8 devices, one VPS (with Neoverse-N1) and one local (with Cortex-A53). The ARMv7 build runs on the cortex but gives the dumb-init: exec format error on the neoverse.

I just tested and can confirm that latest-arm64-v8 runs on both.

@nook24
Copy link
Contributor

nook24 commented Oct 6, 2024

Can confirm, runs on my Raspberry Pi 4 Broadcom BCM2711, Quad core Cortex-A72 (ARM v8)

@Svedrin
Copy link
Owner

Svedrin commented Oct 6, 2024

Nice. I'm not sure how to deal with the tagging issue though, so I'll leave this issue open for the time being.

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

No branches or pull requests

3 participants