edk2/BaseTools/Conf
Oliver Smith-Denny 81031a51a0 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 <osde@microsoft.com>
2025-03-12 06:04:35 +00:00
..
XMLSchema BaseTools: Fix various typos 2019-07-08 08:59:29 +08:00
Empty_C_File_Host_Application_Build.c BaseTools/Conf: Simplify VS20xx HOST_APPLICATION builds 2025-01-21 05:02:38 +00:00
Empty_Package_Information_Data_File.ini BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
ReadMe.txt BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
build_rule.template BaseTools: Add BUILDRULEFAMILY for CLANGDWARF 2025-03-11 15:01:59 +00:00
diff.order BaseTools: convert diff.order to LF-only 2020-07-03 11:20:01 +00:00
gitattributes BaseTools/Conf/gitattributes: fix "--function-context" for C source code 2020-01-31 16:13:06 +00:00
target.template BaseTools: Add VS2022 XIPFLAGS 2024-12-10 23:42:09 +00:00
tools_def.template BaseTools: Disable VS2019/2022 ARM/AARCH64 Stack Cookies 2025-03-12 06:04:35 +00:00

ReadMe.txt

This directory contains the template files for the next generation of the
EDK II Build infrastructure.  These files will be copied into the WORKSPACE's
Conf directory if and only if the target files do not exist.

These files may be updated frequently.

The XMLSchema directory contains the EDK II Packaging XML definitions.  The
schema may change in the future.  It differs somewhat from the early versions
of the XML Schema.