https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103889
--- Comment #11 from John Doe <bau2wux4sh at pkv73 dot anonbox.net> --- (In reply to Andrew Pinski from comment #10) > Well RISCV port is new enough that nobody has tested --disable-multilib and > put things in /lib/ really. Really there should be a > gcc/config/riscv/t-linux-musl which does no do any of the multilib stuff and > that should be used for musl only. Right, but I assume this problem should also exist on glibc systems which only have /lib/ instead of /lib64/ then. So apart from adding a gcc/config/riscv/t-linux-musl file in the future, the existing gcc/config/riscv/t-linux should also be fixed IMHO :)