xiaobiaozhao opened a new issue, #1254: URL: https://github.com/apache/incubator-kvrocks/issues/1254
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/incubator-kvrocks/issues) and found no similar issues. ### Version Mac & Ubuntu all versions ### Minimal reproduce step `./x.py build --unittest --compiler gcc -DDISABLE_JEMALLOC=ON -DENABLE_TSAN=ON` `./x.py build --unittest --compiler gcc -DDISABLE_JEMALLOC=ON -DENABLE_ASAN=ON` ### What did you expect to see? build succeed ### What did you see instead? ./x.py build --unittest --compiler gcc -DDISABLE_JEMALLOC=ON -DENABLE_TSAN=ON $ /usr/bin/cmake /root/work/incubator-kvrocks -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DENABLE_TSAN=ON -- The CXX compiler identification is GNU 11.3.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done CMake Error at CMakeLists.txt:67 (message): **### ASan/TSan does not work well with JeMalloc** -- Configuring incomplete, errors occurred! See also "/root/work/incubator-kvrocks/build/CMakeFiles/CMakeOutput.log". Traceback (most recent call last): File "/root/work/incubator-kvrocks/./x.py", line 397, in <module> args.func(**arg_dict) File "/root/work/incubator-kvrocks/./x.py", line 122, in build run(cmake, str(basedir), *cmake_options, verbose=True, cwd=dir) File "/root/work/incubator-kvrocks/./x.py", line 68, in run raise RuntimeError(err) RuntimeError: failed to run: ('/usr/bin/cmake', '/root/work/incubator-kvrocks', '-DCMAKE_BUILD_TYPE=RelWithDebInfo', '-DCMAKE_C_COMPILER=gcc', '-DCMAKE_CXX_COMPILER=g++', '-DENABLE_TSAN=ON') exit with code: 1 ### Anything Else? I also test `./x.py build --unittest --compiler gcc -DDISABLE_JEMALLOC=ON -DENABLE_TSAN=ON -DENABLE_OPENSSL=ON` build is OK. ### Are you willing to submit a PR? - [ ] I'm willing to submit a PR! -- 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]
