[Bug target/104707] gcc on riscv64 isn't passing entire library path to the linker
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Apr 19 11:00:42 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104707
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Jan Palus from comment #3)
> I doubt this has anything to do with riscv or multilib. It's just gcc that
> assumes all linkers should lookup /lib and /usr/lib and skips them when
> passing library paths to linker:
>
> https://gcc.gnu.org/git/?p=gcc.git;a=blob;f=gcc/gcc.cc;
> h=bb07cc244e30fbeccc701816db888f497d65eb08;hb=refs/heads/master#l7931
>
> I had the same issue on arm (32-bit) so no riscv, no multilib and dropping
> this logic fixes the issue.
Arm linux multilib is just as complex as riscvs really.
More information about the Gcc-bugs
mailing list