[edk2-devel] [PATCH v2 0/1] BaseTools: disable stack protector (gcc, AARCH64)

Oliver Steffen posted 1 patch 2 years ago
Failed in applying to current master (apply log)
BaseTools/Conf/tools_def.template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[edk2-devel] [PATCH v2 0/1] BaseTools: disable stack protector (gcc, AARCH64)
Posted by Oliver Steffen 2 years ago
PR: https://github.com/tianocore/edk2/pull/2795

Explicity disable the stack protection with
-fno-stack-protection for builds using GCC on
AARCH64.

The gcc on Ubuntu enables -fstack-protector-strong
by default starting with Ubuntu 21.10.

GenFw fails if stack protection is enabled.

v2: Set -fno-stack-portector for GCC starting with version 4.8 instead
    for all versions.

Oliver Steffen (1):
  BaseTools: disable stack protector (gcc, AARCH64)

 BaseTools/Conf/tools_def.template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.36.0



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#89124): https://edk2.groups.io/g/devel/message/89124
Mute This Topic: https://groups.io/mt/90579800/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-