[Bug target/104707] gcc on riscv64 isn't passing entire library path to the linker

2022-04-19 Thread jpalus+gcc at fastmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104707 --- Comment #5 from Jan Palus --- > Arm linux multilib is just as complex as riscvs really. Perhaps my understanding of multilib is wrong but I meant pure 32bit, single arch environment.

[Bug target/104707] gcc on riscv64 isn't passing entire library path to the linker

2022-04-19 Thread jpalus+gcc at fastmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104707 --- Comment #3 from Jan Palus --- 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