Closed hauhsu closed 6 years ago
A major upgrade to mpfr (version 4) was added to homebrew and I bet it is failing to link properly with the prebuilt bottle. What happens if you rebuild it yourself?
brew reinstall --build-from-source riscv-gcc
It works! Thank a lot :))
How long does the command take?
When I used
brew reinstall --build-from-source riscv-gcc
It is stuck in
==> Reinstalling riscv/riscv/riscv-gnu-toolchain ==> Cloning https://github.com/riscv/riscv-gnu-toolchain.git Updating /Users/vijayrajs/Library/Caches/Homebrew/riscv-gnu-toolchain--git ==> Checking out branch master
indefinitely
It can take a very long time depending on your internet connection speed and whether you are being throttled by Github. It is cloning the gcc git repo, which has quite a few files. Ideally it should take less than 30 minutes, but to be safe I would leave it running overnight.
when I run "brew reinstall --build-from-source riscv-gcc", it says 'Error: No available formula with the name "riscv-gcc"'
The riscv-gcc formula was renamed to riscv-gnu-toolchain.
Depending on the issues you were having, you may not need to rebuild from source since the bottles are relatively recent (rebuilt last month).
Hi, After installing riscv-tools with homebrew, I can't pass the test:
Is that because the version of mpfr library doesn't match?
I am running in macOS 10.13.3 Thanks