Trunk LLVM build fails on an x86 machine

Should I contact the local admin on this?

[25/294] Linking CXX executable bin/llvm-itanium-demangle-fuzzer
FAILED: bin/llvm-itanium-demangle-fuzzer
: && /home/usr4/c74014i/opt/clang/current/bin/clang++ -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -fuse-ld=lld -Wl,–color-diagnostics -Wl,-allow-shlib-undefined -Wl,-O3 -Wl,–gc-sections tools/llvm-itanium-demangle-fuzzer/CMakeFiles/llvm-itanium-demangle-fuzzer.dir/DummyDemanglerFuzzer.cpp.o tools/llvm-itanium-demangle-fuzzer/CMakeFiles/llvm-itanium-demangle-fuzzer.dir/llvm-itanium-demangle-fuzzer.cpp.o -o bin/llvm-itanium-demangle-fuzzer -Wl,-rpath,"$ORIGIN/…/lib" lib/libLLVMDemangle.a lib/libLLVMFuzzMutate.a lib/libLLVMSupport.a -lpthread lib/libLLVMBitWriter.a lib/libLLVMScalarOpts.a lib/libLLVMAggressiveInstCombine.a lib/libLLVMInstCombine.a lib/libLLVMTransformUtils.a lib/libLLVMTarget.a lib/libLLVMAnalysis.a lib/libLLVMObject.a lib/libLLVMBitReader.a lib/libLLVMMCParser.a lib/libLLVMTextAPI.a lib/libLLVMProfileData.a lib/libLLVMCore.a lib/libLLVMRemarks.a lib/libLLVMBitstreamReader.a lib/libLLVMMC.a lib/libLLVMBinaryFormat.a lib/libLLVMDebugInfoCodeView.a lib/libLLVMDebugInfoMSF.a lib/libLLVMSupport.a lib/libLLVMDemangle.a /usr/lib64/libz.so -lrt -ldl -ltinfo -lpthread -lm && :
terminate called after throwing an instance of ‘std::system_error’
what(): Resource temporarily unavailable
#0 0x00000000004d1244 PrintStackTraceSignalHandler(void*) (/home/usr4/c74014i/opt/clang/current/bin/ld.lld+0x4d1244)
#1 0x00000000004cf1ee llvm::sys::RunSignalHandlers() (/home/usr4/c74014i/opt/clang/current/bin/ld.lld+0x4cf1ee)
#2 0x00000000004d1965 SignalHandler(int) (/home/usr4/c74014i/opt/clang/current/bin/ld.lld+0x4d1965)
#3 0x00007facfad70630 __restore_rt (/lib64/libpthread.so.0+0xf630)
#4 0x00007facf9577377 raise /usr/src/debug/glibc-2.17-c758a686/signal/…/nptl/sysdeps/unix/sysv/linux/raise.c:55:0
#5 0x00007facf9578a68 abort /usr/src/debug/glibc-2.17-c758a686/stdlib/abort.c:92:0
#6 0x00007facf9bb7435 __gnu_cxx::__verbose_terminate_handler() /home/usr4/c74014i/packages/gcc-7.5.0/libstdc+±v3/libsupc++/vterminate.cc:95:0
#7 0x00007facf9bb51f6 __cxxabiv1::__terminate(void (*)()) /home/usr4/c74014i/packages/gcc-7.5.0/libstdc+±v3/libsupc++/eh_terminate.cc:51:0
#8 0x00007facf9bb5241 (/home/usr4/c74014i/opt/gcc-7.5.0/lib64/libstdc++.so.6+0x8f241)
#9 0x00007facf9be026e execute_native_thread_routine /home/usr4/c74014i/packages/gcc-7.5.0/libstdc+±v3/src/c++11/thread.cc:91:0
#10 0x00007facfad68ea5 start_thread /usr/src/debug/glibc-2.17-c758a686/nptl/pthread_create.c:307:0
#11 0x00007facf963f8cd clone /usr/src/debug////////glibc-2.17-c758a686/misc/…/sysdeps/unix/sysv/linux/x86_64/clone.S:113:0
clang-11: error: unable to execute command: Aborted
clang-11: error: linker command failed due to signal (use -v to see invocation)

terminate called after throwing an instance of 'std::system_error'
  what(): Resource temporarily unavailable

Sounds very much not an LLVM issue

Zhang

Reducing the number of cores for build by ninja solved this issue (and avoid using LLD).