riscv-software-src / riscv-tests

Other
902 stars 463 forks source link

unable to build in mac #586

Closed quantrpeter closed 3 weeks ago

quantrpeter commented 3 weeks ago

Hi All latest riscv-gnu-toolchain can't work with riscv-tests, unable to build in mac

gcc -v
Apple clang version 14.0.0 (clang-1400.0.29.202)
Target: x86_64-apple-darwin21.6.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
image
TommyMurphyTM1234 commented 3 weeks ago

Any use?

quantrpeter commented 3 weeks ago

Just tried Pull request https://github.com/riscv-software-src/riscv-tests/pull/585, it works, please merge it into main branch :-)

TommyMurphyTM1234 commented 3 weeks ago

Just tried Pull request #585, it works, please merge it into main branch :-)

I don't think that it can based on @aswaterman's comment here: