Branch: refs/heads/master Home: https://github.com/tianocore/edk2 Commit: 81031a51a0148a5ff7904f02cc405c8f3b910c55 https://github.com/tianocore/edk2/commit/81031a51a0148a5ff7904f02cc405c8f3b910c55 Author: Oliver Smith-Denny <o...@microsoft.com> Date: 2025-03-12 (Wed, 12 Mar 2025)
Changed paths: M BaseTools/Conf/tools_def.template Log Message: ----------- BaseTools: Disable VS2019/2022 ARM/AARCH64 Stack Cookies VS2019/VS2022 ARM/AARCH64 is not a widely used toolchain, for one thing edk2 can't be built with it, it will break. Downstream platforms rarely use it and if they do, they must have heavy edits in order to support building edk2. In particular, edk2 does not have support for the assembly files that this toolchain uses fully. As a result, the corresponding StackCheckLib does not have the assembly file needed to satisfy the definitions the compiler expects. Unfortunately, the VS ARM/AARCH64 compiler has a different ABI than the IA32/X64 VS toolchain for stack cookies, so this also needs more investigation. For now, disable stack cookie checking in VS ARM/AARCH64 as this does not affect many platforms. However, it does allow for the use case reported in the bug mentioning this, which is building a shell and attempting to boot to it. When VS ARM/AARCH64 support is revisited in edk2 (or if there is a clean way to add stack cookie support without the full support), this will be revisted. Signed-off-by: Oliver Smith-Denny <o...@microsoft.com> To unsubscribe from these emails, change your notification settings at https://github.com/tianocore/edk2/settings/notifications _______________________________________________ edk2-commits mailing list edk2-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-commits