wgtmac commented on PR #14666:
URL: https://github.com/apache/arrow/pull/14666#issuecomment-1326033125
On my Mac M1 laptop, the compilation looks good but linking complains about
undefined symbols:
```
[ 63%] Built target arrow-io-file-test
[ 63%] Built target arrow-io-memory-test
[ 63%] Linking CXX executable ../../../debug/arrow-utility-test
Undefined symbols for architecture arm64:
"std::__1::to_chars(char*, char*, double)", referenced from:
std::__1::basic_string<char, std::__1::char_traits<char>,
std::__1::allocator<char> > arrow::internal::ToChars<double>(double) in
string_test.cc.o
"std::__1::to_chars(char*, char*, float)", referenced from:
std::__1::basic_string<char, std::__1::char_traits<char>,
std::__1::allocator<char> > arrow::internal::ToChars<float>(float) in
string_test.cc.o
ld: symbol(s) not found for architecture arm64
clang-14: error: linker command failed with exit code 1 (use -v to see
invocation)
make[2]: *** [debug/arrow-utility-test] Error 1
make[1]: *** [src/arrow/util/CMakeFiles/arrow-utility-test.dir/all] Error 2
make: *** [all] Error 2
```
It looks like I am hitting an old issue:
https://stackoverflow.com/questions/58923623/stdto-chars-compile-but-not-linking-on-macos-clang/59672017#59672017
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]