-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Open
Description
Search before asking
- I had searched in the issues and found no similar issues.
Version
commit 5f92656 (HEAD -> master, origin/master, origin/HEAD)
Author: wudi wudi@selectdb.com
Date: Sun Jan 4 14:08:32 2026 +0800
What's Wrong?
Description
I build the project based on the document 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
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
No labels