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

riscv64 musl? #813

Open
ludiazv opened this issue Dec 22, 2023 · 4 comments
Open

riscv64 musl? #813

ludiazv opened this issue Dec 22, 2023 · 4 comments

Comments

@ludiazv
Copy link

ludiazv commented Dec 22, 2023

Hi,
The market for small eSBC with riscv64 is exploding. Some vendors are providing linux working linux images based on musl instead of gnu. Is there any chance to have this image also available?

@richardhenwood
Copy link

I just saw a thread on webkit that was discussing a risc-v musl build using Alpine: webview/webview#1056 (comment)

That might provide a starting point if you are interested in starting hacking.

@ludiazv
Copy link
Author

ludiazv commented Jan 4, 2024

Thanks @richardhenwood ,

This is my current approach for musl. It basically requires to spin an Alpine container along side with QEMU multiarch. Is works but is not true cross-compliation, in fact is a native compilation in an emulated container.

The problem with this approach is that the build is emulated by QEMU and is slow. Even slower that with the same approach for ARM ( My assumption the qemu emulation for arm in a x86 host is more mature and optimised). For non trivial projects it takes forever to compile, I was looking for true cross-compilation alternatives to speed up the process.

@richardhenwood
Copy link

Thanks for taking the time to explain @ludiazv - in my experience emulation is not only slow but also can struggle if you have a JIT workload. I personally don't have time to spend with this project - but I'm a big fan of cross-compiling and I think this is a wonderful project!

Copy link

This issue is stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 30 days.

@github-actions github-actions bot added the Stale label May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants