Closed dmzimmerman closed 6 years ago
It appears that the Homebrew version of libmpfr changed (from 3.x to 4.x) back in December, and that changed the library version from 4 to 6... since the bottle was linked against library version 4, the bottle no longer works with up-to-date Homebrew packages. Rebuilding the formula from source fixed the problem (after about a half hour), so this is probably just a matter of replacing the bottled version with a current build.
Yes, I believe this is the same issue as in #15. I will probably rebuild the bottles in time for the next RISC-V workshop, and that should fix the default behavior for most people.
Ok, since Travis this issue breaks Travis, I just rebottled just riscv-gcc.
Attempting to compile a simple hello world with the High Sierra bottled riscv-gcc gives:
Looking in
/usr/local/opt/mpfr/lib
, it appears that there are alibmpfr.dylib
and alibmpfr.6.dylib
(as well as alibmpfr.a
), but nolibmpfr.4.dylib
. Symlinkinglibmpfr.6.dylib
tolibmpfr.4.dylib
allows gcc to work, but is clearly not a real solution to this problem.