Closed rasky closed 6 years ago
brew install isl
install_name_tool -change '@@HOMEBREW_PREFIX@@/opt/isl/lib/libisl.15.dylib' /usr/local/opt/isl/lib/libisl.dylib /usr/local/opt/musl-cross/libexec/libexec/gcc/x86_64-linux-musl/6.3.0/cc1
install_name_tool -change '@@HOMEBREW_PREFIX@@/opt/isl/lib/libisl.15.dylib' /usr/local/opt/isl/lib/libisl.dylib /usr/local/opt/musl-cross/libexec/libexec/gcc/x86_64-linux-musl/6.3.0/cc1plus
install_name_tool -change '@@HOMEBREW_PREFIX@@/opt/isl/lib/libisl.15.dylib' /usr/local/opt/isl/lib/libisl.dylib /usr/local/opt/musl-cross/libexec/libexec/gcc/x86_64-linux-musl/6.3.0/lto1
There seems to be a similar/identical issue preventing compilation of the non-bottled version on the current release of high sierra. Using the bottle plus the previous comment is a workaround, but so far as I can tell it doesn't help if you need ARM support.
Apparently, this issue is handled in upstream Homebrew by bumping the formula revision when the dependency bumps the dylib major version. See Homebrew/legacy-homebrew#12190 (unless something changed since).
However, linking the system ISL is suspect when all other libraries are linked from the musl-cross-make tree. Turns out that ISL is the only thing that by default is linked opportunistically.
I'll just make the ISL version explicit and link in tree.
Should be fixed if you brew upgrade musl-cross
!
Running the bottled version, I get:
It looks like cc1 has a dependency on libisl:
libisl wasn't installed automatically because its not declared as a dependency. Also, Hombrew now has libisl.19, not .15, so it doesn't work even if I try to install it.