Skip to content

Conversation

@ffgan
Copy link
Contributor

@ffgan ffgan commented Jan 3, 2026

Recently, I've been trying to add riscv64 support to coreutils.

I've already opened a related issue to describe in detail the provision of riscv64 support. You can check the issue for more information.

This PR is slightly different from what's described in the issue. The issue describes local compilation regarding riscv64+glibc, whereas this PR uses cross-compilation for riscv64+musl. For this PR, only a few minor modifications are needed to build coreutils for riscv64, and it runs well on my riscv64 system. Everything ran smoothly in the CI on my fork - you can see the details here. Since I noticed that cross-compilation for arm64 on x86 also skips tests, I haven't added tests for riscv64+musl here either.

For testing on riscv64, please refer to the content in my issue.
If you think testing for riscv64+musl is necessary, feel free to @ me directly - I'd be happy to help complete this part.


Other Info
Co-authored by: nijincheng@iscas.ac.cn;

Co-authored by: nijincheng@iscas.ac.cn;

Signed-off-by: ffgan <sudoemt@gmail.com>
@sylvestre sylvestre merged commit 49466a3 into uutils:main Jan 3, 2026
131 checks passed
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

Successfully merging this pull request may close these issues.

2 participants