MacOS 10.13.6 compile fails

1,697 views
Skip to first unread message

Michael Vilain

unread,
Jul 12, 2022, 12:22:18 PM7/12/22
to isl Development
isl is used by brew as part of many utilities.

V0.25 was recently updated in the brew subsystem and upgrading to it on MacOS 10.13.6 fails. I don't have this problem with my M1 Studio running 12.4.

Is there a patch coming?

==> Upgrading 1 outdated package:
isl 0.24 -> 0.25
==> Downloading https://raw.githubusercontent.com/Homebrew/formula-patches/03cf8088210822aa2c1ab544ed58ea04c897d9c4/libtool/configure-big_sur.di
Already downloaded: /Users/vilain/Library/Caches/Homebrew/downloads/195208ba31cadc265ea97bb8aad4e78caab1200daf4d855e6c839b5f987f92db--configure-big_sur.diff
==> Downloading https://libisl.sourceforge.io/isl-0.25.tar.xz
Already downloaded: /Users/vilain/Library/Caches/Homebrew/downloads/dce6d1ed4d25c923a4ad350c4b9cdf03406f649cd55be8c385814703502b5c81--isl-0.25.tar.xz
==> Upgrading isl
  0.24 -> 0.25

==> Patching
==> Applying configure-big_sur.diff
patching file configure
Hunk #1 succeeded at 13866 (offset 5133 lines).
==> ./configure --prefix=/usr/local/Cellar/isl/0.25 --with-gmp=system --with-gmp-prefix=/usr/local/opt/gmp
==> make
Last 15 lines from /Users/vilain/Library/Logs/Homebrew/isl/02.make:
    constexpr value_type& value() &
                          ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/optional:933:33: note: candidate function has been explicitly made unavailable
    constexpr value_type const& value() const&
                                ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/optional:951:28: note: candidate function not viable: no known conversion from 'optional<...>' to 'optional<...>' for object argument
    constexpr value_type&& value() &&
                           ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/optional:960:34: note: candidate function not viable: no known conversion from 'optional<...>' to 'const optional<...>' for object argument
    constexpr value_type const&& value() const&&
                                 ^
2 errors generated.
make[2]: *** [isl_test_cpp17.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

DCSDCollector

unread,
Jul 12, 2022, 6:35:15 PM7/12/22
to isl Development
isl 0.25 will build using the latest llvm clang

brew uninstall --force isl && brew install isl --cc=llvm_clang

(llvm must be installed via homebrew for this)

Michael Vilain

unread,
Jul 13, 2022, 2:36:22 AM7/13/22
to isl Development
Actually, your solution didn't work. I get a 'llvm_clang cannot create executables' on my 10.13.6 system

% brew uninstall --ignore-dependencies --force isl && brew install isl --cc=llvm_clang
Warning: You passed `--cc=llvm_clang`.
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Twitter or any other official channels. You are responsible for resolving
any issues you experience while you are running this
unsupported configuration.

Warning: You are using macOS 10.13.
We (and Apple) do not provide support for this old version.
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Twitter or any other official channels. You are responsible for resolving
any issues you experience while you are running this
old version.


==> Downloading https://raw.githubusercontent.com/Homebrew/formula-patches/03cf8088210822aa2c1ab544ed58ea04c897d9c4/libtool/configure-big_sur.di
Already downloaded: /Users/vilain/Library/Caches/Homebrew/downloads/195208ba31cadc265ea97bb8aad4e78caab1200daf4d855e6c839b5f987f92db--configure-big_sur.diff
==> Downloading https://libisl.sourceforge.io/isl-0.25.tar.xz
Already downloaded: /Users/vilain/Library/Caches/Homebrew/downloads/dce6d1ed4d25c923a4ad350c4b9cdf03406f649cd55be8c385814703502b5c81--isl-0.25.tar.xz
==> Patching
==> Applying configure-big_sur.diff
patching file configure
Hunk #1 succeeded at 13866 (offset 5133 lines).
==> ./configure --prefix=/usr/local/Cellar/isl/0.25 --with-gmp=system --with-gmp-prefix=/usr/local/opt/gmp
Last 15 lines from /Users/vilain/Library/Logs/Homebrew/isl/01.configure:
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for gcc... llvm_clang
checking whether the C compiler works... no
configure: error: in `/private/tmp/isl-20220712-37821-1adem4q/isl-0.25':
configure: error: C compiler cannot create executables
See `config.log' for more details

Do not report this issue to Homebrew/brew or Homebrew/core!


I found this article which recommends using clang instead and that did compile, but with the same error I got with gcc.

% brew uninstall --ignore-dependencies --force isl && brew install isl --cc=clang
Running `brew update --auto-update`...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/cask).
==> Modified Casks
Modified 5 casks.

Warning: You passed `--cc=clang`.
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Twitter or any other official channels. You are responsible for resolving
any issues you experience while you are running this
unsupported configuration.

Warning: You are using macOS 10.13.
We (and Apple) do not provide support for this old version.
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Twitter or any other official channels. You are responsible for resolving
any issues you experience while you are running this
old version.


==> Downloading https://raw.githubusercontent.com/Homebrew/formula-patches/03cf8088210822aa2c1ab544ed58ea04c897d9c4/libtool/configure-big_sur.di
Already downloaded: /Users/vilain/Library/Caches/Homebrew/downloads/195208ba31cadc265ea97bb8aad4e78caab1200daf4d855e6c839b5f987f92db--configure-big_sur.diff
==> Downloading https://libisl.sourceforge.io/isl-0.25.tar.xz
Already downloaded: /Users/vilain/Library/Caches/Homebrew/downloads/dce6d1ed4d25c923a4ad350c4b9cdf03406f649cd55be8c385814703502b5c81--isl-0.25.tar.xz
==> Patching
==> Applying configure-big_sur.diff
patching file configure
Hunk #1 succeeded at 13866 (offset 5133 lines).
==> ./configure --prefix=/usr/local/Cellar/isl/0.25 --with-gmp=system --with-gmp-prefix=/usr/local/opt/gmp
==> make
Last 15 lines from /Users/vilain/Library/Logs/Homebrew/isl/02.make:
    constexpr value_type& value() &
                          ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/optional:933:33: note: candidate function has been explicitly made unavailable
    constexpr value_type const& value() const&
                                ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/optional:951:28: note: candidate function not viable: no known conversion from 'optional<...>' to 'optional<...>' for object argument
    constexpr value_type&& value() &&
                           ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/optional:960:34: note: candidate function not viable: no known conversion from 'optional<...>' to 'const optional<...>' for object argument
    constexpr value_type const&& value() const&&
                                 ^
