-
Notifications
You must be signed in to change notification settings - Fork 11
Following README fails with "unrecognized argument in option ‘-mcmodel=medany’" #26
Comments
@abejgonzalez can you confirm that your recent changes to build-tools.sh work? Looks like the RISCV toolchain is not appearing in the PATH. @jeehoonkang I would verify that $RISCV/bin contains the riscv-gcc binaries. |
@jerryz123 My $RISCV/bin contains I digged further this issue, and it seems related to Archlinux (or Manjaro Linux). On Ubuntu (via docker on Manjaro Linux), this problem does not occur at all. |
I can confirm that it works on Ubuntu. |
Strangely, on my Ubuntu 18.04 (via VirtualBox on Manjaro Linux), it doesn't work...
My Some meta information:
|
This is my .../riscv-tools/build.sh file:
Why in your log after "Installation project risc v-isa-sim" is displayed "Removing existing riscv-pk/build directory"? Please show your file .../riscv-tools/build.sh. |
I can reproduce this behavior on my Debian 9 system. Is there any activity to resolve this issue? |
Please paste contents of your build.sh. @pentin-as is correct, it seems odd there is no build gnu-toolchain step. |
I'm following the README as follows:
But the last line says:
I found some related issues, but I'm reporting here because it'd be better for this repo's README to be updated as well.
Here is some meta information:
The text was updated successfully, but these errors were encountered: