Opened 3 years ago

Closed 3 years ago

#64187 closed defect (fixed)

Add a patch to libtapi to fix a build on PPC: vector to __vector in Lexer.cpp

Reported by: barracuda156 Owned by: barracuda156
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: powerpc, leopard, snowleopard Cc:
Port: libtapi

Description

In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/apple-libtapi-664b84/src/llvm/lib/Support/Threading.cpp:90:0:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/apple-libtapi-664b84/src/llvm/lib/Support/Unix/Threading.inc: In function 'void llvm::set_thread_name(const llvm::Twine&)':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/apple-libtapi-664b84/src/llvm/lib/Support/Unix/Threading.inc:157:5: error: '::pthread_setname_np' has not been declared
   ::pthread_setname_np(NameStr.data());
     ^~~~~~~~~~~~~~~~~~
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/apple-libtapi-664b84/src/llvm/lib/Support/Unix/Threading.inc:157:5: note: suggested alternative: 'thread_state_t'
   ::pthread_setname_np(NameStr.data());
     ^~~~~~~~~~~~~~~~~~
     thread_state_t
make[3]: *** [lib/Support/CMakeFiles/LLVMSupport.dir/Threading.cpp.o] Error 1
make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build'
make[2]: *** [lib/Support/CMakeFiles/LLVMSupport.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
[ 61%] Building CXX object projects/clang/utils/TableGen/CMakeFiles/obj.clang-tblgen.dir/NeonEmitter.cpp.o
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build/projects/clang/utils/TableGen && /opt/local/bin/g++-mp-7  -DGTEST_HAS_RTTI=0 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build/projects/clang/utils/TableGen -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/apple-libtapi-664b84/src/llvm/projects/clang/utils/TableGen -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/apple-libtapi-664b84/src/llvm/projects/clang/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build/projects/clang/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/apple-libtapi-664b84/src/llvm/include  -I /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/apple-libtapi-664b84/src/llvm/projects/clang/include -I /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build/projects/clang/include -fPIC -fvisibility-inlines-hidden -Werror=date-time -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-maybe-uninitialized -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -fno-common -Woverloaded-virtual -fno-strict-aliasing -O3 -DNDEBUG -arch ppc -mmacosx-version-min=10.5    -fno-exceptions -fno-rtti -o CMakeFiles/obj.clang-tblgen.dir/NeonEmitter.cpp.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/apple-libtapi-664b84/src/llvm/projects/clang/utils/TableGen/NeonEmitter.cpp
[ 61%] Building CXX object projects/clang/utils/TableGen/CMakeFiles/obj.clang-tblgen.dir/TableGen.cpp.o
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build/projects/clang/utils/TableGen && /opt/local/bin/g++-mp-7  -DGTEST_HAS_RTTI=0 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build/projects/clang/utils/TableGen -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/apple-libtapi-664b84/src/llvm/projects/clang/utils/TableGen -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/apple-libtapi-664b84/src/llvm/projects/clang/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build/projects/clang/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/apple-libtapi-664b84/src/llvm/include  -I /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/apple-libtapi-664b84/src/llvm/projects/clang/include -I /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build/projects/clang/include -fPIC -fvisibility-inlines-hidden -Werror=date-time -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-maybe-uninitialized -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -fno-common -Woverloaded-virtual -fno-strict-aliasing -O3 -DNDEBUG -arch ppc -mmacosx-version-min=10.5    -fno-exceptions -fno-rtti -o CMakeFiles/obj.clang-tblgen.dir/TableGen.cpp.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/apple-libtapi-664b84/src/llvm/projects/clang/utils/TableGen/TableGen.cpp
[ 61%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/RISCVCompressInstEmitter.cpp.o
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build/utils/TableGen && /opt/local/bin/g++-mp-7  -DGTEST_HAS_RTTI=0 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build/utils/TableGen -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/apple-libtapi-664b84/src/llvm/utils/TableGen -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/apple-libtapi-664b84/src/llvm/include  -I /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/apple-libtapi-664b84/src/llvm/projects/clang/include -I /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build/projects/clang/include -fPIC -fvisibility-inlines-hidden -Werror=date-time -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-maybe-uninitialized -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -O3 -DNDEBUG -arch ppc -mmacosx-version-min=10.5    -fno-exceptions -fno-rtti -o CMakeFiles/obj.llvm-tblgen.dir/RISCVCompressInstEmitter.cpp.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/apple-libtapi-664b84/src/llvm/utils/TableGen/RISCVCompressInstEmitter.cpp
[ 61%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/RegisterBankEmitter.cpp.o
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build/utils/TableGen && /opt/local/bin/g++-mp-7  -DGTEST_HAS_RTTI=0 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build/utils/TableGen -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/apple-libtapi-664b84/src/llvm/utils/TableGen -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/apple-libtapi-664b84/src/llvm/include  -I /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/apple-libtapi-664b84/src/llvm/projects/clang/include -I /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build/projects/clang/include -fPIC -fvisibility-inlines-hidden -Werror=date-time -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-maybe-uninitialized -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -O3 -DNDEBUG -arch ppc -mmacosx-version-min=10.5    -fno-exceptions -fno-rtti -o CMakeFiles/obj.llvm-tblgen.dir/RegisterBankEmitter.cpp.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/apple-libtapi-664b84/src/llvm/utils/TableGen/RegisterBankEmitter.cpp
[ 61%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/RegisterInfoEmitter.cpp.o
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build/utils/TableGen && /opt/local/bin/g++-mp-7  -DGTEST_HAS_RTTI=0 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build/utils/TableGen -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/apple-libtapi-664b84/src/llvm/utils/TableGen -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/apple-libtapi-664b84/src/llvm/include  -I /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/apple-libtapi-664b84/src/llvm/projects/clang/include -I /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build/projects/clang/include -fPIC -fvisibility-inlines-hidden -Werror=date-time -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-maybe-uninitialized -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -O3 -DNDEBUG -arch ppc -mmacosx-version-min=10.5    -fno-exceptions -fno-rtti -o CMakeFiles/obj.llvm-tblgen.dir/RegisterInfoEmitter.cpp.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/apple-libtapi-664b84/src/llvm/utils/TableGen/RegisterInfoEmitter.cpp
[ 61%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/SDNodeProperties.cpp.o
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build/utils/TableGen && /opt/local/bin/g++-mp-7  -DGTEST_HAS_RTTI=0 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build/utils/TableGen -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/apple-libtapi-664b84/src/llvm/utils/TableGen -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/apple-libtapi-664b84/src/llvm/include  -I /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/apple-libtapi-664b84/src/llvm/projects/clang/include -I /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build/projects/clang/include -fPIC -fvisibility-inlines-hidden -Werror=date-time -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-maybe-uninitialized -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -O3 -DNDEBUG -arch ppc -mmacosx-version-min=10.5    -fno-exceptions -fno-rtti -o CMakeFiles/obj.llvm-tblgen.dir/SDNodeProperties.cpp.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/apple-libtapi-664b84/src/llvm/utils/TableGen/SDNodeProperties.cpp
make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build'
[ 61%] Built target obj.clang-tblgen
[ 61%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/SearchableTableEmitter.cpp.o
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build/utils/TableGen && /opt/local/bin/g++-mp-7  -DGTEST_HAS_RTTI=0 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build/utils/TableGen -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/apple-libtapi-664b84/src/llvm/utils/TableGen -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/apple-libtapi-664b84/src/llvm/include  -I /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/apple-libtapi-664b84/src/llvm/projects/clang/include -I /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build/projects/clang/include -fPIC -fvisibility-inlines-hidden -Werror=date-time -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-maybe-uninitialized -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -O3 -DNDEBUG -arch ppc -mmacosx-version-min=10.5    -fno-exceptions -fno-rtti -o CMakeFiles/obj.llvm-tblgen.dir/SearchableTableEmitter.cpp.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/apple-libtapi-664b84/src/llvm/utils/TableGen/SearchableTableEmitter.cpp
[ 61%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/SubtargetEmitter.cpp.o
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build/utils/TableGen && /opt/local/bin/g++-mp-7  -DGTEST_HAS_RTTI=0 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build/utils/TableGen -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/apple-libtapi-664b84/src/llvm/utils/TableGen -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/apple-libtapi-664b84/src/llvm/include  -I /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/apple-libtapi-664b84/src/llvm/projects/clang/include -I /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build/projects/clang/include -fPIC -fvisibility-inlines-hidden -Werror=date-time -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-maybe-uninitialized -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -O3 -DNDEBUG -arch ppc -mmacosx-version-min=10.5    -fno-exceptions -fno-rtti -o CMakeFiles/obj.llvm-tblgen.dir/SubtargetEmitter.cpp.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/apple-libtapi-664b84/src/llvm/utils/TableGen/SubtargetEmitter.cpp
[ 61%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/SubtargetFeatureInfo.cpp.o
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build/utils/TableGen && /opt/local/bin/g++-mp-7  -DGTEST_HAS_RTTI=0 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build/utils/TableGen -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/apple-libtapi-664b84/src/llvm/utils/TableGen -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/apple-libtapi-664b84/src/llvm/include  -I /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/apple-libtapi-664b84/src/llvm/projects/clang/include -I /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build/projects/clang/include -fPIC -fvisibility-inlines-hidden -Werror=date-time -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-maybe-uninitialized -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -O3 -DNDEBUG -arch ppc -mmacosx-version-min=10.5    -fno-exceptions -fno-rtti -o CMakeFiles/obj.llvm-tblgen.dir/SubtargetFeatureInfo.cpp.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/apple-libtapi-664b84/src/llvm/utils/TableGen/SubtargetFeatureInfo.cpp
[ 61%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/TableGen.cpp.o
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build/utils/TableGen && /opt/local/bin/g++-mp-7  -DGTEST_HAS_RTTI=0 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build/utils/TableGen -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/apple-libtapi-664b84/src/llvm/utils/TableGen -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/apple-libtapi-664b84/src/llvm/include  -I /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/apple-libtapi-664b84/src/llvm/projects/clang/include -I /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build/projects/clang/include -fPIC -fvisibility-inlines-hidden -Werror=date-time -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-maybe-uninitialized -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -O3 -DNDEBUG -arch ppc -mmacosx-version-min=10.5    -fno-exceptions -fno-rtti -o CMakeFiles/obj.llvm-tblgen.dir/TableGen.cpp.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/apple-libtapi-664b84/src/llvm/utils/TableGen/TableGen.cpp
[ 61%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/Types.cpp.o
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build/utils/TableGen && /opt/local/bin/g++-mp-7  -DGTEST_HAS_RTTI=0 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build/utils/TableGen -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/apple-libtapi-664b84/src/llvm/utils/TableGen -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/apple-libtapi-664b84/src/llvm/include  -I /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/apple-libtapi-664b84/src/llvm/projects/clang/include -I /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build/projects/clang/include -fPIC -fvisibility-inlines-hidden -Werror=date-time -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-maybe-uninitialized -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -O3 -DNDEBUG -arch ppc -mmacosx-version-min=10.5    -fno-exceptions -fno-rtti -o CMakeFiles/obj.llvm-tblgen.dir/Types.cpp.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/apple-libtapi-664b84/src/llvm/utils/TableGen/Types.cpp
[ 61%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/X86DisassemblerTables.cpp.o
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build/utils/TableGen && /opt/local/bin/g++-mp-7  -DGTEST_HAS_RTTI=0 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build/utils/TableGen -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/apple-libtapi-664b84/src/llvm/utils/TableGen -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/apple-libtapi-664b84/src/llvm/include  -I /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/apple-libtapi-664b84/src/llvm/projects/clang/include -I /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build/projects/clang/include -fPIC -fvisibility-inlines-hidden -Werror=date-time -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-maybe-uninitialized -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -O3 -DNDEBUG -arch ppc -mmacosx-version-min=10.5    -fno-exceptions -fno-rtti -o CMakeFiles/obj.llvm-tblgen.dir/X86DisassemblerTables.cpp.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/apple-libtapi-664b84/src/llvm/utils/TableGen/X86DisassemblerTables.cpp
[ 61%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/X86EVEX2VEXTablesEmitter.cpp.o
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build/utils/TableGen && /opt/local/bin/g++-mp-7  -DGTEST_HAS_RTTI=0 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build/utils/TableGen -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/apple-libtapi-664b84/src/llvm/utils/TableGen -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/apple-libtapi-664b84/src/llvm/include  -I /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/apple-libtapi-664b84/src/llvm/projects/clang/include -I /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build/projects/clang/include -fPIC -fvisibility-inlines-hidden -Werror=date-time -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-maybe-uninitialized -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -O3 -DNDEBUG -arch ppc -mmacosx-version-min=10.5    -fno-exceptions -fno-rtti -o CMakeFiles/obj.llvm-tblgen.dir/X86EVEX2VEXTablesEmitter.cpp.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/apple-libtapi-664b84/src/llvm/utils/TableGen/X86EVEX2VEXTablesEmitter.cpp
[ 61%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/X86FoldTablesEmitter.cpp.o
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build/utils/TableGen && /opt/local/bin/g++-mp-7  -DGTEST_HAS_RTTI=0 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build/utils/TableGen -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/apple-libtapi-664b84/src/llvm/utils/TableGen -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/apple-libtapi-664b84/src/llvm/include  -I /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/apple-libtapi-664b84/src/llvm/projects/clang/include -I /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build/projects/clang/include -fPIC -fvisibility-inlines-hidden -Werror=date-time -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-maybe-uninitialized -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -O3 -DNDEBUG -arch ppc -mmacosx-version-min=10.5    -fno-exceptions -fno-rtti -o CMakeFiles/obj.llvm-tblgen.dir/X86FoldTablesEmitter.cpp.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/apple-libtapi-664b84/src/llvm/utils/TableGen/X86FoldTablesEmitter.cpp
[ 61%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/X86ModRMFilters.cpp.o
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build/utils/TableGen && /opt/local/bin/g++-mp-7  -DGTEST_HAS_RTTI=0 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build/utils/TableGen -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/apple-libtapi-664b84/src/llvm/utils/TableGen -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/apple-libtapi-664b84/src/llvm/include  -I /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/apple-libtapi-664b84/src/llvm/projects/clang/include -I /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build/projects/clang/include -fPIC -fvisibility-inlines-hidden -Werror=date-time -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-maybe-uninitialized -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -O3 -DNDEBUG -arch ppc -mmacosx-version-min=10.5    -fno-exceptions -fno-rtti -o CMakeFiles/obj.llvm-tblgen.dir/X86ModRMFilters.cpp.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/apple-libtapi-664b84/src/llvm/utils/TableGen/X86ModRMFilters.cpp
[ 61%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/X86RecognizableInstr.cpp.o
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build/utils/TableGen && /opt/local/bin/g++-mp-7  -DGTEST_HAS_RTTI=0 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build/utils/TableGen -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/apple-libtapi-664b84/src/llvm/utils/TableGen -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/apple-libtapi-664b84/src/llvm/include  -I /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/apple-libtapi-664b84/src/llvm/projects/clang/include -I /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build/projects/clang/include -fPIC -fvisibility-inlines-hidden -Werror=date-time -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-maybe-uninitialized -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -O3 -DNDEBUG -arch ppc -mmacosx-version-min=10.5    -fno-exceptions -fno-rtti -o CMakeFiles/obj.llvm-tblgen.dir/X86RecognizableInstr.cpp.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/apple-libtapi-664b84/src/llvm/utils/TableGen/X86RecognizableInstr.cpp
[ 61%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/WebAssemblyDisassemblerEmitter.cpp.o
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build/utils/TableGen && /opt/local/bin/g++-mp-7  -DGTEST_HAS_RTTI=0 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build/utils/TableGen -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/apple-libtapi-664b84/src/llvm/utils/TableGen -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/apple-libtapi-664b84/src/llvm/include  -I /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/apple-libtapi-664b84/src/llvm/projects/clang/include -I /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build/projects/clang/include -fPIC -fvisibility-inlines-hidden -Werror=date-time -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-maybe-uninitialized -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -O3 -DNDEBUG -arch ppc -mmacosx-version-min=10.5    -fno-exceptions -fno-rtti -o CMakeFiles/obj.llvm-tblgen.dir/WebAssemblyDisassemblerEmitter.cpp.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/apple-libtapi-664b84/src/llvm/utils/TableGen/WebAssemblyDisassemblerEmitter.cpp
[ 61%] Building CXX object utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/CTagsEmitter.cpp.o
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build/utils/TableGen && /opt/local/bin/g++-mp-7  -DGTEST_HAS_RTTI=0 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build/utils/TableGen -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/apple-libtapi-664b84/src/llvm/utils/TableGen -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/apple-libtapi-664b84/src/llvm/include  -I /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/apple-libtapi-664b84/src/llvm/projects/clang/include -I /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build/projects/clang/include -fPIC -fvisibility-inlines-hidden -Werror=date-time -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-maybe-uninitialized -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -O3 -DNDEBUG -arch ppc -mmacosx-version-min=10.5    -fno-exceptions -fno-rtti -o CMakeFiles/obj.llvm-tblgen.dir/CTagsEmitter.cpp.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/apple-libtapi-664b84/src/llvm/utils/TableGen/CTagsEmitter.cpp
make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build'
[ 61%] Built target obj.llvm-tblgen
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build'
make[1]: *** [projects/libtapi/tools/libtapi/CMakeFiles/libtapi.dir/rule] Error 2
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build'
make: *** [libtapi] Error 2
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build'
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/work/build" && /usr/bin/make -j4 -w libtapi tapi VERBOSE=ON 
Exit code: 2
Error: Failed to build libtapi: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libtapi/libtapi/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port libtapi failed
36-9:~ arjuna$ 

Attachments (1)

libtapi.log (831.0 KB) - added by barracuda156 3 years ago.

Download all attachments as: .zip

Change History (10)

Changed 3 years ago by barracuda156

Attachment: libtapi.log added

comment:1 Changed 3 years ago by kencu (Ken)

I would imagine libtapi might be made to build on ppc with enough effort (probably starting with 10.5 Intel would be the approach I would use), but it won't be useful anyway. libtapi allows a newer ld64 to use the most recent macOS SDKs, and this is not relevant for ppc.

Your approach here would better be to look into why something wants libtapi on ppc and stop it from being wanted.

comment:2 in reply to:  1 Changed 3 years ago by barracuda156

Replying to kencu:

I would imagine libtapi might be made to build on ppc with enough effort (probably starting with 10.5 Intel would be the approach I would use), but it won't be useful anyway. libtapi allows a newer ld64 to use the most recent macOS SDKs, and this is not relevant for ppc.

Your approach here would better be to look into why something wants libtapi on ppc and stop it from being wanted.

Thank you for replying! I have tried building darwin-xtools from here: https://github.com/iains/darwin-xtools And Cmake stopped complaining that libtapi is missing. Also the outline of the process that eventually is supposed to get gcc11 built mentions tapi as a requirement: https://github.com/iains/darwin-toolchains-start-here

So I thought that building libtapi via MacPorts (and then pointing to it for Cmake) would be a relatively easier way than to try building it on its own. It is quite possible however that there is another way.

  1. S. Yeah, I am still looking for options to get gcc11 built on PPC.

comment:3 Changed 3 years ago by kencu (Ken)

Iain indeed has a newer ld64 for PPC there, and it would be nice for our PPC users to have that in MacPorts. Iain has a version of libtapi building against llvm-7.0 in his repos that he uses for this.

However, bringing all this smoothly into MacPorts is indeed a project requiring some considerable skills. You are on the path to acquiring those skills, but it takes time.

For now, building Iain's darwin-xtools and llvm-7/clang-7 for PPC forks would best be done completely outside of MacPorts, I would say. Just reset your path to stock, and pretend macports is not even installed at all. His repos are set to assume this. He might even help fix issues in that process if you post them there, as he is extremely helpful when he is not uber-busy with real paid work!

Once you have it building, which is a project in itself, then next you would look at the changes needed to bring it into macports.

comment:4 Changed 3 years ago by kencu (Ken)

you don't need Iains tools for gcc11 on PowerPC tho... gcc11 on PowrPC is it's own project, and should be done with macports existing toolchain.

Version 0, edited 3 years ago by kencu (Ken) (next)

comment:5 in reply to:  4 Changed 3 years ago by barracuda156

Replying to kencu:

you don't need Iains tools for gcc11 on PowerPC tho... gcc11 on PowerPC is it's own project, and should be done with macports existing toolchain.

Got it, thank you.

Would it help to try recompile some system components using Apple Open-source? As we have found out, gcc8+ failure to build is not a 10.6 PPC issue, since they fail on 10.5.8 too.

I can also try building gcc5, since Iains suggests that, and see if that can be used to build a newer gcc. But both gcc6 and gcc7 failed towards that end.

comment:6 in reply to:  1 Changed 3 years ago by barracuda156

Replying to kencu:

I would imagine libtapi might be made to build on ppc with enough effort (probably starting with 10.5 Intel would be the approach I would use), but it won't be useful anyway. libtapi allows a newer ld64 to use the most recent macOS SDKs, and this is not relevant for ppc.

Your approach here would better be to look into why something wants libtapi on ppc and stop it from being wanted.

Just for the record:

36-85% port -v installed libtapi
The following ports are currently installed:
  libtapi @1000.10.8_1 (active) requested_variants='' platform='darwin 10' archs='ppc' date='2022-03-20T07:55:02+0800'

comment:7 Changed 3 years ago by barracuda156

Keywords: powerpc leopard snowleopard added
Summary: libtapi fails to build on 10.5.8 PowerPCAdd a patch to libtapi to fix a build on PPC: vector to __vector in Lexer.cpp
Version: 2.7.2

comment:8 in reply to:  1 Changed 3 years ago by barracuda156

Replying to kencu:

I would imagine libtapi might be made to build on ppc with enough effort

The current libtapi @1100.0.11_0 has built after I added the following patch:

--- src/llvm/projects/clang/lib/Lex/Lexer.cpp.orig	2020-12-19 14:12:05.000000000 +0800
+++ src/llvm/projects/clang/lib/Lex/Lexer.cpp	2022-03-21 21:05:18.000000000 +0800
@@ -2573,7 +2573,7 @@
         '/', '/', '/', '/',  '/', '/', '/', '/'
       };
       while (CurPtr+16 <= BufferEnd &&
-             !vec_any_eq(*(const vector unsigned char*)CurPtr, Slashes))
+             !vec_any_eq(*(const __vector unsigned char*)CurPtr, Slashes))
         CurPtr += 16;
 #else
       // Scan for '/' quickly.  Many block comments are very large.

Ref: https://systems.nic.uoregon.edu/internal-wiki/index.php?title=Tau_clang_plugin

Once Lexer.cpp is patched, it builds normally with macports-gcc-11:

36-73% port -v installed libtapi
The following ports are currently installed:
  libtapi @1000.10.8_1 requested_variants='' platform='darwin 10' archs='ppc' date='2022-03-20T07:55:02+0800'
  libtapi @1100.0.11_0 (active) requested_variants='' platform='darwin 10' archs='ppc' date='2022-03-21T20:55:45+0800'

Last edited 3 years ago by barracuda156 (previous) (diff)

comment:9 Changed 3 years ago by barracuda156

Owner: set to barracuda156
Resolution: fixed
Status: newclosed

In 3177e07b047c6f03a5017fb9216616e9fc3de071/macports-ports (master):

libtapi: fix build on PowerPC

Closes: #64187

Note: See TracTickets for help on using tickets.