Skip to content

Pin riscv64 to march=rv64gc baseline#5842

Merged
hoyosjs merged 1 commit into
dotnet:mainfrom
am11:patch-4
May 14, 2026
Merged

Pin riscv64 to march=rv64gc baseline#5842
hoyosjs merged 1 commit into
dotnet:mainfrom
am11:patch-4

Conversation

@am11
Copy link
Copy Markdown
Member

@am11 am11 commented May 13, 2026

This change allows loading libsosplugin built on Ubuntu 26.04 when used with a rootfs based on the same OS.

Clang on Ubuntu 26.04 defaults to the RVA23 profile, which requires the V extension (among others). The toolchain and most other distros, however, target the Linux kernel baseline (rv64gc). This mismatch leads to issues when loading the plugin.

Context: dotnet/runtime#127919 (comment)

@hoyosjs hoyosjs merged commit 2584db8 into dotnet:main May 14, 2026
19 checks passed
@am11 am11 deleted the patch-4 branch May 14, 2026 07:40
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