riscv-software-src / riscv-tools

RISC-V Tools (ISA Simulator and Tests)
1.14k stars 447 forks source link

riscv-tests debug-check target fails due to conflicting -a and -r flags on cp #126

Open mehnadnerd opened 7 years ago

mehnadnerd commented 7 years ago

The commit 130702297a010b4a2e7452bb48f0da88c0b30aa9 on riscv-tests (the one referenced in this repository, and hence installed if the directions are followed) has a bug in its makefile. The target debug-check will fail because of the conflicting -a and -r flags with the message "cp: the -R and -r options may not be specified together." on macOS 10.12.6. I was able to fix this by removing the -r flag from the cp command. The newer version of riscv-tests does not have this issue, it was fixed in commit b6e0c83dbbb4041da325097d5e3b6a592bd2b812 when the cp command was removed altogether.