【 使用环境 】ubuntu20.04
【 OB or 其他组件 】
【 使用版本 】oceanbase3.1.0
【问题描述】编译时执行bash build.sh debug --init --make
,然后报出如下错误:
…
– DETECT BUILD ARCH: x86_64
– The CXX compiler identification is unknown
– The C compiler identification is unknown
– The ASM compiler identification is unknown
– Found assembler: /home/tsk/workspace/oceanbase/deps/3rd/usr/local/oceanbase/devtools/bin/clang
– Detecting CXX compiler ABI info
– Detecting CXX compiler ABI info - failed
– Check for working CXX compiler: /home/tsk/workspace/oceanbase/deps/3rd/usr/local/oceanbase/devtools/bin/clang++
– Check for working CXX compiler: /home/tsk/workspace/oceanbase/deps/3rd/usr/local/oceanbase/devtools/bin/clang++ - broken
CMake Error at deps/3rd/usr/local/oceanbase/devtools/share/cmake-3.20/Modules/CMakeTestCXXCompiler.cmake:59 (message):
The C++ compiler
"/home/tsk/workspace/oceanbase/deps/3rd/usr/local/oceanbase/devtools/bin/clang++"
is not able to compile a simple test program.
…
【复现路径】问题出现前后相关操作
【问题现象及影响】
【附件】