Created
December 9, 2022 07:42
-
-
Save darrenfu/5644f03a5c822513178767999eb03f67 to your computer and use it in GitHub Desktop.
XCode CLT lack libraries
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[19/968] Building CXX object velox/common/base/CMakeFiles/velox_common_base.dir/SimdUtil.cpp.o | |
FAILED: velox/common/base/CMakeFiles/velox_common_base.dir/SimdUtil.cpp.o | |
ccache /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CONTEXT_DYN_LINK -DBOOST_CONTEXT_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DFMT_LOCALE -DGFLAGS_IS_A_DLL=0 -I/Users/dofu/homebrew/opt/icu4c/include -I/Users/dofu/git/velox/. -I/Users/dofu/git/velox/velox/external/xxhash -I/Users/dofu/git/velox/third_party/xsimd/include -isystem /Users/dofu/homebrew/include -isystem /Users/dofu/git/velox/velox -isystem /Users/dofu/git/velox/velox/external -isystem /Users/dofu/git/velox/velox/external/duckdb -isystem /Users/dofu/git/velox/velox/external/duckdb/tpch/dbgen/include -isystem /opt/homebrew/include -isystem /usr/local/include -isystem /Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include -isystem /opt/homebrew/opt/[email protected]/include -mcpu=apple-m1+crc -std=c++17 -fvisibility=hidden -D USE_VELOX_COMMON_BASE -D HAS_UNCAUGHT_EXCEPTIONS -Wno-nullability-completeness -Werror -Wall -Wextra -Wno-unused -Wno-unused-parameter -Wno-sign-compare -Wno-ignored-qualifiers -Wno-range-loop-analysis -Wno-mismatched-tags -g -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.0.sdk -mmacosx-version-min=12.6 -fPIC -std=gnu++17 -MD -MT velox/common/base/CMakeFiles/velox_common_base.dir/SimdUtil.cpp.o -MF velox/common/base/CMakeFiles/velox_common_base.dir/SimdUtil.cpp.o.d -o velox/common/base/CMakeFiles/velox_common_base.dir/SimdUtil.cpp.o -c /Users/dofu/git/velox/velox/common/base/SimdUtil.cpp | |
In file included from /Users/dofu/git/velox/velox/common/base/SimdUtil.cpp:17: | |
In file included from /Users/dofu/git/velox/./velox/common/base/SimdUtil.h:21: | |
In file included from /Users/dofu/git/velox/./velox/common/base/Exceptions.h:22: | |
/usr/local/include/fmt/format.h:1772:12: error: expected unqualified-id | |
if (std::signbit(value)) { // value < 0 is false for NaN so use signbit. | |
^ | |
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/math.h:170:5: note: expanded from macro 'signbit' | |
( sizeof(x) == sizeof(float) ? __inline_signbitf((float)(x)) \ | |
^ | |
In file included from /Users/dofu/git/velox/velox/common/base/SimdUtil.cpp:17: | |
In file included from /Users/dofu/git/velox/./velox/common/base/SimdUtil.h:21: | |
In file included from /Users/dofu/git/velox/./velox/common/base/Exceptions.h:22: | |
/usr/local/include/fmt/format.h:1779:13: error: expected unqualified-id | |
if (!std::isfinite(value)) | |
^ | |
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/math.h:155:5: note: expanded from macro 'isfinite' | |
( sizeof(x) == sizeof(float) ? __inline_isfinitef((float)(x)) \ | |
^ | |
In file included from /Users/dofu/git/velox/velox/common/base/SimdUtil.cpp:17: | |
In file included from /Users/dofu/git/velox/./velox/common/base/SimdUtil.h:21: | |
In file included from /Users/dofu/git/velox/./velox/common/base/Exceptions.h:22: | |
/usr/local/include/fmt/format.h:1780:38: error: expected unqualified-id | |
return write_nonfinite(out, std::isinf(value), specs, fspecs); | |
^ | |
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/math.h:160:5: note: expanded from macro 'isinf' | |
( sizeof(x) == sizeof(float) ? __inline_isinff((float)(x)) \ | |
^ | |
In file included from /Users/dofu/git/velox/velox/common/base/SimdUtil.cpp:17: | |
In file included from /Users/dofu/git/velox/./velox/common/base/SimdUtil.h:21: | |
In file included from /Users/dofu/git/velox/./velox/common/base/Exceptions.h:22: | |
/usr/local/include/fmt/format.h:1833:38: error: expected unqualified-id | |
return write_nonfinite(out, std::isinf(value), specs, fspecs); | |
^ | |
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/math.h:160:5: note: expanded from macro 'isinf' | |
( sizeof(x) == sizeof(float) ? __inline_isinff((float)(x)) \ | |
^ | |
In file included from /Users/dofu/git/velox/velox/common/base/SimdUtil.cpp:17: | |
In file included from /Users/dofu/git/velox/./velox/common/base/SimdUtil.h:24: | |
In file included from /Users/dofu/git/velox/third_party/xsimd/include/xsimd/xsimd.hpp:55: | |
/Users/dofu/git/velox/third_party/xsimd/include/xsimd/arch/xsimd_scalar.hpp:371:21: error: expected unqualified-id | |
return std::isnan(x - x) ? false : (x - std::trunc(x)) == T(0); | |
^ | |
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/math.h:165:5: note: expanded from macro 'isnan' | |
( sizeof(x) == sizeof(float) ? __inline_isnanf((float)(x)) \ | |
^ | |
In file included from /Users/dofu/git/velox/velox/common/base/SimdUtil.cpp:17: | |
In file included from /Users/dofu/git/velox/./velox/common/base/SimdUtil.h:24: | |
In file included from /Users/dofu/git/velox/third_party/xsimd/include/xsimd/xsimd.hpp:55: | |
/Users/dofu/git/velox/third_party/xsimd/include/xsimd/arch/xsimd_scalar.hpp:657:17: error: expected unqualified-id | |
inline auto signbit(T const& v) noexcept -> decltype(bitofsign(v)) | |
^ | |
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/math.h:170:7: note: expanded from macro 'signbit' | |
( sizeof(x) == sizeof(float) ? __inline_signbitf((float)(x)) \ | |
^ | |
In file included from /Users/dofu/git/velox/velox/common/base/SimdUtil.cpp:17: | |
In file included from /Users/dofu/git/velox/./velox/common/base/SimdUtil.h:24: | |
In file included from /Users/dofu/git/velox/third_party/xsimd/include/xsimd/xsimd.hpp:55: | |
/Users/dofu/git/velox/third_party/xsimd/include/xsimd/arch/xsimd_scalar.hpp:657:17: error: expected ')' | |
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/math.h:170:7: note: expanded from macro 'signbit' | |
( sizeof(x) == sizeof(float) ? __inline_signbitf((float)(x)) \ | |
^ | |
/Users/dofu/git/velox/third_party/xsimd/include/xsimd/arch/xsimd_scalar.hpp:657:17: note: to match this '(' | |
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/math.h:170:5: note: expanded from macro 'signbit' | |
( sizeof(x) == sizeof(float) ? __inline_signbitf((float)(x)) \ | |
^ | |
In file included from /Users/dofu/git/velox/velox/common/base/SimdUtil.cpp:17: | |
In file included from /Users/dofu/git/velox/./velox/common/base/SimdUtil.h:24: | |
In file included from /Users/dofu/git/velox/third_party/xsimd/include/xsimd/xsimd.hpp:61: | |
In file included from /Users/dofu/git/velox/third_party/xsimd/include/xsimd/config/../types/./xsimd_batch.hpp:425: | |
In file included from /Users/dofu/git/velox/third_party/xsimd/include/xsimd/config/../types/../arch/xsimd_isa.hpp:72: | |
/Users/dofu/git/velox/third_party/xsimd/include/xsimd/arch/./xsimd_neon.hpp:2514:56: error: too many arguments provided to function-like macro invocation | |
inline batch_bool<float, A> isnan(batch<float, A> const& arg, requires_arch<neon>) noexcept | |
^ | |
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/math.h:164:9: note: macro 'isnan' defined here | |
#define isnan(x) \ | |
^ | |
In file included from /Users/dofu/git/velox/velox/common/base/SimdUtil.cpp:17: | |
In file included from /Users/dofu/git/velox/./velox/common/base/SimdUtil.h:24: | |
In file included from /Users/dofu/git/velox/third_party/xsimd/include/xsimd/xsimd.hpp:61: | |
In file included from /Users/dofu/git/velox/third_party/xsimd/include/xsimd/config/../types/./xsimd_batch.hpp:425: | |
In file included from /Users/dofu/git/velox/third_party/xsimd/include/xsimd/config/../types/../arch/xsimd_isa.hpp:72: | |
/Users/dofu/git/velox/third_party/xsimd/include/xsimd/arch/./xsimd_neon.hpp:2514:42: error: expected ';' at end of declaration | |
inline batch_bool<float, A> isnan(batch<float, A> const& arg, requires_arch<neon>) noexcept | |
^ | |
; | |
/Users/dofu/git/velox/third_party/xsimd/include/xsimd/arch/./xsimd_neon.hpp:2514:92: error: expected unqualified-id | |
inline batch_bool<float, A> isnan(batch<float, A> const& arg, requires_arch<neon>) noexcept | |
^ | |
In file included from /Users/dofu/git/velox/velox/common/base/SimdUtil.cpp:17: | |
In file included from /Users/dofu/git/velox/./velox/common/base/SimdUtil.h:24: | |
In file included from /Users/dofu/git/velox/third_party/xsimd/include/xsimd/xsimd.hpp:61: | |
In file included from /Users/dofu/git/velox/third_party/xsimd/include/xsimd/config/../types/./xsimd_batch.hpp:425: | |
In file included from /Users/dofu/git/velox/third_party/xsimd/include/xsimd/config/../types/../arch/xsimd_isa.hpp:76: | |
/Users/dofu/git/velox/third_party/xsimd/include/xsimd/arch/./xsimd_neon64.hpp:1140:58: error: too many arguments provided to function-like macro invocation | |
inline batch_bool<double, A> isnan(batch<double, A> const& arg, requires_arch<neon64>) noexcept | |
^ | |
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/math.h:164:9: note: macro 'isnan' defined here | |
#define isnan(x) \ | |
^ | |
In file included from /Users/dofu/git/velox/velox/common/base/SimdUtil.cpp:17: | |
In file included from /Users/dofu/git/velox/./velox/common/base/SimdUtil.h:24: | |
In file included from /Users/dofu/git/velox/third_party/xsimd/include/xsimd/xsimd.hpp:61: | |
In file included from /Users/dofu/git/velox/third_party/xsimd/include/xsimd/config/../types/./xsimd_batch.hpp:425: | |
In file included from /Users/dofu/git/velox/third_party/xsimd/include/xsimd/config/../types/../arch/xsimd_isa.hpp:76: | |
/Users/dofu/git/velox/third_party/xsimd/include/xsimd/arch/./xsimd_neon64.hpp:1140:38: error: redefinition of 'isnan' with a different type: 'batch_bool<double, [...]>' vs 'batch_bool<float, [...]>' | |
inline batch_bool<double, A> isnan(batch<double, A> const& arg, requires_arch<neon64>) noexcept | |
^ | |
/Users/dofu/git/velox/third_party/xsimd/include/xsimd/arch/./xsimd_neon.hpp:2514:37: note: previous definition is here | |
inline batch_bool<float, A> isnan(batch<float, A> const& arg, requires_arch<neon>) noexcept | |
^ | |
In file included from /Users/dofu/git/velox/velox/common/base/SimdUtil.cpp:17: | |
In file included from /Users/dofu/git/velox/./velox/common/base/SimdUtil.h:24: | |
In file included from /Users/dofu/git/velox/third_party/xsimd/include/xsimd/xsimd.hpp:61: | |
In file included from /Users/dofu/git/velox/third_party/xsimd/include/xsimd/config/../types/./xsimd_batch.hpp:425: | |
In file included from /Users/dofu/git/velox/third_party/xsimd/include/xsimd/config/../types/../arch/xsimd_isa.hpp:76: | |
/Users/dofu/git/velox/third_party/xsimd/include/xsimd/arch/./xsimd_neon64.hpp:1140:43: error: expected ';' at end of declaration | |
inline batch_bool<double, A> isnan(batch<double, A> const& arg, requires_arch<neon64>) noexcept | |
^ | |
; | |
/Users/dofu/git/velox/third_party/xsimd/include/xsimd/arch/./xsimd_neon64.hpp:1140:96: error: expected unqualified-id | |
inline batch_bool<double, A> isnan(batch<double, A> const& arg, requires_arch<neon64>) noexcept | |
^ | |
In file included from /Users/dofu/git/velox/velox/common/base/SimdUtil.cpp:17: | |
In file included from /Users/dofu/git/velox/./velox/common/base/SimdUtil.h:24: | |
In file included from /Users/dofu/git/velox/third_party/xsimd/include/xsimd/xsimd.hpp:61: | |
In file included from /Users/dofu/git/velox/third_party/xsimd/include/xsimd/config/../types/./xsimd_batch.hpp:425: | |
In file included from /Users/dofu/git/velox/third_party/xsimd/include/xsimd/config/../types/../arch/xsimd_isa.hpp:84: | |
In file included from /Users/dofu/git/velox/third_party/xsimd/include/xsimd/arch/./xsimd_generic.hpp:15: | |
In file included from /Users/dofu/git/velox/third_party/xsimd/include/xsimd/arch/./generic/xsimd_generic_arithmetic.hpp:18: | |
/Users/dofu/git/velox/third_party/xsimd/include/xsimd/arch/./generic/./xsimd_generic_details.hpp:62:44: error: too many arguments provided to function-like macro invocation | |
inline batch_bool<T, A> isinf(batch<T, A> const& self) noexcept; | |
^ | |
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/math.h:159:9: note: macro 'isinf' defined here | |
#define isinf(x) \ | |
^ | |
In file included from /Users/dofu/git/velox/velox/common/base/SimdUtil.cpp:17: | |
In file included from /Users/dofu/git/velox/./velox/common/base/SimdUtil.h:24: | |
In file included from /Users/dofu/git/velox/third_party/xsimd/include/xsimd/xsimd.hpp:61: | |
In file included from /Users/dofu/git/velox/third_party/xsimd/include/xsimd/config/../types/./xsimd_batch.hpp:425: | |
In file included from /Users/dofu/git/velox/third_party/xsimd/include/xsimd/config/../types/../arch/xsimd_isa.hpp:84: | |
In file included from /Users/dofu/git/velox/third_party/xsimd/include/xsimd/arch/./xsimd_generic.hpp:15: | |
In file included from /Users/dofu/git/velox/third_party/xsimd/include/xsimd/arch/./generic/xsimd_generic_arithmetic.hpp:18: | |
/Users/dofu/git/velox/third_party/xsimd/include/xsimd/arch/./generic/./xsimd_generic_details.hpp:62:29: error: declaration conflicts with target of using declaration already in scope | |
inline batch_bool<T, A> isinf(batch<T, A> const& self) noexcept; | |
^ | |
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.0.sdk/usr/include/c++/v1/cmath:324:1: note: target of using declaration | |
using ::isinf _LIBCPP_USING_IF_EXISTS; | |
^ | |
/Users/dofu/git/velox/third_party/xsimd/include/xsimd/arch/xsimd_scalar.hpp:87:16: note: using declaration | |
using std::isinf; | |
^ | |
In file included from /Users/dofu/git/velox/velox/common/base/SimdUtil.cpp:17: | |
In file included from /Users/dofu/git/velox/./velox/common/base/SimdUtil.h:24: | |
In file included from /Users/dofu/git/velox/third_party/xsimd/include/xsimd/xsimd.hpp:61: | |
In file included from /Users/dofu/git/velox/third_party/xsimd/include/xsimd/config/../types/./xsimd_batch.hpp:425: | |
In file included from /Users/dofu/git/velox/third_party/xsimd/include/xsimd/config/../types/../arch/xsimd_isa.hpp:84: | |
In file included from /Users/dofu/git/velox/third_party/xsimd/include/xsimd/arch/./xsimd_generic.hpp:15: | |
In file included from /Users/dofu/git/velox/third_party/xsimd/include/xsimd/arch/./generic/xsimd_generic_arithmetic.hpp:18: | |
/Users/dofu/git/velox/third_party/xsimd/include/xsimd/arch/./generic/./xsimd_generic_details.hpp:62:34: error: expected ';' at end of declaration | |
inline batch_bool<T, A> isinf(batch<T, A> const& self) noexcept; | |
^ | |
; | |
/Users/dofu/git/velox/third_party/xsimd/include/xsimd/arch/./generic/./xsimd_generic_details.hpp:62:60: error: expected unqualified-id | |
inline batch_bool<T, A> isinf(batch<T, A> const& self) noexcept; | |
^ | |
/Users/dofu/git/velox/third_party/xsimd/include/xsimd/arch/./generic/./xsimd_generic_details.hpp:64:65: error: too many arguments provided to function-like macro invocation | |
inline typename batch<T, A>::batch_bool_type isnan(batch<T, A> const& self) noexcept; | |
^ | |
/Library/Developer/CommandLineTools/SDKs/MacOSX12.3.sdk/usr/include/math.h:164:9: note: macro 'isnan' defined here | |
#define isnan(x) \ | |
^ | |
fatal error: too many errors emitted, stopping now [-ferror-limit=] | |
20 errors generated. | |
ninja: build stopped: subcommand failed. | |
make[1]: *** [build] Error 1 | |
make: *** [debug] Error 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment