Compiling UE 4.24 does not compile on several Ubuntu machines

anonymous_user_dc38930b
Thu, 21 Jan 2021 06:45:02 +0000
Platform & Builds

Hi, I am trying to compile UE 4.24 (needed for Carla) on several systems.
First, Ubuntu 16, Ubuntu 18 inside a Docker container, now Ubuntu 20 native.
Although I followed the installation doc and installed the prerequisites the build always crashes due to some weird clang++ issue.
In more detail, the build resumes with recurring errors like below:

[1148/2232] Compile
RemoteControl.init.gen.cpp free():
invalid next size (fast) Stack dump:
…

/mnt/UnrealEngine_4.24/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v15_clang-8.0.1-centos7/x86_64-unknown-linux-gnu/bin/clang++(main+0x1c35)[0xa0f775]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0x7fb541cc70b3]
/mnt/UnrealEngine_4.24/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v15_clang-8.0.1-centos7/x86_64-unknown-linux-gnu/bin/clang++[0xa84fc7]
clang++: error: unable to execute command: Aborted
clang++: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 8.0.1 (tags/RELEASE_801/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /mnt/UnrealEngine_4.24/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v15_clang-8.0.1-centos7/x86_64-unknown-linux-gnu/bin

And finally failing with:
/mnt/UnrealEngine_4.24/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v15_clang-8.0.1-centos7/x86_64-unknown-linux-gnu/bin/x86_64-unknown-linux-gnu-ld: /mnt/UnrealEngine_4.24/Engine/Plugins/Developer/UObjectPlugin/Intermediate/Build/Linux/B4D820EA/UE4Editor/Development/UObjectPlugin/Module.UObjectPlugin.gen.cpp.o(.debug_info+0x40001743f): reloc against `.debug_str': error 4
/mnt/UnrealEngine_4.24/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v15_clang-8.0.1-centos7/x86_64-unknown-linux-gnu/bin/x86_64-unknown-linux-gnu-ld: final link failed: nonrepresentable section on output
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
....
[1737/2232] Copy AgentInterface.dll
make: *** [Makefile:908: UE4Editor] Error 5

Any help is appreciated as I have been trying to compile for a half year now without success.
I don’t know, why noone else is facing this issue although i am able to reproduce this on all systems I use.

I hope I just doing the same simple error each time

1 post - 1 participant