#jira UE-91519
#rb Michael.Sartain
#ROBOMERGE-SOURCE: CL 12579869 in //UE4/Release-4.25/... via CL 12579901 via CL 12579935
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v675-12543919)
[CL 12579940 by brandon schaefer in Main branch]
#rb none
#ROBOMERGE-SOURCE: CL 11122035 via CL 11122042 via CL 11122053
#ROBOMERGE-BOT: (v640-11091645)
[CL 11122062 by brandon schaefer in Main branch]
Enables support for LLVMs Memory Sanitizer (-EnableMSan)
#jira UE-87546
#rb none
[FYI] Michael.Sartain, Bob.Tellez
#ROBOMERGE-SOURCE: CL 11121567 via CL 11121591 via CL 11121594
#ROBOMERGE-BOT: (v640-11091645)
[CL 11121609 by brandon schaefer in Main branch]
#rb Ben.Marsh
#ROBOMERGE-OWNER: michael.lentine
#ROBOMERGE-AUTHOR: michael.lentine
#ROBOMERGE-SOURCE: CL 10727300 via CL 10727303 via CL 10727314 via CL 10727316
#ROBOMERGE-BOT: (v610-10636431)
[CL 10727317 by michael lentine in Main branch]
Too many one-off broken cases. We'll work on a solution for 4.25.
#jira UE-82187
#rb Brandon.Schaefer
[FYI] Arciel.Rekman
#ROBOMERGE-SOURCE: CL 9882598 in //UE4/Release-4.24/...
#ROBOMERGE-BOT: RELEASE (Release-4.24 -> Main) (v553-9872581)
[CL 9882599 by michael sartain in Main branch]
Came in with CL 9618959. Should get added back if CL 9457635 is pulled.
#jira none
#rb Brandon.Schaefer
#fyi Shaun.Kime, Michael.Galetzka
[CL 9625204 by Michael Sartain in 4.24 branch]
When linking shared libs (DSOs) under Linux, we need the -shared-libsan option. This will cause us to load the libclang_rt.asan-x86_64.so, etc and not static link so we need to add the path to the executable rpath.
https://github.com/google/sanitizers/issues/1086https://www.gitmemory.com/issue/google/sanitizers/1086/509784249
Add linux sanitizer information to build details if set. Should look something like this:
------- Build details --------
Using system toolchain.
Using clang (/usr/bin/clang++) version '8.0.1' (string), 8 (major), 0 (minor), 1 (patch)
Using bundled libc++ standard C++ library.
Using lld linker
Using llvm-ar : /usr/bin/llvm-ar
Building with: AddressSanitizer
Using fast way to relink circularly dependent libraries (no FixDeps).
------------------------------
Cherry pick 9953880, 2539328
#jira none
#rb Brandon.Schaefer
[CL 9619854 by Michael Sartain in 4.24 branch]
We now only check for and use the system compiler if "-ForceUseSystemCompiler" command line is passed
Also don't default to epic compiler if -ForceUseSystemCompiler specified and we can't find the system compiler
More descriptive error messages when linux sdk toolchain not found
$ LINUX_MULTIARCH_ROOT=/tmp/foobar make BlankProgram
bash "/epic/UE4-23.git/Engine/Build/BatchFiles/Linux/Build.sh" BlankProgram Linux Development
Fixing inconsistent case in filenames.
Setting up Mono
Building BlankProgram...
Unable to locate Linux SDK toolchain at /tmp/foobar/x86_64-unknown-linux-gnu.
ERROR: GetBuildPlatform: No BuildPlatform found for Linux
make: *** [Makefile:183: BlankProgram] Error 5
$ make BlankProgram ARGS="-forceusesystemcompiler"
bash "/epic/UE4-23.git/Engine/Build/BatchFiles/Linux/Build.sh" BlankProgram Linux Development -forceusesystemcompiler
Fixing inconsistent case in filenames.
Setting up Mono
Building BlankProgram...
Unable to locate system compiler (-ForceUseSystemCompiler specified).
ERROR: GetBuildPlatform: No BuildPlatform found for Linux
make: *** [Makefile:183: BlankProgram] Error 5
$ LINUX_MULTIARCH_ROOT= make BlankProgram
bash "/epic/UE4-23.git/Engine/Build/BatchFiles/Linux/Build.sh" BlankProgram Linux Development
Fixing inconsistent case in filenames.
Setting up Mono
Building BlankProgram...
Unable to locate Linux SDK toolchain. Please run Setup.sh.
ERROR: GetBuildPlatform: No BuildPlatform found for Linux
make: *** [Makefile:183: BlankProgram] Error 5
Cherry pick 9465561, 9472982, 9602106
#jira UE-81290
#rb Brandon.Schaefer
[CL 9619823 by Michael Sartain in 4.24 branch]