Hi,
I am currently trying to compile the UnrealEngine on linux.
But when doing make
the compiling terminates with:
make: *** [Makefile:252: CrashReportClient-Linux-Shipping] Error 5
I am using clang 5.0.0 on arch linux. But I compiled with clang 5.0 successfully on my other maschien in the past.
My other PC is an intel based laptop with an nvidia 860m, the PC I am using now is an AMD Ryzen 1700x based one with an AMD Vega 56 on the opensource drivers.
If you need more info just comment, I’ll try to help as much as possible.
I’ll add the whole output of the make
process beelow, its not too much.
bash "/home/siebencorgie/Programms/Unrealengine/UnrealEngine/Engine/Build/BatchFiles/Linux/Build.sh" CrashReportClient Linux Shipping
Building CrashReportClient...
Using 'git status' to determine working set for adaptive non-unity build.
Creating makefile for CrashReportClient (no existing makefile)
Performing full C++ include scan (no include cache file)
Using clang version '5.0.0' (string), 5 (major), 0 (minor), 0 (patch)
Building UnrealHeaderTool...
Using 'git status' to determine working set for adaptive non-unity build.
Creating makefile for UnrealHeaderTool (no existing makefile)
Performing full C++ include scan (no include cache file)
Using clang version '5.0.0' (string), 5 (major), 0 (minor), 0 (patch)
Using bundled libc++ standard C++ library.
Using fast way to relink circularly dependent libraries (no FixDeps).
Performing 27 actions (10 in parallel)
[2/27] Compile SharedPCH.Core.h
[4/27] Compile Module.UnrealHeaderTool.cpp
[1/27] Compile PCH.Core.h
[3/27] Compile PCH.CoreUObject.h
[5/27] Compile Module.Core.8_of_8.cpp
[6/27] Compile Module.Core.7_of_8.cpp
[7/27] Compile Module.Core.6_of_8.cpp
[8/27] Compile Module.Core.5_of_8.cpp
[9/27] Compile Module.Core.4_of_8.cpp
[10/27] Compile Module.Core.3_of_8.cpp
[11/27] Compile Module.Core.2_of_8.cpp
[12/27] Compile Module.Core.1_of_8.cpp
[13/27] Compile Module.Json.cpp
[14/27] Compile Module.ApplicationCore.cpp
[15/27] Compile Module.Projects.cpp
[16/27] Compile Module.CoreUObject.5_of_6.cpp
[17/27] Compile Module.CoreUObject.6_of_6.cpp
[18/27] Compile Module.CoreUObject.1_of_6.cpp
[19/27] Compile Module.CoreUObject.2_of_6.cpp
[20/27] Compile Module.CoreUObject.3_of_6.cpp
[21/27] Compile Module.CoreUObject.4_of_6.cpp
/usr/bin/../lib/libLLVM-5.0.so(_ZN4llvm3sys15PrintStackTraceERNS_11raw_ostreamE+0x2b)[0x7f6d8ff6f9bb]
/usr/bin/../lib/libLLVM-5.0.so(_ZN4llvm3sys17RunSignalHandlersEv+0x56)[0x7f6d8ff6d806]
/usr/bin/../lib/libLLVM-5.0.so(+0x808953)[0x7f6d8ff6d953]
/usr/bin/../lib/libc.so.6(+0x34920)[0x7f6d8ee44920]
/usr/bin/../lib/libLLVM-5.0.so(_ZN4llvm12LoopInfoBaseINS_10BasicBlockENS_4LoopEE7analyzeERKNS_17DominatorTreeBaseIS1_Lb0EEE+0xb71)[0x7f6d90e025e1]
/usr/bin/../lib/libLLVM-5.0.so(_ZN4llvm19LoopInfoWrapperPass13runOnFunctionERNS_8FunctionE+0x87)[0x7f6d90e030d7]
/usr/bin/../lib/libLLVM-5.0.so(_ZN4llvm13FPPassManager13runOnFunctionERNS_8FunctionE+0x311)[0x7f6d90055911]
/usr/bin/../lib/libLLVM-5.0.so(_ZN4llvm13FPPassManager11runOnModuleERNS_6ModuleE+0x32)[0x7f6d90055952]
/usr/bin/../lib/libLLVM-5.0.so(_ZN4llvm6legacy15PassManagerImpl3runERNS_6ModuleE+0x312)[0x7f6d900550e2]
/usr/bin/clang-5.0(_ZN5clang17EmitBackendOutputERNS_17DiagnosticsEngineERKNS_19HeaderSearchOptionsERKNS_14CodeGenOptionsERKNS_13TargetOptionsERKNS_11LangOptionsERKN4llvm10DataLayoutEPNSE_6ModuleENS_13BackendActionESt10unique_ptrINSE_17raw_pwrite_streamESt14default_deleteISM_EE+0x1bf8)[0x555b2372e3b8]
/usr/bin/clang-5.0(+0x897a5e)[0x555b23bd0a5e]
/usr/bin/clang-5.0(_ZN5clang8ParseASTERNS_4SemaEbb+0x332)[0x555b23e5e642]
/usr/bin/clang-5.0(_ZN5clang13CodeGenAction13ExecuteActionEv+0x38)[0x555b23bcf958]
/usr/bin/clang-5.0(_ZN5clang14FrontendAction7ExecuteEv+0xb6)[0x555b23b16216]
/usr/bin/clang-5.0(_ZN5clang16CompilerInstance13ExecuteActionERNS_14FrontendActionE+0x18f)[0x555b23addb7f]
/usr/bin/clang-5.0(_ZN5clang25ExecuteCompilerInvocationEPNS_16CompilerInstanceE+0xd1e)[0x555b23bc6c2e]
/usr/bin/clang-5.0(_Z8cc1_mainN4llvm8ArrayRefIPKcEES2_Pv+0x9d9)[0x555b236d2e09]
/usr/bin/clang-5.0(main+0x2699)[0x555b236ceea9]
/usr/bin/../lib/libc.so.6(__libc_start_main+0xea)[0x7f6d8ee30f6a]
/usr/bin/clang-5.0(_start+0x2a)[0x555b236d057a]
Stack dump:
0. Program arguments: /usr/bin/clang-5.0 -cc1 -triple x86_64-unknown-linux-gnu -emit-obj -disable-free -disable-llvm-verifier -discard-value-names -main-file-name Module.Core.3_of_8.cpp -mrelocation-model pic -pic-level 2 -mthread-model posix -masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu x86-64 -momit-leaf-frame-pointer -dwarf-column-info -debug-info-kind=limited -dwarf-version=3 -debugger-tuning=gdb -coverage-notes-file /home/siebencorgie/Programms/Unrealengine/UnrealEngine/Engine/Intermediate/Build/Linux/B4D820EA/UnrealHeaderTool/Development/Core/Module.Core.3_of_8.cpp.gcno -nostdinc++ -resource-dir /usr/lib/clang/5.0.0 -include-pch /home/siebencorgie/Programms/Unrealengine/UnrealEngine/Engine/Intermediate/Build/Linux/B4D820EA/UnrealHeaderTool/Development/Core/PCH.Core.h.gch -I ThirdParty/Linux/LibCxx/include/ -I ThirdParty/Linux/LibCxx/include/c++/v1 -D PLATFORM_EXCEPTIONS_DISABLED=0 -D _LINUX64 -I /home/siebencorgie/Programms/Unrealengine/UnrealEngine/Engine/Source -I Developer/DerivedDataCache/Public -I Runtime/SynthBenchmark/Public -I Runtime/Core/Private -I Runtime/Core/Private/Misc -I Runtime/Core/Private/Internationalization -I Runtime/Core/Private/Internationalization/Cultures -I Runtime/Engine/Public -I Runtime/Core/Public -I Runtime/Core/Public/Internationalization -I Runtime/Core/Public/Async -I Runtime/Core/Public/Containers -I Runtime/Core/Public/Delegates -I Runtime/Core/Public/GenericPlatform -I Runtime/Core/Public/HAL -I Runtime/Core/Public/Logging -I Runtime/Core/Public/Math -I Runtime/Core/Public/Misc -I Runtime/Core/Public/Modules -I Runtime/Core/Public/Modules/Boilerplate -I Runtime/Core/Public/ProfilingDebugging -I Runtime/Core/Public/Serialization -I Runtime/Core/Public/Serialization/Csv -I Runtime/Core/Public/Stats -I Runtime/Core/Public/Templates -I Runtime/Core/Public/UObject -I Runtime/Core/Public/Linux -I Runtime/Core -I ThirdParty/zlib/v1.2.8/include/Linux/x86_64-unknown-linux-gnu -I ThirdParty/zlib -I ThirdParty/jemalloc/include/Linux/x86_64-unknown-linux-gnu -I ThirdParty/jemalloc -I ThirdParty/elftoolchain/include/x86_64-unknown-linux-gnu -I ThirdParty/elftoolchain -I Developer/TargetPlatform/Public -I Developer/TargetPlatform/Public/Common -I Developer/TargetPlatform/Public/Interfaces -I Developer/TargetPlatform -I Developer/DerivedDataCache -I Runtime/InputDevice/Public -I Runtime/InputDevice -I Runtime/Analytics/Analytics/Public -I Runtime/Analytics/Analytics/Public/Interfaces -I Runtime/Analytics/Analytics -I Runtime/RHI/Public -I Runtime/RHI -I /usr/include -internal-isystem /usr/local/include -internal-isystem /usr/lib/clang/5.0.0/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -O2 -Wall -Werror -Wsequence-point -Wdelete-non-virtual-dtor -Wno-unused-private-field -Wno-tautological-compare -Wno-undefined-bool-conversion -Wno-unused-local-typedef -Wno-inconsistent-missing-override -Wno-undefined-var-template -Wno-unused-lambda-capture -Wno-unused-variable -Wno-unused-function -Wno-switch -Wno-unknown-pragmas -Wno-invalid-offsetof -Wno-gnu-string-literal-operator-template -Wshadow -Wno-error=shadow -Wundef -Wno-error=undef -std=c++14 -fdeprecated-macro -fdebug-compilation-dir /home/siebencorgie/Programms/Unrealengine/UnrealEngine/Engine/Source -ferror-limit 19 -fmessage-length 105 -ftls-model=local-dynamic -stack-protector 2 -fno-rtti -fobjc-runtime=gcc -fcxx-exceptions -fexceptions -fdiagnostics-show-option -fcolor-diagnostics -vectorize-loops -vectorize-slp -o /home/siebencorgie/Programms/Unrealengine/UnrealEngine/Engine/Intermediate/Build/Linux/B4D820EA/UnrealHeaderTool/Development/Core/Module.Core.3_of_8.cpp.o -x c++ /home/siebencorgie/Programms/Unrealengine/UnrealEngine/Engine/Intermediate/Build/Linux/B4D820EA/UnrealHeaderTool/Development/Core/Module.Core.3_of_8.cpp
1. <eof> parser at end of file
2. Code generation
3. Running pass 'Function Pass Manager' on module '/home/siebencorgie/Programms/Unrealengine/UnrealEngine/Engine/Intermediate/Build/Linux/B4D820EA/UnrealHeaderTool/Development/Core/Module.Core.3_of_8.cpp'.
4. Running pass 'Natural Loop Information' on function '@_ZN22FTextHistory_AsPercentC2E20FFormatArgumentValuePK24FNumberFormattingOptions10TSharedPtrI8FCultureL7ESPMode1EE'
error: unable to rename temporary
'/home/siebencorgie/Programms/Unrealengine/UnrealEngine/Engine/Intermediate/Build/Linux/B4D820EA/UnrealHeaderTool/Development/Core/Module.Core.3_of_8.cpp.o-efe5115a'
to output file
'/home/siebencorgie/Programms/Unrealengine/UnrealEngine/Engine/Intermediate/Build/Linux/B4D820EA/UnrealHeaderTool/Development/Core/Module.Core.3_of_8.cpp.o':
'No such file or directory'
1 error generated.
ERROR: UBT ERROR: Failed to produce item: /home/siebencorgie/Programms/Unrealengine/UnrealEngine/Engine/Binaries/Linux/libUnrealHeaderTool-Core.so
Total build time: 44.62 seconds (Local executor: 0.00 seconds)
Error: UnrealHeaderTool failed for target 'CrashReportClient' (platform: Linux, module info: /home/siebencorgie/Programms/Unrealengine/UnrealEngine/Engine/Intermediate/Build/Linux/B4D820EA/CrashReportClient/Shipping/CrashReportClient.uhtmanifest, exit code: OtherCompilationError (5)).
make: *** [Makefile:252: CrashReportClient-Linux-Shipping] Error 5