On 10/26/19 4:12 PM, Trent via blfs-support wrote:
So here is the referenced link on this.
http://www.linuxfromscratch.org/blfs/view/stable-systemd/general/llvm.html
I am building it from the recommendation for Mesa-19.1.4
The first time I ran the build, it did not give useful information.
The second time it did give more information, but not useful enough
for any searches I tried.
"g++: fatal error: Killed signal terminated program cc1plus" saying
the compiler crashed?
Here is the output from second run.
[8/1352] Building CXX object
tools/clang/lib/ASTMatch...CMakeFiles/clangDynamicASTMatchers.dir/Registry.cpp.o
FAILED:
tools/clang/lib/ASTMatchers/Dynamic/CMakeFiles/clangDynamicASTMatchers.dir/Registry.cpp.o
/usr/bin/g++ -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS
-D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-Itools/clang/lib/ASTMatchers/Dynamic
-I../tools/clang/lib/ASTMatchers/Dynamic -I../tools/clang/include
-Itools/clang/include -I/usr/include/libxml2 -Iinclude -I../include
-fPIC -fvisibility-inlines-hidden -Werror=date-time -std=c++11 -Wall
-Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual
-Wno-missing-field-initializers -pedantic -Wno-long-long
-Wimplicit-fallthrough -Wno-maybe-uninitialized -Wno-class-memaccess
-Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment
-fdiagnostics-color -ffunction-sections -fdata-sections -fno-common
-Woverloaded-virtual -fno-strict-aliasing -O3 -DNDEBUG-fno-exceptions
-MD -MT
tools/clang/lib/ASTMatchers/Dynamic/CMakeFiles/clangDynamicASTMatchers.dir/Registry.cpp.o
-MF
tools/clang/lib/ASTMatchers/Dynamic/CMakeFiles/clangDynamicASTMatchers.dir/Registry.cpp.o.d
-o
tools/clang/lib/ASTMatchers/Dynamic/CMakeFiles/clangDynamicASTMatchers.dir/Registry.cpp.o
-c ../tools/clang/lib/ASTMatchers/Dynamic/Registry.cpp
g++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
[13/1352] Building CXX object
tools/clang/lib/Sema/CMakeFiles/clangSema.dir/SemaExpr.cpp.o
ninja: build stopped: subcommand failed.
Just a bit of an update on this.
I went ahead and ran the tests for cmake.
Here are the results.
99% tests passed, 2 tests failed out of 506
Label Time Summary:
Label1 = 0.56 sec*proc (1 test)
Label2 = 0.56 sec*proc (1 test)
Total Test time (real) = 1645.11 sec
The following tests FAILED:
5 - kwsys.testSystemTools (Failed)
446 - RunCMake.CommandLineTar (Failed)
I see the cmake page mentions the Tar would fail, but what about the other?
Trent
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page