https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103889
--- Comment #12 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to John Doe from comment #11) > 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 :) Because the Linux-gnu folks will always use lib64 instead of lib here. So there is no need to fix gcc/config/riscv/t-linux. There is a LSF on purpose which I thought defined this all for *-*-linux-gnu across distros.