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]
Add support for MODULE_VTABLE for exposing the VTable (Also optionally if enabled RTTI) info for a given type for clang (Linux/Mac)
Rename command line arg bHideSymbolsByDefault to bPublicSymbolsByDefault, as well as now add support for setting this change the BuildConfiguration.xml file
Started from Github PR #3351 though a different way to go about it
#jira UE-42635
#rb Arciel.Rekman, Steve.Robb, Ben.Marsh, Michael.Trepka
#fyi Chris.Bunner, Chris.Gagnon
[CL 4923631 by Brandon Schaefer in Dev-Editor branch]