Build of UE4Editor on Ubuntu 18.04 fails

only other change I have is my system clang is 5.0.1 - but you tried that - maybe try that with reduced processors.
Ive built Unreal Engine multiple times and multiple versions (4.20.3,4.18.3) since then and all worked smoothly following the Linux build instructions with hyper threading disabled.