Output errors while try of compiling program:
== Start ==
-- The CXX compiler identification is unknown
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- broken
CMake Error at /usr/share/cmake-3.0/Modules/CMakeTestCXXCompiler.cmake:54 (message):
The C++ compiler "/usr/bin/c++" is not able to compile a simple test
program.
Run Build Command:"/rofs/usr/bin/make" "cmTryCompileExec2487691060/fast"
/rofs/usr/bin/make -f CMakeFiles/cmTryCompileExec2487691060.dir/build.make
CMakeFiles/cmTryCompileExec2487691060.dir/build
/usr/bin/cmake -E cmake_progress_report
/tmp/anope/build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building CXX object
CMakeFiles/cmTryCompileExec2487691060.dir/testCXXCompiler.cxx.o
/usr/bin/c++ -o
CMakeFiles/cmTryCompileExec2487691060.dir/testCXXCompiler.cxx.o -c
/tmp/anope/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
as: Symbol `i386_optab' has different size in shared object, consider
re-linking
c++: internal compiler error: Segmentation fault (program as)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.9/README.Bugs> for instructions.
make[1]: ***
[CMakeFiles/cmTryCompileExec2487691060.dir/testCXXCompiler.cxx.o] Error 4
make: *** [cmTryCompileExec2487691060/fast] Error 2