UE4 4.21 Increased Linux Binary Size

We just upgraded to from 4.20 to 4.21 and our Linux standalone binaries have grown from ~300MB to ~3GB.

I’ve diffed the UBT build files for Linux and nothing is jumping out at me that would cause the issue. We are using the cross compile toolchain on windows and have updated to using v12_clang-6.0.1-centos7. No significant change in Win64 standalone binary size.

Is anyone else seeing this?
Any ideas as to what is going wrong?

You are talking only about the debug info, right, the stripped binaries are roughly the same?
If so, two things might have contributed: the debug info for generated code is now on by default (you can disable it in Target.cs file of a particular target or in TargetRules.cs globally, set bDisableDebugInfoForGeneratedCode=true), and -fstandalone-debug was enabled. This was all done in attempts to improve the debug experience, however -fstandalone-debug has been undone for 4.21.1 (in monolithic builds), see this commit.

Excellent. That fixed the issue.
Binary is back down to ~250MB.

I was referring to the main game binary being built. i.e. YourGameNameServer without any extension.

Also, I ran the strip tool on the previous 3GB binary with –strip-all and it brought it down to ~370MB

Thanks so much for the help.