JackyWoo opened a new issue, #59537: URL: https://github.com/apache/doris/issues/59537
### Search before asking - [x] I had searched in the [issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no similar issues. ### Version commit 5f9265695bd64cc8ab1f9b9ef60f847d32164cb2 (HEAD -> master, origin/master, origin/HEAD) Author: wudi <[email protected]> Date: Sun Jan 4 14:08:32 2026 +0800 ### What's Wrong? ### Description I build the project based on the [document](https://doris.apache.org/community/source-install/compilation-with-ldb-toolchain) and got the following error ``` ===== begin build boost_1_81_0 Building B2 engine.. A C++11 capable compiler is required for building the B2 engine. Toolset 'clang' does not appear to support C++11. > clang++ -x c++ -std=c++11 check_cxx11.cpp ld.lld: error: undefined symbol: pthread_sigmask >>> referenced by posix_spawn.c >>> posix_spawn.c.o:(child) in archive /data1/home/wujianchao/project/jd/ldb_toolchain/bin/../usr/lib/./libglibc-compatibility.a clang++: error: linker command failed with exit code 1 (use -v to see invocation) ``` ### Command BUILD_TYPE=Debug bash build.sh ### Env. Ubuntu 20.04 x86_64 LDB toolchain ``` export NODE_HOME=/data1/home/wujianchao/cmd/node-v12.13.0-linux-x64 export MAVEN_HOME=/data1/home/wujianchao/cmd/apache-maven-3.9.12 export LDB_TOOLCHAIN=/data1/home/wujianchao/project/jd/ldb_toolchain export PATH=$LDB_TOOLCHAIN/bin:$MAVEN_HOME/bin:$NODE_HOME/bin:$PATH clang --version clang version 20.1.8 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /data1/home/wujianchao/project/jd/ldb_toolchain/tmp/gentoo/llvm/bin ``` ### What You Expected? build successfully ### How to Reproduce? _No response_ ### Anything Else? _No response_ ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
