From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.groups.io with SMTP id smtpd.web09.310.1650379647839282869 for ; Tue, 19 Apr 2022 07:47:28 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=g4UQCQv5; spf=pass (domain: redhat.com, ip: 170.10.133.124, mailfrom: osteffen@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1650379647; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=fTJQaF94aiPIpWu9vZv+CHTwvbYnuYs77yOFZ6Axb2c=; b=g4UQCQv5fcpXmgugCaa20dtmbmD04y9DJtpZth1zG0tp+ybQfh/lO5S/sMkkORg32eBSXK mQ7EpR2m0A9ioNosCVrlW7IPmyk15r4fHfujE0JzlvzYCzc6BMmIym6kO4FJYjZAM4w/E4 ap1/4KczYcMvQbUTE7+YdS1eiLq06Ow= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-206-jWJdsF6aPCedBm2dvaEkEA-1; Tue, 19 Apr 2022 10:47:23 -0400 X-MC-Unique: jWJdsF6aPCedBm2dvaEkEA-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 5004B803C9F; Tue, 19 Apr 2022 14:47:23 +0000 (UTC) Received: from osteffen-laptop.fritz.box (unknown [10.39.192.173]) by smtp.corp.redhat.com (Postfix) with ESMTP id 2DC09403365; Tue, 19 Apr 2022 14:47:22 +0000 (UTC) From: "Oliver Steffen" To: devel@edk2.groups.io Cc: bob.c.feng@intel.com, gaoliming@byosoft.com.cn, yuwei.chen@intel.com, Oliver Steffen Subject: [PATCH 0/1] BaseTools: disable stack protector (gcc, AARCH64) Date: Tue, 19 Apr 2022 16:46:56 +0200 Message-Id: <20220419144657.339414-1-osteffen@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.85 on 10.11.54.10 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=osteffen@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII"; x-default=true 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. Oliver Steffen (1): BaseTools: disable stack protector (gcc, AARCH64) BaseTools/Conf/tools_def.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.35.1