Dear valued Unreal Engine user,
This may be a clang bug and looks familiar. As you are using 4.24, the first recommendation would be to take a look at 4.25 or 4.26 as they may have already fixed this issue. You could then back port the toolchain if you need to use 4.24.
Also, if you are not already, please make sure to initially test on either the most recent Ubuntu LTS or a RHEL based distro such as CentOS. This means you would have the greatest overlap with Unreal’s Enterprise and Game development customers, and Epic’s QA.
Thank you for your continued support,