There is an updated pull request by Johnnynator against master on the void-packages repository https://github.com/Johnnynator/void-packages riscv64gcc https://github.com/void-linux/void-packages/pull/45183 Autolink libatomic, add riscv64 toolchains Cleaning up my $dev branch - gcc: use --enable-autolink-libatomic for platforms that often need atomics. - gcc: add riscv. - New package: cross-riscv64-linux-gnu-0.35 - New package: cross-riscv64-linux-musl-0.35 [ci skip] A patch file from https://github.com/void-linux/void-packages/pull/45183.patch is attached