[Bug target/103889] gccgo is unable to find its standard library by default on 64-Bit RISC-V due to musl not using multilib but still uses t-linux

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Jan 2 14:05:15 GMT 2022


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.


More information about the Gcc-bugs mailing list