my os is ubuntu 18.04, please test it
Beginning build version: 1.2
2018年 05月 23日 星期三 18:30:10 UTC
User: root
git head id: 5c3c9fd91822784d3b132aadcd0ae008120e56f6
Current branch: HEAD
ARCHITECTURE: Linux
OS name: Ubuntu
OS Version: 18.04
CPU speed: 2700.060Mhz
CPU cores: 4
Physical Memory: 7874 Mgb
Disk install: /dev/sda2
Disk space total: 218G
Disk space available: 195G
Checking for installed dependencies.
Package clang-4.0 found.
Package lldb-4.0 found.
Package libclang-4.0-dev found.
Package cmake found.
Package make found.
Package automake found.
Package libbz2-dev found.
Package libssl-dev found.
Package libgmp3-dev found.
Package autotools-dev found.
Package build-essential found.
Package libicu-dev found.
Package python2.7-dev found.
Package python3-dev found.
Package autoconf found.
Package libtool found.
Package curl found.
Package zlib1g-dev found.
Package doxygen found.
Package graphviz found.
No required dpkg dependencies to install.
Checking boost library installation.
Boost 1.66.0 found at /root/opt/boost_1_66_0.
Checking MongoDB installation.
MongoDB configuration found at /root/opt/mongodb/mongod.conf.
Checking MongoDB C++ driver installation.
Mongo C++ driver found at /usr/local/lib/libmongocxx-static.a.
Checking secp256k1-zkp installation.
secp256k1 found @ /usr/local/lib.
Checking for LLVM with WASM support.
WASM found at /root/opt/wasm/bin.
ALL dependencies sucessfully found or installed . Installing EOSIO
CMAKE_BUILD_TYPE=Release ENABLE_COVERAGE_TESTING=false DOXYGEN=false
-- The CXX compiler identification is Clang 4.0.1 -- Check for working CXX compiler: /usr/bin/clang++-4.0 -- Check for working CXX compiler: /usr/bin/clang++-4.0 -- broken CMake Error at /usr/share/cmake-3.10/Modules/CMakeTestCXXCompiler.cmake:45 (message): The C++ compiler
"/usr/bin/clang++-4.0"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: /root/Documents/eos/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_89a9c/fast"
/usr/bin/make -f CMakeFiles/cmTC_89a9c.dir/build.make CMakeFiles/cmTC_89a9c.dir/build
make[1]: Entering directory '/root/Documents/eos/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_89a9c.dir/testCXXCompiler.cxx.o
/usr/bin/clang++-4.0 -o CMakeFiles/cmTC_89a9c.dir/testCXXCompiler.cxx.o -c /root/Documents/eos/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
Linking CXX executable cmTC_89a9c
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_89a9c.dir/link.txt --verbose=1
/usr/bin/clang++-4.0 CMakeFiles/cmTC_89a9c.dir/testCXXCompiler.cxx.o -o cmTC_89a9c
/usr/bin/ld: cannot find -lstdc++
clang: error: linker command failed with exit code 1 (use -v to see invocation)
CMakeFiles/cmTC_89a9c.dir/build.make:97: recipe for target 'cmTC_89a9c' failed
make[1]: *** [cmTC_89a9c] Error 1
make[1]: Leaving directory '/root/Documents/eos/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_89a9c/fast' failed
make: *** [cmTC_89a9c/fast] Error 2
CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:4 (project)
-- Configuring incomplete, errors occurred! See also "/root/Documents/eos/build/CMakeFiles/CMakeOutput.log". See also "/root/Documents/eos/build/CMakeFiles/CMakeError.log".
>>>>>>>>>>>>>>>>>>>> CMAKE building EOSIO has exited with the above error.
@qs-lll can you run the following command and paste the stdout here? command -v llvm-config-4.0 | xargs ls -lah llvm-config-4.0 --has-rtti --version
No response from reporter, closing.