octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

llvm fails to get built in mxe-octave


From: PhilipNienhuis
Subject: llvm fails to get built in mxe-octave
Date: Sat, 23 Mar 2019 06:09:04 -0500 (CDT)

Hi,

When starting a completely new fresh mxe-octave build, building llvm gets
stuck in the last stages. Excerpt from build log below. I see a long list of
errors about "too many open files".

What can I do to get llvm cross-built?

:
[ 98%] Building CXX object
lib/Target/X86/CMakeFiles/LLVMX86CodeGen.dir/X86CallingConv.cpp.obj
[ 98%] Linking CXX static library ../../libLLVMX86CodeGen.a
make[4]: Leaving directory
'/home/philip/devel/octdev/mxe/mxe_64b20190321/tmp-llvm/llvm-6.0.1.src/.build'
[ 98%] Built target LLVMX86CodeGen
make[4]: Entering directory
'/home/philip/devel/octdev/mxe/mxe_64b20190321/tmp-llvm/llvm-6.0.1.src/.build'
Scanning dependencies of target LLVM
make[4]: Leaving directory
'/home/philip/devel/octdev/mxe/mxe_64b20190321/tmp-llvm/llvm-6.0.1.src/.build'
make[4]: Entering directory
'/home/philip/devel/octdev/mxe/mxe_64b20190321/tmp-llvm/llvm-6.0.1.src/.build'
[ 98%] Building CXX object
tools/llvm-shlib/CMakeFiles/LLVM.dir/libllvm.cpp.obj
[100%] Linking CXX shared library ../../bin/LLVM.dll
/home/philip/devel/octdev/mxe/mxe_64b20190321/usr/bin/x86_64-w64-mingw32-ld:
cannot find ../../lib/libLLVMExecutionEngine.a: Too many open files
/home/philip/devel/octdev/mxe/mxe_64b20190321/usr/bin/x86_64-w64-mingw32-ld:
cannot find ../../lib/libLLVMInterpreter.a: Too many open files
:
     <snipped long list of similar messages>
:
/home/philip/devel/octdev/mxe/mxe_64b20190321/usr/bin/x86_64-w64-mingw32-ld:
cannot find ../../lib/libLLVMSupport.a: Too many open files
/home/philip/devel/octdev/mxe/mxe_64b20190321/usr/bin/x86_64-w64-mingw32-ld:
cannot find ../../lib/libLLVMDemangle.a: Too many open files
/home/philip/devel/octdev/mxe/mxe_64b20190321/usr/bin/x86_64-w64-mingw32-ld:
cannot find -lz
/home/philip/devel/octdev/mxe/mxe_64b20190321/usr/bin/x86_64-w64-mingw32-ld:
cannot find -lpsapi
:
     <snipped another long list of similar messages>
:
/home/philip/devel/octdev/mxe/mxe_64b20190321/usr/bin/x86_64-w64-mingw32-ld:
cannot find -lmsvcrt
/home/philip/devel/octdev/mxe/mxe_64b20190321/usr/bin/x86_64-w64-mingw32-ld:
cannot find
/home/philip/devel/octdev/mxe/mxe_64b20190321/usr/lib/gcc/x86_64-w64-mingw32/7.4.0/crtend.o:
Too many open files
collect2: error: ld returned 1 exit status
tools/llvm-shlib/CMakeFiles/LLVM.dir/build.make:179: recipe for target
'bin/LLVM.dll' failed
make[4]: *** [bin/LLVM.dll] Error 1
make[4]: Leaving directory
'/home/philip/devel/octdev/mxe/mxe_64b20190321/tmp-llvm/llvm-6.0.1.src/.build'
CMakeFiles/Makefile2:11566: recipe for target
'tools/llvm-shlib/CMakeFiles/LLVM.dir/all' failed
make[3]: *** [tools/llvm-shlib/CMakeFiles/LLVM.dir/all] Error 2
make[3]: Leaving directory
'/home/philip/devel/octdev/mxe/mxe_64b20190321/tmp-llvm/llvm-6.0.1.src/.build'
Makefile:151: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory
'/home/philip/devel/octdev/mxe/mxe_64b20190321/tmp-llvm/llvm-6.0.1.src/.build'
/home/philip/devel/octdev/mxe/mxe_64b20190321/Makefile:934: recipe for
target 'build-only-llvm' failed
make[1]: *** [build-only-llvm] Error 2
make[1]: Leaving directory '/home/philip/devel/octdev/mxe/mxe_64b20190321'


Philip




--
Sent from: http://octave.1599824.n4.nabble.com/Octave-Maintainers-f1638794.html



reply via email to

[Prev in Thread] Current Thread [Next in Thread]