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

arm64 FreeBSD & NetBSD #55

Closed
chipsenkbeil opened this issue Jul 5, 2023 · 7 comments
Closed

arm64 FreeBSD & NetBSD #55

chipsenkbeil opened this issue Jul 5, 2023 · 7 comments

Comments

@chipsenkbeil
Copy link

I noticed that FreeBSD only offers x86_64 and not arm64 compared to OpenBSD. Is there any chance of FreeBSD arm64 being available? For that matter, NetBSD aarch64?

@chipsenkbeil chipsenkbeil changed the title arm64 FreeBSD arm64 FreeBSD & NetBSD Jul 5, 2023
@jacob-carlborg
Copy link
Contributor

Yes, I plan to add support for FreeBSD and NetBSD on ARM64. It was easier with OpenBSD. With FreeBSD, last time I tried, there was some weird issue in the interaction between Packer and the firmware. I don't remember the exact details of what didn't work with NetBSD.

@chipsenkbeil
Copy link
Author

Great to hear! Would be a huge help for me - and I'm assuming many others - to be able to more easily build on those platforms in a consistent manner.

For me in particular, my project is a Rust-based one, and the tooling to manage versions of the Rust compiler isn't available on many of the non-x86 architectures, but the compiler itself is. So being able to spin up an arm64 version of FreeBSD or NetBSD to build against would both simplify my workstream and let me test the builds versus just cross-compiling.

@jacob-carlborg
Copy link
Contributor

FreeBSD for ARM64 is now available: https://github.com/cross-platform-actions/action/releases/tag/v0.16.0.

@schmonz
Copy link

schmonz commented Jan 27, 2024

NetBSD/aarch64 now runs much better virtualized than it did in 9.3. For instance, on macOS/aarch64, I couldn't get my NetBSD 9 VM running under anything better than -accel tcg -cpu cortex-a53. A NetBSD 10 release candidate runs with -accel hvf -cpu host and is, predictably, much more performant. Dunno whether GItHub provides aarch64 hosts, but in any case it might be a good time to try again.

@jacob-carlborg
Copy link
Contributor

@schmonz

NetBSD/aarch64 now runs much better virtualized than it did in 9.3

I'm already working on it. I have NetBSD 10 RC2 more or less working. I've managed to get it to boot in the GitHub action yesterday [1]. I did run into some issue when installing NetBSD, it failed to setup pkgin. I think there were some missing package servers. I hope that's because it's not a final release yet.

Dunno whether GItHub provides aarch64 hosts

They do have macOS large runners running on Apple Silicon in beta now. But I don't have access to those.

[1] https://github.com/cross-platform-actions/action/actions/runs/7679908323/job/20931321519

korli added a commit to korli/action that referenced this issue Mar 15, 2024
Release 0.16.0

Added
- Add support for FreeBSD ARM64 ([cross-platform-actions#55](cross-platform-actions#55))
@jacob-carlborg
Copy link
Contributor

Fixed in 141cc29.

@jacob-carlborg
Copy link
Contributor

NetBSD for ARM64 is now available in: https://github.com/cross-platform-actions/action/releases/tag/v0.24.0.

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

3 participants