Commit 2584db8
authored
Pin riscv64 to march=rv64gc baseline (dotnet#5842)
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)1 parent 7021006 commit 2584db8
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
775 | 775 | | |
776 | 776 | | |
777 | 777 | | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
778 | 783 | | |
779 | 784 | | |
780 | 785 | | |
| |||
0 commit comments