Open sauntheninja2 opened 3 years ago
Hello, I've also had this issue. In my case I was trying to run make
after installing the AUR package riscv-gnu-toolchain-bin (I never tried with the non-bin version). I could not find any information about this except that it might be related to the use of --multilib
when building the package.
Anyway, I was able to compile and run xv6 by installing both parts of the toolchain from the community packages (riscv64-linux-gnu-gcc and riscv64-elf-gcc, both pull additional dependencies of the complete toolchain).
Hope this helps!
Successfully built the toolchain but failing to run make qemu command on Arch Linux
Output:: kernel/entry.o] Error 1`
riscv64-unknown-elf-gcc -c -o kernel/entry.o kernel/entry.SAssembler messages: Fatal error: invalid -march= option:
rv64imafdc' make: *** [