Hello all, I tried to build UnrealEngine for Linux target, but got error message which will be below. I followed instructions at all, after I installed clang, I rebuild by UE5 and button build project for linux platform was appeared in IDE. Also regenerated project files. Clang is accessible from PATH and works on PC.
Also I tried to cook it with RunUAT:
RunUAT.sh BuildCookRun -project=%ProjectPath% -build -server -noclient -clientconfig=Development -platform=Linux
Output:
Compile Module.InteractiveToolsFramework.cpp
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0. Program arguments: C:\\UnrealToolchains\\v21_clang-15.0.1-centos7\\x86_64-unknown-linux-gnu\\bin\\clang++.exe "@C:/Users/Vladyslav Bardin/Documents/CICDUnreal/Intermediate/Build/Linux/x64/CICDFirstPersonTestServer/Development/InteractiveToolsFramework/Module.InteractiveToolsFramework.cpp.o.rsp"
1. <eof> parser at end of file
2. Code generation
3. Running pass 'Function Pass Manager' on module 'C:/Users/Vladyslav Bardin/Documents/CICDUnreal/Intermediate/Build/Linux/x64/CICDFirstPersonTestServer/Development/InteractiveToolsFramework/Module.InteractiveToolsFramework.cpp'.
4. Running pass 'Simple Register Coalescing' on function '@_ZN18UGizmoElementTorus9LineTraceEPK17UGizmoViewContextRKN17UGizmoElementBase24FLineTraceTraversalStateERKN2UE4Math7TVectorIdEESC_'
Exception Code: 0xC0000005
#0 0x00007ff6266551f5 (C:\UnrealToolchains\v21_clang-15.0.1-centos7\x86_64-unknown-linux-gnu\bin\clang++.exe+0x3451f5)
#1 0x00007ff627436101 (C:\UnrealToolchains\v21_clang-15.0.1-centos7\x86_64-unknown-linux-gnu\bin\clang++.exe+0x1126101)
#2 0x00007ff627436f10 (C:\UnrealToolchains\v21_clang-15.0.1-centos7\x86_64-unknown-linux-gnu\bin\clang++.exe+0x1126f10)
#3 0x00007ff6274361c1 (C:\UnrealToolchains\v21_clang-15.0.1-centos7\x86_64-unknown-linux-gnu\bin\clang++.exe+0x11261c1)
#4 0x00007ff627436f10 (C:\UnrealToolchains\v21_clang-15.0.1-centos7\x86_64-unknown-linux-gnu\bin\clang++.exe+0x1126f10)
#5 0x00007ff62743adb3 (C:\UnrealToolchains\v21_clang-15.0.1-centos7\x86_64-unknown-linux-gnu\bin\clang++.exe+0x112adb3)
#6 0x00007ff62743a526 (C:\UnrealToolchains\v21_clang-15.0.1-centos7\x86_64-unknown-linux-gnu\bin\clang++.exe+0x112a526)
#7 0x00007ff6274398aa (C:\UnrealToolchains\v21_clang-15.0.1-centos7\x86_64-unknown-linux-gnu\bin\clang++.exe+0x11298aa)
#8 0x00007ff6274374a7 (C:\UnrealToolchains\v21_clang-15.0.1-centos7\x86_64-unknown-linux-gnu\bin\clang++.exe+0x11274a7)
#9 0x00007ff6274373c9 (C:\UnrealToolchains\v21_clang-15.0.1-centos7\x86_64-unknown-linux-gnu\bin\clang++.exe+0x11273c9)
#10 0x00007ff6274393ae (C:\UnrealToolchains\v21_clang-15.0.1-centos7\x86_64-unknown-linux-gnu\bin\clang++.exe+0x11293ae)
#11 0x00007ff62743ddf2 (C:\UnrealToolchains\v21_clang-15.0.1-centos7\x86_64-unknown-linux-gnu\bin\clang++.exe+0x112ddf2)
#12 0x00007ff62739265d (C:\UnrealToolchains\v21_clang-15.0.1-centos7\x86_64-unknown-linux-gnu\bin\clang++.exe+0x108265d)
#13 0x00007ff62755b686 (C:\UnrealToolchains\v21_clang-15.0.1-centos7\x86_64-unknown-linux-gnu\bin\clang++.exe+0x124b686)
#14 0x00007ff62755b880 (C:\UnrealToolchains\v21_clang-15.0.1-centos7\x86_64-unknown-linux-gnu\bin\clang++.exe+0x124b880)
#15 0x00007ff62755ba93 (C:\UnrealToolchains\v21_clang-15.0.1-centos7\x86_64-unknown-linux-gnu\bin\clang++.exe+0x124ba93)
#16 0x00007ff62755b3ce (C:\UnrealToolchains\v21_clang-15.0.1-centos7\x86_64-unknown-linux-gnu\bin\clang++.exe+0x124b3ce)
#17 0x00007ff627c0144c (C:\UnrealToolchains\v21_clang-15.0.1-centos7\x86_64-unknown-linux-gnu\bin\clang++.exe+0x18f144c)
#18 0x00007ff627c00af6 (C:\UnrealToolchains\v21_clang-15.0.1-centos7\x86_64-unknown-linux-gnu\bin\clang++.exe+0x18f0af6)
#19 0x00007ff627c01091 (C:\UnrealToolchains\v21_clang-15.0.1-centos7\x86_64-unknown-linux-gnu\bin\clang++.exe+0x18f1091)
#20 0x00007ff629642d7a (C:\UnrealToolchains\v21_clang-15.0.1-centos7\x86_64-unknown-linux-gnu\bin\clang++.exe+0x3332d7a)
#21 0x00007ff628a042d7 (C:\UnrealToolchains\v21_clang-15.0.1-centos7\x86_64-unknown-linux-gnu\bin\clang++.exe+0x26f42d7)
#22 0x00007ff628086208 (C:\UnrealToolchains\v21_clang-15.0.1-centos7\x86_64-unknown-linux-gnu\bin\clang++.exe+0x1d76208)
#23 0x00007ff629641e25 (C:\UnrealToolchains\v21_clang-15.0.1-centos7\x86_64-unknown-linux-gnu\bin\clang++.exe+0x3331e25)
#24 0x00007ff628086094 (C:\UnrealToolchains\v21_clang-15.0.1-centos7\x86_64-unknown-linux-gnu\bin\clang++.exe+0x1d76094)
#25 0x00007ff62805f561 (C:\UnrealToolchains\v21_clang-15.0.1-centos7\x86_64-unknown-linux-gnu\bin\clang++.exe+0x1d4f561)
#26 0x00007ff6280deb6f (C:\UnrealToolchains\v21_clang-15.0.1-centos7\x86_64-unknown-linux-gnu\bin\clang++.exe+0x1dceb6f)
#27 0x00007ff626366d74 (C:\UnrealToolchains\v21_clang-15.0.1-centos7\x86_64-unknown-linux-gnu\bin\clang++.exe+0x56d74)
#28 0x00007ff6263623b0 (C:\UnrealToolchains\v21_clang-15.0.1-centos7\x86_64-unknown-linux-gnu\bin\clang++.exe+0x523b0)
#29 0x00007ff627f9ba43 (C:\UnrealToolchains\v21_clang-15.0.1-centos7\x86_64-unknown-linux-gnu\bin\clang++.exe+0x1c8ba43)
#30 0x00007ff62799b5cd (C:\UnrealToolchains\v21_clang-15.0.1-centos7\x86_64-unknown-linux-gnu\bin\clang++.exe+0x168b5cd)
#31 0x00007ff627f9c0b6 (C:\UnrealToolchains\v21_clang-15.0.1-centos7\x86_64-unknown-linux-gnu\bin\clang++.exe+0x1c8c0b6)
#32 0x00007ff627f3154c (C:\UnrealToolchains\v21_clang-15.0.1-centos7\x86_64-unknown-linux-gnu\bin\clang++.exe+0x1c2154c)
#33 0x00007ff627f316cb (C:\UnrealToolchains\v21_clang-15.0.1-centos7\x86_64-unknown-linux-gnu\bin\clang++.exe+0x1c216cb)
#34 0x00007ff627f1cb63 (C:\UnrealToolchains\v21_clang-15.0.1-centos7\x86_64-unknown-linux-gnu\bin\clang++.exe+0x1c0cb63)
#35 0x00007ff626364103 (C:\UnrealToolchains\v21_clang-15.0.1-centos7\x86_64-unknown-linux-gnu\bin\clang++.exe+0x54103)
#36 0x00007ff62949c390 (C:\UnrealToolchains\v21_clang-15.0.1-centos7\x86_64-unknown-linux-gnu\bin\clang++.exe+0x318c390)
#37 0x00007ffafec126ad (C:\WINDOWS\System32\KERNEL32.DLL+0x126ad)
#38 0x00007ffaff86aa68 (C:\WINDOWS\SYSTEM32\ntdll.dll+0x5aa68)
clang++ : error : clang frontend command failed due to signal (use -v to see invocation)
clang version 15.0.1 (https://github.com/llvm/llvm-project b73d2c8c720a8c8e6e73b11be4e27afa6cb75bdf)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: C:\UnrealToolchains\v21_clang-15.0.1-centos7\x86_64-unknown-linux-gnu\bin
clang++: note: diagnostic msg:
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang++: note: diagnostic msg: C:\Users\Vladyslav Bardin\AppData\Local\Temp\UnrealBuildTool\0aec4b97\Module-71eda3.cpp
clang++: note: diagnostic msg: C:\Users\Vladyslav Bardin\AppData\Local\Temp\UnrealBuildTool\0aec4b97\Module-71eda3.sh
clang++: note: diagnostic msg: