litex-hub / linux-on-litex-vexriscv

Linux on LiteX-VexRiscv
BSD 2-Clause "Simplified" License
550 stars 174 forks source link

Missing riscv64-unknown-linux-gnu-gcc-ar #356

Open zacky1972 opened 8 months ago

zacky1972 commented 8 months ago

Hi,

I compiled the master branch of linux-on-litex-vexriscv with installing the master branch of riscv-gnu-toolchain on Oct. 5, 2023.

When I run ./sim.py, I got the following error:

../../../../../pythondata-software-picolibc/pythondata_software_picolibc/data/meson.build:35:0: ERROR: Unknown linker(s): [['riscv64-unknown-linux-gnu-gcc-ar']]
The following exception(s) were encountered:
Running `riscv64-unknown-linux-gnu-gcc-ar --version` gave "[Errno 2] No such file or directory: 'riscv64-unknown-linux-gnu-gcc-ar'"

Can I modify meson.build to use riscv64-unknown-linux-gnu-ar instead of riscv64-unknown-linux-gnu-gcc-ar?