2 errors generated.
make[2]: *** [isl_test_cpp17.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Do not report this issue to Homebrew/brew or Homebrew/core!

Any other suggestions? 

Michael Vilain

unread,
Jul 13, 2022, 2:36:22 AM7/13/22
to isl Development
I tried installing llvm with brew but it won't compile.

╰──► % brew install --force llvm

Warning: You are using macOS 10.13.
We (and Apple) do not provide support for this old version.
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Twitter or any other official channels. You are responsible for resolving
any issues you experience while you are running this
old version.

==> Downloading https://github.com/llvm/llvm-project/releases/download/llvmorg-14.0.6/llvm-project-14.0.6.src.tar.xz
Already downloaded: /Users/vilain/Library/Caches/Homebrew/downloads/ca2953276467b5dcc28485aa2b1afc3bcf32bbf84d5e0236f6284234afca2d8d--llvm-project-14.0.6.src.tar.xz
==> cmake -G Unix Makefiles .. -DLLVM_ENABLE_PROJECTS=clang;clang-tools-extra;lld;lldb;mlir;polly -DLLVM_ENABLE_RUNTIMES=compiler-rt;libcxx;libc
==> cmake --build .
Last 15 lines from /Users/vilain/Library/Logs/Homebrew/llvm/02.cmake:
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool" -static -no_warning_for_no_symbols -o ../../../../../../lib/liblldbPluginPlatformQemuUser.a CMakeFiles/lldbPluginPlatformQemuUser.dir/PlatformQemuUser.cpp.o
[ 81%] Built target lldbPluginPlatformQemuUser
[ 81%] Built target obj.MLIRTranslation
[ 81%] Built target clang-ast-dump
[ 81%] Linking CXX static library ../../../lib/liblldELF.a
cd /tmp/llvm-20220712-78557-bw5bvs/llvm-project-14.0.6.src/llvm/build/tools/lld/ELF && /usr/local/Cellar/cmake/3.23.2/bin/cmake -P CMakeFiles/lldELF.dir/cmake_clean_target.cmake
cd /tmp/llvm-20220712-78557-bw5bvs/llvm-project-14.0.6.src/llvm/build/tools/lld/ELF && /usr/local/Cellar/cmake/3.23.2/bin/cmake -E cmake_link_script CMakeFiles/lldELF.dir/link.txt --verbose=1
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool" -static -no_warning_for_no_symbols -o ../../../lib/liblldELF.a CMakeFiles/lldELF.dir/AArch64ErrataFix.cpp.o CMakeFiles/lldELF.dir/Arch/AArch64.cpp.o CMakeFiles/lldELF.dir/Arch/AMDGPU.cpp.o CMakeFiles/lldELF.dir/Arch/ARM.cpp.o CMakeFiles/lldELF.dir/Arch/AVR.cpp.o CMakeFiles/lldELF.dir/Arch/Hexagon.cpp.o CMakeFiles/lldELF.dir/Arch/Mips.cpp.o CMakeFiles/lldELF.dir/Arch/MipsArchTree.cpp.o CMakeFiles/lldELF.dir/Arch/MSP430.cpp.o CMakeFiles/lldELF.dir/Arch/PPC.cpp.o CMakeFiles/lldELF.dir/Arch/PPC64.cpp.o CMakeFiles/lldELF.dir/Arch/RISCV.cpp.o CMakeFiles/lldELF.dir/Arch/SPARCV9.cpp.o CMakeFiles/lldELF.dir/Arch/X86.cpp.o CMakeFiles/lldELF.dir/Arch/X86_64.cpp.o CMakeFiles/lldELF.dir/ARMErrataFix.cpp.o CMakeFiles/lldELF.dir/CallGraphSort.cpp.o CMakeFiles/lldELF.dir/DWARF.cpp.o CMakeFiles/lldELF.dir/Driver.cpp.o CMakeFiles/lldELF.dir/DriverUtils.cpp.o CMakeFiles/lldELF.dir/EhFrame.cpp.o CMakeFiles/lldELF.dir/ICF.cpp.o CMakeFiles/lldELF.dir/InputFiles.cpp.o CMakeFiles/lldELF.dir/InputSection.cpp.o CMakeFiles/lldELF.dir/LTO.cpp.o CMakeFiles/lldELF.dir/LinkerScript.cpp.o CMakeFiles/lldELF.dir/MapFile.cpp.o CMakeFiles/lldELF.dir/MarkLive.cpp.o CMakeFiles/lldELF.dir/OutputSections.cpp.o CMakeFiles/lldELF.dir/Relocations.cpp.o CMakeFiles/lldELF.dir/ScriptLexer.cpp.o CMakeFiles/lldELF.dir/ScriptParser.cpp.o CMakeFiles/lldELF.dir/SymbolTable.cpp.o CMakeFiles/lldELF.dir/Symbols.cpp.o CMakeFiles/lldELF.dir/SyntheticSections.cpp.o CMakeFiles/lldELF.dir/Target.cpp.o CMakeFiles/lldELF.dir/Thunks.cpp.o CMakeFiles/lldELF.dir/Writer.cpp.o
[ 81%] Built target lldELF
[ 81%] Built target obj.MLIRLspServerLib
[ 81%] Linking CXX shared library ../../../../lib/libclang.dylib
cd /tmp/llvm-20220712-78557-bw5bvs/llvm-project-14.0.6.src/llvm/build/tools/clang/tools/libclang && /usr/local/Cellar/cmake/3.23.2/bin/cmake -E cmake_link_script CMakeFiles/libclang.dir/link.txt --verbose=1
/usr/local/Homebrew/Library/Homebrew/shims/mac/super/clang++ -march=core2 -stdlib=libc++ -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -fno-common -Woverloaded-virtual -Wno-nested-anon-types -O3 -DNDEBUG -dynamiclib -Wl,-headerpad_max_install_names  -Wl,-dead_strip -Wl,-exported_symbols_list,"/tmp/llvm-20220712-78557-bw5bvs/llvm-project-14.0.6.src/llvm/build/tools/clang/tools/libclang/libclang.exports" -Wl,-compatibility_version -Wl,1 -Wl,-current_version -Wl,14.0.6  -stdlib=libc++ -o ../../../../lib/libclang.dylib -install_name @rpath/libclang.dylib CMakeFiles/libclang.dir/ARCMigrate.cpp.o CMakeFiles/libclang.dir/BuildSystem.cpp.o CMakeFiles/libclang.dir/CIndex.cpp.o CMakeFiles/libclang.dir/CIndexCXX.cpp.o CMakeFiles/libclang.dir/CIndexCodeCompletion.cpp.o CMakeFiles/libclang.dir/CIndexDiagnostic.cpp.o CMakeFiles/libclang.dir/CIndexHigh.cpp.o CMakeFiles/libclang.dir/CIndexInclusionStack.cpp.o CMakeFiles/libclang.dir/CIndexUSRs.cpp.o CMakeFiles/libclang.dir/CIndexer.cpp.o CMakeFiles/libclang.dir/CXComment.cpp.o CMakeFiles/libclang.dir/CXCursor.cpp.o CMakeFiles/libclang.dir/CXIndexDataConsumer.cpp.o CMakeFiles/libclang.dir/CXCompilationDatabase.cpp.o CMakeFiles/libclang.dir/CXLoadedDiagnostic.cpp.o CMakeFiles/libclang.dir/CXSourceLocation.cpp.o CMakeFiles/libclang.dir/CXStoredDiagnostic.cpp.o CMakeFiles/libclang.dir/CXString.cpp.o CMakeFiles/libclang.dir/CXType.cpp.o CMakeFiles/libclang.dir/Indexing.cpp.o CMakeFiles/libclang.dir/FatalErrorHandler.cpp.o CMakeFiles/libclang.dir/Rewrite.cpp.o  -Wl,-rpath,@loader_path/../lib ../../../../lib/libclangAST.a ../../../../lib/libclangBasic.a ../../../../lib/libclangDriver.a ../../../../lib/libclangFrontend.a ../../../../lib/libclangIndex.a ../../../../lib/libclangLex.a ../../../../lib/libclangRewrite.a ../../../../lib/libclangSema.a ../../../../lib/libclangSerialization.a ../../../../lib/libclangTooling.a ../../../../lib/libclangARCMigrate.a ../../../../lib/libclangFormat.a ../../../../lib/libclangToolingInclusions.a ../../../../lib/libclangToolingCore.a ../../../../lib/libclangFrontend.a ../../../../lib/libclangDriver.a ../../../../lib/libclangParse.a ../../../../lib/libclangRewrite.a ../../../../lib/libclangSerialization.a ../../../../lib/libclangSema.a ../../../../lib/libclangEdit.a ../../../../lib/libclangAnalysis.a ../../../../lib/libclangASTMatchers.a ../../../../lib/libclangAST.a ../../../../lib/libclangLex.a ../../../../lib/libclangBasic.a ../../../../lib/libLLVM.dylib
[ 81%] Built target libclang
gmake: *** [all] Error 2


Do not report this issue to Homebrew/brew or Homebrew/core!

These open issues may also help:
llvm: don't add HOMEBREW_PREFIX/lib to RPATH on Linux https://github.com/Homebrew/homebrew-core/pull/105092


On Tuesday, July 12, 2022 at 3:35:15 PM UTC-7 DCSDCollector wrote:

Sven Verdoolaege

unread,
Jul 13, 2022, 2:54:00 AM7/13/22
to Michael Vilain, isl Development
On Mon, Jul 11, 2022 at 04:25:38PM -0700, Michael Vilain wrote:
> ==> ./configure --prefix=/usr/local/Cellar/isl/0.25 --with-gmp=system
> --with-gmp-prefix=/usr/local/opt/gmp
> ==> make
> Last 15 lines from /Users/vilain/Library/Logs/Homebrew/isl/02.make:
> constexpr value_type& value() &
> ^
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/optional:933:33:
> note: candidate function has been explicitly made unavailable
> constexpr value_type const& value() const&
> ^

Where does this error occur?
That is, what is the last compilation command? (Use "make V=1")
Also, send your config.log.

skimo

Michael Vilain

unread,
Jul 13, 2022, 11:48:56 AM7/13/22
to isl Development
I went back and reread the posts here and ultimately discovered the brew llvm wasn't installed on my system. I was using the one that came with Xcode 10.1.  When I tried to install brew's llvm, it failed, as did brew's gcc 11.

╰──► % brew install llvm

Running `brew update --auto-update`...
==> Auto-updated Homebrew!
Updated 2 taps (homebrew/core and homebrew/cask).
==> Modified Formulae
Modified 11 formulae.
==> Modified Casks
Modified 1 cask.


Warning: You are using macOS 10.13.
We (and Apple) do not provide support for this old version.
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Twitter or any other official channels. You are responsible for resolving
any issues you experience while you are running this
old version.

==> Downloading https://github.com/llvm/llvm-project/releases/download/llvmorg-14.0.6/llvm-project-14.0.6.src.tar.xz
Already downloaded: /Users/vilain/Library/Caches/Homebrew/downloads/ca2953276467b5dcc28485aa2b1afc3bcf32bbf84d5e0236f6284234afca2d8d--llvm-project-14.0.6.src.tar.xz
==> cmake -G Unix Makefiles .. -DLLVM_ENABLE_PROJECTS=clang;clang-tools-extra;lld;lldb;mlir;polly -DLLVM_ENABLE_RUNTIMES=compiler-rt;libcxx;libc
==> cmake --build .
Last 15 lines from /Users/vilain/Library/Logs/Homebrew/llvm/02.cmake:
[ 81%] Linking CXX static library ../../../../../../lib/liblldbPluginPlatformQemuUser.a
cd /tmp/llvm-20220713-79362-b0pdl1/llvm-project-14.0.6.src/llvm/build/tools/lldb/source/Plugins/Platform/QemuUser && /usr/local/Cellar/cmake/3.23.2/bin/cmake -P CMakeFiles/lldbPluginPlatformQemuUser.dir/cmake_clean_target.cmake
cd /tmp/llvm-20220713-79362-b0pdl1/llvm-project-14.0.6.src/llvm/build/tools/lldb/source/Plugins/Platform/QemuUser && /usr/local/Cellar/cmake/3.23.2/bin/cmake -E cmake_link_script CMakeFiles/lldbPluginPlatformQemuUser.dir/link.txt --verbose=1

"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool" -static -no_warning_for_no_symbols -o ../../../../../../lib/liblldbPluginPlatformQemuUser.a CMakeFiles/lldbPluginPlatformQemuUser.dir/PlatformQemuUser.cpp.o
[ 81%] Built target lldbPluginPlatformQemuUser
[ 81%] Linking CXX static library ../../../lib/liblldELF.a
cd /tmp/llvm-20220713-79362-b0pdl1/llvm-project-14.0.6.src/llvm/build/tools/lld/ELF && /usr/local/Cellar/cmake/3.23.2/bin/cmake -P CMakeFiles/lldELF.dir/cmake_clean_target.cmake
cd /tmp/llvm-20220713-79362-b0pdl1/llvm-project-14.0.6.src/llvm/build/tools/lld/ELF && /usr/local/Cellar/cmake/3.23.2/bin/cmake -E cmake_link_script CMakeFiles/lldELF.dir/link.txt --verbose=1

"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool" -static -no_warning_for_no_symbols -o ../../../lib/liblldELF.a CMakeFiles/lldELF.dir/AArch64ErrataFix.cpp.o CMakeFiles/lldELF.dir/Arch/AArch64.cpp.o CMakeFiles/lldELF.dir/Arch/AMDGPU.cpp.o CMakeFiles/lldELF.dir/Arch/ARM.cpp.o CMakeFiles/lldELF.dir/Arch/AVR.cpp.o CMakeFiles/lldELF.dir/Arch/Hexagon.cpp.o CMakeFiles/lldELF.dir/Arch/Mips.cpp.o CMakeFiles/lldELF.dir/Arch/MipsArchTree.cpp.o CMakeFiles/lldELF.dir/Arch/MSP430.cpp.o CMakeFiles/lldELF.dir/Arch/PPC.cpp.o CMakeFiles/lldELF.dir/Arch/PPC64.cpp.o CMakeFiles/lldELF.dir/Arch/RISCV.cpp.o CMakeFiles/lldELF.dir/Arch/SPARCV9.cpp.o CMakeFiles/lldELF.dir/Arch/X86.cpp.o CMakeFiles/lldELF.dir/Arch/X86_64.cpp.o CMakeFiles/lldELF.dir/ARMErrataFix.cpp.o CMakeFiles/lldELF.dir/CallGraphSort.cpp.o CMakeFiles/lldELF.dir/DWARF.cpp.o CMakeFiles/lldELF.dir/Driver.cpp.o CMakeFiles/lldELF.dir/DriverUtils.cpp.o CMakeFiles/lldELF.dir/EhFrame.cpp.o CMakeFiles/lldELF.dir/ICF.cpp.o CMakeFiles/lldELF.dir/InputFiles.cpp.o CMakeFiles/lldELF.dir/InputSection.cpp.o CMakeFiles/lldELF.dir/LTO.cpp.o CMakeFiles/lldELF.dir/LinkerScript.cpp.o CMakeFiles/lldELF.dir/MapFile.cpp.o CMakeFiles/lldELF.dir/MarkLive.cpp.o CMakeFiles/lldELF.dir/OutputSections.cpp.o CMakeFiles/lldELF.dir/Relocations.cpp.o CMakeFiles/lldELF.dir/ScriptLexer.cpp.o CMakeFiles/lldELF.dir/ScriptParser.cpp.o CMakeFiles/lldELF.dir/SymbolTable.cpp.o CMakeFiles/lldELF.dir/Symbols.cpp.o CMakeFiles/lldELF.dir/SyntheticSections.cpp.o CMakeFiles/lldELF.dir/Target.cpp.o CMakeFiles/lldELF.dir/Thunks.cpp.o CMakeFiles/lldELF.dir/Writer.cpp.o
[ 81%] Built target lldELF
[ 81%] Linking CXX shared library ../../../../lib/libclang.dylib
cd /tmp/llvm-20220713-79362-b0pdl1/llvm-project-14.0.6.src/llvm/build/tools/clang/tools/libclang && /usr/local/Cellar/cmake/3.23.2/bin/cmake -E cmake_link_script CMakeFiles/libclang.dir/link.txt --verbose=1
/usr/local/Homebrew/Library/Homebrew/shims/mac/super/clang++ -march=core2 -stdlib=libc++ -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -fno-common -Woverloaded-virtual -Wno-nested-anon-types -O3 -DNDEBUG -dynamiclib -Wl,-headerpad_max_install_names  -Wl,-dead_strip -Wl,-exported_symbols_list,"/tmp/llvm-20220713-79362-b0pdl1/llvm-project-14.0.6.src/llvm/build/tools/clang/tools/libclang/libclang.exports" -Wl,-compatibility_version -Wl,1 -Wl,-current_version -Wl,14.0.6  -stdlib=libc++ -o ../../../../lib/libclang.dylib -install_name @rpath/libclang.dylib CMakeFiles/libclang.dir/ARCMigrate.cpp.o CMakeFiles/libclang.dir/BuildSystem.cpp.o CMakeFiles/libclang.dir/CIndex.cpp.o CMakeFiles/libclang.dir/CIndexCXX.cpp.o CMakeFiles/libclang.dir/CIndexCodeCompletion.cpp.o CMakeFiles/libclang.dir/CIndexDiagnostic.cpp.o CMakeFiles/libclang.dir/CIndexHigh.cpp.o CMakeFiles/libclang.dir/CIndexInclusionStack.cpp.o CMakeFiles/libclang.dir/CIndexUSRs.cpp.o CMakeFiles/libclang.dir/CIndexer.cpp.o CMakeFiles/libclang.dir/CXComment.cpp.o CMakeFiles/libclang.dir/CXCursor.cpp.o CMakeFiles/libclang.dir/CXIndexDataConsumer.cpp.o CMakeFiles/libclang.dir/CXCompilationDatabase.cpp.o CMakeFiles/libclang.dir/CXLoadedDiagnostic.cpp.o CMakeFiles/libclang.dir/CXSourceLocation.cpp.o CMakeFiles/libclang.dir/CXStoredDiagnostic.cpp.o CMakeFiles/libclang.dir/CXString.cpp.o CMakeFiles/libclang.dir/CXType.cpp.o CMakeFiles/libclang.dir/Indexing.cpp.o CMakeFiles/libclang.dir/FatalErrorHandler.cpp.o CMakeFiles/libclang.dir/Rewrite.cpp.o  -Wl,-rpath,@loader_path/../lib ../../../../lib/libclangAST.a ../../../../lib/libclangBasic.a ../../../../lib/libclangDriver.a ../../../../lib/libclangFrontend.a ../../../../lib/libclangIndex.a ../../../../lib/libclangLex.a ../../../../lib/libclangRewrite.a ../../../../lib/libclangSema.a ../../../../lib/libclangSerialization.a ../../../../lib/libclangTooling.a ../../../../lib/libclangARCMigrate.a ../../../../lib/libclangFormat.a ../../../../lib/libclangToolingInclusions.a ../../../../lib/libclangToolingCore.a ../../../../lib/libclangFrontend.a ../../../../lib/libclangDriver.a ../../../../lib/libclangParse.a ../../../../lib/libclangRewrite.a ../../../../lib/libclangSerialization.a ../../../../lib/libclangSema.a ../../../../lib/libclangEdit.a ../../../../lib/libclangAnalysis.a ../../../../lib/libclangASTMatchers.a ../../../../lib/libclangAST.a ../../../../lib/libclangLex.a ../../../../lib/libclangBasic.a ../../../../lib/libLLVM.dylib

[ 81%] Built target libclang
gmake: *** [all] Error 2

Do not report this issue to Homebrew/brew or Homebrew/core!


isl is a requirement for btop and gcc. Otherwise, I don't need it on my machine.  Given the unsupported nature of brew on 10.13 and the parts required to maintain btop (it took 3 hours to compile), I stripped it along with gcc and isl from my system.

So there's no log to see.

Thanks for your help, though.

konnano

unread,
Oct 15, 2022, 3:44:00 AM10/15/22
to isl Development
only isl succeeds

brew install llvm@13
brew link llvm@13
cd /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
mv clang clang_buck
ln -s /usr/local/bin/clang clang
brew install isl
rm clang
mv clang_buck clang

Error gcc@11

2022年7月14日木曜日 0:48:56 UTC+9 Michael Vilain:

Sven Verdoolaege

unread,
Oct 15, 2022, 3:48:06 AM10/15/22
to konnano, isl Development
On Sat, Oct 15, 2022 at 12:38:50AM -0700, konnano wrote:
> only isl succeeds

Are you implying something else failed?
I didn't get it.

skimo
Reply all
Reply to author
Forward
0 new messages