Wes McKinney created ARROW-10380: ------------------------------------ Summary: [C++] Running tests with ASAN, UBSAN using conda-forge compiler toolchain on macOS Key: ARROW-10380 URL: https://issues.apache.org/jira/browse/ARROW-10380 Project: Apache Arrow Issue Type: Improvement Components: C++ Reporter: Wes McKinney
I tried running the test suite with ASAN/UBSAN enabled using the conda-forge toolchain (following the instructions in the Python documentation) and found that it's horribly broken, at least with the way that I'm running it. I would guess there is some additional configuration necessary or perhaps the compiler flags are wrong. see for example https://gist.github.com/wesm/88aa66f90a642fd0a051c4a7960de350 here are what the compiler flags look like from the CMake output {code} -- CMAKE_C_FLAGS: -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -isystem /Users/wesm/miniconda/envs/pyarrow-dev/include -Qunused-arguments -ggdb -O0 -Wall -Wextra -Wdocumentation -Wno-missing-braces -Wno-unused-parameter -Wno-unknown-warning-option -Wno-constant-logical-operand -Werror -Wno-unknown-warning-option -Wno-pass-failed -march=haswell -mavx2 -- CMAKE_CXX_FLAGS: -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -std=c++14 -fmessage-length=0 -isystem /Users/wesm/miniconda/envs/pyarrow-dev/include -Qunused-arguments -fcolor-diagnostics -ggdb -O0 -Wall -Wextra -Wdocumentation -Wno-missing-braces -Wno-unused-parameter -Wno-unknown-warning-option -Wno-constant-logical-operand -Werror -Wno-unknown-warning-option -Wno-pass-failed -march=haswell -mavx2 -fsanitize=address -DADDRESS_SANITIZER -fsanitize=undefined -fno-sanitize=alignment,vptr,function,float-divide-by-zero -fno-sanitize-recover=all -fsanitize-blacklist=/Users/wesm/code/arrow/cpp/build-support/sanitizer-disallowed-entries.txt {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)