public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Oliver Steffen" <osteffen@redhat.com>
To: devel@edk2.groups.io
Cc: bob.c.feng@intel.com, gaoliming@byosoft.com.cn,
	yuwei.chen@intel.com, Oliver Steffen <osteffen@redhat.com>
Subject: [PATCH v2 0/1] BaseTools: disable stack protector (gcc, AARCH64)
Date: Wed, 20 Apr 2022 10:16:02 +0200	[thread overview]
Message-ID: <20220420081603.27503-1-osteffen@redhat.com> (raw)
In-Reply-To: <16E78AC5D5F67B5F.27458@groups.io>

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


       reply	other threads:[~2022-04-20  8:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <16E78AC5D5F67B5F.27458@groups.io>
2022-04-20  8:16 ` Oliver Steffen [this message]
2022-04-20  8:16   ` [PATCH v2 1/1] BaseTools: disable stack protector (gcc, AARCH64) Oliver Steffen
2022-04-21  1:27     ` 回复: " gaoliming

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220420081603.27503-1-osteffen@redhat.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox