wgtmac commented on PR #46906:
URL: https://github.com/apache/arrow/pull/46906#issuecomment-3228215635
> ERROR: Linker c++ does not support sanitizer arguments
['-fsanitize=address,undefined']
I got the above error. If I removed them, I see some compiling error from
boost like below:
```
FAILED: [code=1] src/arrow/libarrow_testing.a.p/testing_process.cc.o
c++ -Isrc/arrow/libarrow_testing.a.p -Isrc/arrow -I../src/arrow -Isrc
-I../src -I/opt/homebrew/include
-I/opt/homebrew/Cellar/googletest/1.14.0/include
-I//opt/homebrew/opt/llvm@18/include -fdiagnostics-color=always
-D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_FAST -Wall -Winvalid-pch
-Wextra -std=c++17 -O0 -g -Wno-unused-parameter -Wno-array-bounds -Wno-nonnull
-DGTEST_HAS_PTHREAD=1 -DBOOST_FILESYSTEM_DYN_LINK=1 -DBOOST_ALL_NO_LIB -MD -MQ
src/arrow/libarrow_testing.a.p/testing_process.cc.o -MF
src/arrow/libarrow_testing.a.p/testing_process.cc.o.d -o
src/arrow/libarrow_testing.a.p/testing_process.cc.o -c
../src/arrow/testing/process.cc
../src/arrow/testing/process.cc:268:12: error: no type named 'environment'
in namespace 'boost::process'
268 | process::environment env_;
| ~~~~~~~~~^
../src/arrow/testing/process.cc:269:28: error: no member named 'child' in
namespace 'boost::process'
269 | std::unique_ptr<process::child> process_;
| ~~~~~~~~~^
../src/arrow/testing/process.cc:270:28: error: no member named 'group' in
namespace 'boost::process'
270 | std::unique_ptr<process::group> process_group_;
| ~~~~~~~~~^
../src/arrow/testing/process.cc:130:21: error: unexpected namespace name
'environment': expected expression
130 | env_ = process::environment(boost::this_process::environment());
| ^
```
Let me investigate it.
--
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]