From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-002e3701.pphosted.com (mx0a-002e3701.pphosted.com [148.163.147.86]) by mx.groups.io with SMTP id smtpd.web12.8258.1614236196949872501 for ; Wed, 24 Feb 2021 22:56:37 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=eXhObL/M; spf=pass (domain: hpe.com, ip: 148.163.147.86, mailfrom: prvs=0690489a7f=abner.chang@hpe.com) Received: from pps.filterd (m0134421.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 11P6j8YF031768; Thu, 25 Feb 2021 06:56:21 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hpe.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=pps0720; bh=YoRXEcGm1/CheLaNRXSZJkqSCn+VJ78WmuusgXUgZD0=; b=eXhObL/MUqvhYJEVjEGkCAwFmApWPFrHNeDG1dsohUfmJX0cddg5BkZv/LWZFiaxp2ez k/Vx5pIoLSmV9AB+5LyFQPDUuu3yUV2G2D5yFrNSNIPMivV/LfK1f+VQE/YQGaOM9i07 E1hlDIUYAZ28lWX1AxXkaU62OmaN0PxgbFvhQZ1KXCEo+9e/51FMv4482EkHw0UqUaiY yMMkRpYJhKmxH1T0x2Py830cj9Ur+4qQmaIF5uM968uucgH0gcZDJsfruapAgb4pYe4y Pkowhy+UK7hITDllE8ad29BIfB6Yq5BNIivUCJ52KIbI0ZpkPi+fa3DgUU/l1TWVAdvt Yg== Received: from g2t2353.austin.hpe.com (g2t2353.austin.hpe.com [15.233.44.26]) by mx0b-002e3701.pphosted.com with ESMTP id 36w6vunmqt-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 25 Feb 2021 06:56:21 +0000 Received: from G1W8106.americas.hpqcorp.net (g1w8106.austin.hp.com [16.193.72.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by g2t2353.austin.hpe.com (Postfix) with ESMTPS id CFC3984; Thu, 25 Feb 2021 06:56:20 +0000 (UTC) Received: from G9W9209.americas.hpqcorp.net (16.220.66.156) by G1W8106.americas.hpqcorp.net (16.193.72.61) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 25 Feb 2021 06:56:19 +0000 Received: from NAM02-SN1-obe.outbound.protection.outlook.com (15.241.52.11) by G9W9209.americas.hpqcorp.net (16.220.66.156) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Thu, 25 Feb 2021 06:56:18 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=imYPUVhfRc1aNsyJVzDyk4av2rcqfvl5ksfR+3B0KodHkVrubrXQeSCm95ID5rlMrOcBsu8vJaIVV40EbytLWUo6f/nwau/8/4IJnOVXWHkUB4cGPaf/GGXRkwHb2ifJi5YQzXR0xMfJyQL9wt7yC2T81K7ibLncM+xktXBrLl15DGZsSvlZ61UKcm88kbbmU1iNUWaRo1NpKYvPXiXvwPihUk0b80H5BWInjgRmoz0jXDIClJmG2dasonfu04EiwstzDSuC8vU51mgoCT3Yo8qUlSUAVWMyh3Ae7L8viosULAAI7neoxeIcL+ksihEZhPHc2+ievUw1T0FIfz+YJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=eIi8MfuK9pJmKHejXzxDarU2++2cqXzE+rdsJcwmS1c=; b=XXXI4/zWzociJM+lxSoMzRlxHUMyYHfwWnN6U7A4vN+s67grOHOGqKmHZ/HQAA4gWAmS3Idia5SqcnRUpkE8+3rLpy8GtTy+7X1iGwKRiZUCQ+0C6EiZTjIm9wSU1UbJuu4j6NdcqQqFIVADwjJZ64FeJw8BxC0Gnv/H/PwCrdrnyYoC686ZdQumx+j7nLJeBRnIDswsWLQmPWiqK87pD0I5D+q+17I1HVVZMcAaGsT6ygLFAnoKBRmyFXwETEDr8zpFEjjPXoHelPFzs5dx5jlPw58UmNZHNeKtcoG70+jZnXhfEQ+WmAWroJTmLp5cRfEQ/9tNuF4Pah1wd35DxA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=hpe.com; dmarc=pass action=none header.from=hpe.com; dkim=pass header.d=hpe.com; arc=none Received: from CS1PR8401MB1144.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:7508::16) by CS1PR8401MB0406.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:7508::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3890.19; Thu, 25 Feb 2021 06:56:18 +0000 Received: from CS1PR8401MB1144.NAMPRD84.PROD.OUTLOOK.COM ([fe80::adb6:a875:93ca:b54a]) by CS1PR8401MB1144.NAMPRD84.PROD.OUTLOOK.COM ([fe80::adb6:a875:93ca:b54a%12]) with mapi id 15.20.3890.020; Thu, 25 Feb 2021 06:56:18 +0000 From: "Abner Chang" To: "Schaefer, Daniel" , "devel@edk2.groups.io" CC: G Edhaya Chandran , Barton Gao , Samer El-Haj-Mahmoud , Eric Jin , Arvin Chen , "Leif Lindholm" , Heinrich Schuchardt Subject: Re: [edk2-test PATCHv2 4/5] SctPkg: Unify CC_FLAGS for all GCC platforms Thread-Topic: [edk2-test PATCHv2 4/5] SctPkg: Unify CC_FLAGS for all GCC platforms Thread-Index: AQHW/vpwKMvf+aKDYk+ppoym3VdKD6pohQhg Date: Thu, 25 Feb 2021 06:56:17 +0000 Message-ID: References: <20210209154354.30234-1-daniel.schaefer@hpe.com> <20210209154354.30234-5-daniel.schaefer@hpe.com> In-Reply-To: <20210209154354.30234-5-daniel.schaefer@hpe.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: hpe.com; dkim=none (message not signed) header.d=none;hpe.com; dmarc=none action=none header.from=hpe.com; x-originating-ip: [16.242.247.131] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 8551b62a-7f2c-4cd5-b36d-08d8d95a7371 x-ms-traffictypediagnostic: CS1PR8401MB0406: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4941; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: E1iJbrS6qo+zXtKybL/O0VcQVqg8+SgVNvKuCjgWpeQaOKshxpj6FEsXis0KYO4W6BwXS1tWZmLZlEZIO65YfepDbcJooJ0dVu3QNUvDC6rEX5mw4UjAmV5cwijbcp6VZbiOG+p7SmwfxxdO2qHiPPeT19f13tgRCNBWH+Iq81SixEC4pFMMxxUknst02jLCr80M2xlS8GSABBkWr7qqTi3wE5TEWlY2iwyxr69HzTtqHQmKT8mOfjWnlV9EWjKIAQYyJTmdVDC2wloaI/jMhIKmDPSTpZb//yUnpL9qGTwvrFQi8QDwq9PIgfzCHgb9I3pElBCRrKuW+A8U4Y63Fcpjj9el7LpvDReYPK4653cOukrxbX7mNXB0yfAc1hBPS4T5FAYlOIOkqXZCUnfYysPG6lvuHoyud+GCtIGdLfJZuItjtBROFt3WfPftL48YVXSyZgw3Z9lGsBgrCMQ1Q2D+cDolWcbQT9eOmR/B3oF6ugEdtu7IGR37fAM+niQOOZGoUEjVK0vY1tWIx0mbluCYRp35tkDXmQ/fQGq5G4N4JQKLBh+16ueOfXg+OcNIa33v+ExjkTKSc2CrlZc6EHUXKS0R36LCWG6aIvsOGFU= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CS1PR8401MB1144.NAMPRD84.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(136003)(346002)(396003)(366004)(39860400002)(376002)(7696005)(186003)(6506007)(53546011)(2906002)(83380400001)(33656002)(76116006)(316002)(26005)(54906003)(110136005)(66446008)(64756008)(52536014)(8676002)(478600001)(66556008)(66946007)(66476007)(8936002)(86362001)(5660300002)(55016002)(71200400001)(4326008)(9686003);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?3Ziyq/xsmU4LjSA41/4rEldGb4oQX8kiLDQ32Mdsn69ei5+nHjDOuXhXQpcE?= =?us-ascii?Q?tzBOl3WWCslkCcFtDDwLzqZRTGOjQ3CMQGNlBXG+YwzCnTR5CZ/XqguhACrJ?= =?us-ascii?Q?ebW1L2wEyi6NUjGnT525w8n0NgW0YgKXssdM2uUsITNTd9GAHAvpzMtnBvrH?= =?us-ascii?Q?PIR6ZXUCq8T644mj/VO1H5+4jOhJ+3L2keJQ7yV/YtfSzNuleSwFzbdVPrkn?= =?us-ascii?Q?ZiZq4tDPEz9SgFnMzogexq81FotK3batkOXnZcMAUnL/MMqN6duLBQCMgbFw?= =?us-ascii?Q?SgtSRcFBhYZT0a2NvibsZPD6JorX8FR4kjbG57/A70BL/UIKH7ZnCwPW3TsR?= =?us-ascii?Q?mQDLSeqGdDX7iUK7ngHwi4X/mapafTIZ7NkKFUpRtfIwQnF1eFOEjtYeEEUu?= =?us-ascii?Q?1MomBzs4BdJ4llknHodEOCTr3Cw7v16SlCcaygMdlHhsnmZbVR/aHhLSxQKb?= =?us-ascii?Q?DatsAl/1Yx1jS9jTbEMVs2jjH3LQVs9nBmOSLC+2gGta6crUgMkSVvBiHhA1?= =?us-ascii?Q?YX8fykNoI0z3vKfbjeyzeh6gGWwvNa3hoef4VMjZwMHv66iMPf6IAJg102YR?= =?us-ascii?Q?EzkjSslo8hraPg0qOGRfRIX7RClKvTQKYP9feJWtFWU16IDoeMHD6i7XfDWb?= =?us-ascii?Q?2ZdJwyaW0wtPWyqpr9QHAdNhRRWz3Ge3Oyw8l3xyqwKpk4SRL5nQLRxXsQSC?= =?us-ascii?Q?O474LcHPClBK585EzKa3yTtU+ziuG6UftnNgqF84zu4+H9GF0Zc2xHu+ZoPV?= =?us-ascii?Q?/HxegYQhxGrnV0FTSABefAuGt63zDxFQfBOb/3IwneOznI0gYqIeZhC1tf0c?= =?us-ascii?Q?Y8APQve5oDMS0Gh2Z4Savc4kC8HpCNl8L1Bt5Maff9Y5oUgQ98/M3qW9QVXu?= =?us-ascii?Q?T7bL74dkTyBA1b3PBN5SxeDshJu/iUSgKqCYMFYyfGheqcst25pbarOUGnDt?= =?us-ascii?Q?HBMYKucsNKu/fxmT0qPMh97diF+DQtXfMX4Cvnifb3e9coNSTWJnCTvIzJON?= =?us-ascii?Q?TzMy3+J0cPxClTiHow5SfvHGzeTQv2ukYjEqvOEERWM6KpCuHHjqat5X36gn?= =?us-ascii?Q?0SY10yOac1GAte3NOPc891jZ9jGc58U+Jcm4wn/PQBAKnivrUYxqhA2K+V6w?= =?us-ascii?Q?yVHjzYFxhSAZbhrB/auHvNb+v5rba19K397tdVe76TJxVzy2LwAR/WijrK0A?= =?us-ascii?Q?r0DMWgWjwWMhMgzv94jj+wLJVLoCKe5/OeW6c04QoY9fy/Y8B7aNmi5Uq8gV?= =?us-ascii?Q?SLwgAgfKr4jSocYViMWA9UGaevbQOhqjtOyie447FgSZs3zMzQlXpytEJCeD?= =?us-ascii?Q?qrloo/fYijyx9ghC6co5xIMj?= X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CS1PR8401MB1144.NAMPRD84.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: 8551b62a-7f2c-4cd5-b36d-08d8d95a7371 X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Feb 2021 06:56:17.8731 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 105b2061-b669-4b31-92ac-24d304d195dc X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: lhO+mNGaUtf8D/RX/MWV0tG/KCxWbwSY9Y35oAv0bt4VN733lPHQM96XOP6O+ZsEmXQ5SuGkuuO7tkMwMSYa2g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CS1PR8401MB0406 X-OriginatorOrg: hpe.com X-Proofpoint-UnRewURL: 0 URL was un-rewritten MIME-Version: 1.0 X-HPE-SCL: -1 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.369,18.0.761 definitions=2021-02-25_04:2021-02-24,2021-02-25 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 priorityscore=1501 phishscore=0 clxscore=1015 mlxlogscore=996 adultscore=0 suspectscore=0 mlxscore=0 impostorscore=0 spamscore=0 bulkscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2102250056 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable We unify build options to GCC:*_*_*_CC_FLAGS, but some options were added o= r removed to the specific arch e.g. for GCC:*_*_IA32_CC_FLAGS, -ffreestanding, -nostdinc, -nostdlib are ad= ded additionally because of GCC:*_*_*_CC_FLAGS? For GCC:*_*_AARCH64_CC_FLAGS, some options were removed. Are those option changes affect the original build process? Are this the ne= cessary changes? Abner > -----Original Message----- > From: Schaefer, Daniel > Sent: Tuesday, February 9, 2021 11:44 PM > To: devel@edk2.groups.io > Cc: G Edhaya Chandran ; Barton Gao > ; Samer El-Haj-Mahmoud Mahmoud@arm.com>; Eric Jin ; Arvin Chen > ; Leif Lindholm ; Heinrich > Schuchardt ; Chang, Abner (HPS SW/FW Technologist) > > Subject: [edk2-test PATCHv2 4/5] SctPkg: Unify CC_FLAGS for all GCC > platforms >=20 > REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3D3042 >=20 > Cc: G Edhaya Chandran > Cc: Barton Gao > Cc: Samer El-Haj-Mahmoud > Cc: Eric Jin > Cc: Arvin Chen > Cc: Leif Lindholm > Cc: Heinrich Schuchardt > Cc: Abner Chang > Signed-off-by: Daniel Schaefer > --- > uefi-sct/SctPkg/UEFI/IHV_SCT.dsc | 15 ++++++++------- uefi- > sct/SctPkg/UEFI/UEFI_SCT.dsc | 15 ++++++++------- > 2 files changed, 16 insertions(+), 14 deletions(-) >=20 > diff --git a/uefi-sct/SctPkg/UEFI/IHV_SCT.dsc b/uefi- > sct/SctPkg/UEFI/IHV_SCT.dsc > index 94bb5c36..91116ca7 100644 > --- a/uefi-sct/SctPkg/UEFI/IHV_SCT.dsc > +++ b/uefi-sct/SctPkg/UEFI/IHV_SCT.dsc > @@ -69,15 +69,16 @@ > MSFT:*_*_X64_APP_FLAGS =3D /D EFIX64 > MSFT:*_*_X64_PP_FLAGS =3D /D EFIX64 > -# GCC:*_*_IA32_CC_FLAGS =3D -D EFI32 $(GCC_VER_MACRO) - > ffreestanding -nostdinc -nostdlib -Wno-error -mno-red-zone -Wno-address - > mno-stack-arg-probe "-DEFIAPI=3D__attribute__((ms_abi))" -m32 -mabi=3Dms - > D MDE_CPU_X32 > - GCC:*_*_IA32_CC_FLAGS =3D -D EFIX64 $(GCC_VER_MACRO) -Wno-error > + GCC:*_*_*_CC_FLAGS =3D -ffreestanding -nostdinc -nostdlib -Wno- > error+# GCC:*_*_IA32_CC_FLAGS =3D -D EFI32 $(GCC_VER_MACRO) -mno- > red-zone -Wno-address -mno-stack-arg-probe "- > DEFIAPI=3D__attribute__((ms_abi))" -m32 -mabi=3Dms -D MDE_CPU_X32+ > GCC:*_*_IA32_CC_FLAGS =3D -D EFIX64 $(GCC_VER_MACRO) # > GCC:*_*_IA32_VFRPP_FLAGS =3D -D EFI32 $(GCC_VER_MACRO) # > GCC:*_*_IA32_APP_FLAGS =3D -D EFI32 $(GCC_VER_MACRO) # > GCC:*_*_IA32_PP_FLAGS =3D -D EFI32 $(GCC_VER_MACRO) -# > GCC:*_*_X64_CC_FLAGS =3D -D EFIX64 $(GCC_VER_MACRO) -ffreestanding > -nostdinc -nostdlib -Wno-error -mno-red-zone -Wno-address -mno-stack- > arg-probe "-DEFIAPI=3D__attribute__((ms_abi))" -m64 -mcmodel=3Dlarge - > mabi=3Dms -D MDE_CPU_X64 > +# GCC:*_*_X64_CC_FLAGS =3D -D EFIX64 $(GCC_VER_MACRO) -mno-red- > zone -Wno-address -mno-stack-arg-probe "- > DEFIAPI=3D__attribute__((ms_abi))" -m64 -mcmodel=3Dlarge -mabi=3Dms -D > MDE_CPU_X64 - GCC:*_*_X64_CC_FLAGS =3D -D EFIX64 > $(GCC_VER_MACRO) -Wno-error + GCC:*_*_X64_CC_FLAGS =3D -D EFIX64 > $(GCC_VER_MACRO) # GCC:*_*_X64_VFRPP_FLAGS =3D -D EFIX64 > $(GCC_VER_MACRO) # GCC:*_*_X64_APP_FLAGS =3D -D EFIX64 > $(GCC_VER_MACRO) # GCC:*_*_X64_PP_FLAGS =3D -D EFIX64 > $(GCC_VER_MACRO)@@ -85,7 +86,7 @@ > #TODO: OM - fixme RVCT:*_*_ARM_CC_FLAGS =3D -D EFIARM > $(GCC_VER_MACRO) *_*_ARM_CC_FLAGS =3D -D EFIARM- > GCC:*_*_ARM_CC_FLAGS =3D -D EFIARM $(GCC_VER_MACRO) -fno-stack- > protector -ffreestanding -nostdinc -nostdlib -Wno-error=3Dunused-function= - > Wno-error=3Dunused-but-set-variable -Wno-error=3Dimplicit-function- > declaration -Wno-error+ GCC:*_*_ARM_CC_FLAGS =3D -D EFIARM > $(GCC_VER_MACRO) -fno-stack-protector *_*_ARM_VFRPP_FLAGS =3D -D > EFIARM $(GCC_VER_MACRO) *_*_ARM_APP_FLAGS =3D -D EFIARM > $(GCC_VER_MACRO) *_*_ARM_PP_FLAGS =3D -D EFIARM > $(GCC_VER_MACRO)@@ -104,14 +105,14 @@ > RVCT:*_*_ARM_CC_FLAGS =3D --diag_remark=3D167 -- > diag_suppress=3D167,1295,188,550,1,68,111,177 *_*_AARCH64_CC_FLAGS > =3D -D EFIAARCH64 $(GCC_VER_MACRO)- GCC:*_*_AARCH64_CC_FLAGS =3D - > D EFIAARCH64 $(GCC_VER_MACRO) -ffreestanding -nostdinc -nostdlib - > Wno-error=3Dunused-function -Wno-error=3Dunused-but-set-variable -Wno- > error+ GCC:*_*_AARCH64_CC_FLAGS =3D -D EFIAARCH64 > $(GCC_VER_MACRO) *_*_AARCH64_VFRPP_FLAGS =3D -D EFIAARCH64 > $(GCC_VER_MACRO) *_*_AARCH64_APP_FLAGS =3D -D EFIAARCH64 > $(GCC_VER_MACRO) *_*_AARCH64_PP_FLAGS =3D -D EFIAARCH64 > $(GCC_VER_MACRO) RVCT:*_*_AARCH64_DLINK_FLAGS =3D --muldefweak > *_*_RISCV64_CC_FLAGS =3D -D EFIRISCV64 $(GCC_VER_MACRO)- > GCC:*_*_RISCV64_CC_FLAGS =3D -D EFIRISCV64 $(GCC_VER_MACRO) - > ffreestanding -nostdinc -nostdlib -Wno-error=3Dunused-function -Wno- > error=3Dunused-but-set-variable -Wno-error+ GCC:*_*_RISCV64_CC_FLAGS > =3D -D EFIRISCV64 $(GCC_VER_MACRO) *_*_RISCV64_VFRPP_FLAGS =3D -D > EFIRISCV64 $(GCC_VER_MACRO) *_*_RISCV64_APP_FLAGS =3D -D > EFIRISCV64 $(GCC_VER_MACRO) *_*_RISCV64_PP_FLAGS =3D -D > EFIRISCV64 $(GCC_VER_MACRO)diff --git a/uefi- > sct/SctPkg/UEFI/UEFI_SCT.dsc b/uefi-sct/SctPkg/UEFI/UEFI_SCT.dsc > index e13e40e4..3bb57d26 100644 > --- a/uefi-sct/SctPkg/UEFI/UEFI_SCT.dsc > +++ b/uefi-sct/SctPkg/UEFI/UEFI_SCT.dsc > @@ -72,14 +72,15 @@ > MSFT:*_*_X64_APP_FLAGS =3D /D EFIX64 > MSFT:*_*_X64_PP_FLAGS =3D /D EFIX64 > -# GCC:*_*_IA32_CC_FLAGS =3D -D EFI32 $(GCC_VER_MACRO) - > ffreestanding -nostdinc -nostdlib -Wno-error -mno-red-zone -Wno-address - > mno-stack-arg-probe "-DEFIAPI=3D__attribute__((ms_abi))" -m32 -mabi=3Dms - > D MDE_CPU_X32 > - GCC:*_*_IA32_CC_FLAGS =3D -D EFIX64 $(GCC_VER_MACRO) -Wno-error > + GCC:*_*_*_CC_FLAGS =3D -ffreestanding -nostdinc -nostdlib -Wno- > error+# GCC:*_*_IA32_CC_FLAGS =3D -D EFI32 $(GCC_VER_MACRO) -mno- > red-zone -Wno-address -mno-stack-arg-probe "- > DEFIAPI=3D__attribute__((ms_abi))" -m32 -mabi=3Dms -D MDE_CPU_X32 > + GCC:*_*_IA32_CC_FLAGS =3D -D EFIX64 $(GCC_VER_MACRO) # > GCC:*_*_IA32_VFRPP_FLAGS =3D -D EFI32 $(GCC_VER_MACRO) # > GCC:*_*_IA32_APP_FLAGS =3D -D EFI32 $(GCC_VER_MACRO) # > GCC:*_*_IA32_PP_FLAGS =3D -D EFI32 $(GCC_VER_MACRO) -# > GCC:*_*_X64_CC_FLAGS =3D -D EFIX64 $(GCC_VER_MACRO) -ffreestanding > -nostdinc -nostdlib -Wno-error -mno-red-zone -Wno-address -mno-stack- > arg-probe "-DEFIAPI=3D__attribute__((ms_abi))" -m64 -mcmodel=3Dlarge - > mabi=3Dms -D MDE_CPU_X64 > - GCC:*_*_X64_CC_FLAGS =3D -D EFIX64 $(GCC_VER_MACRO) -Wno-error > +# GCC:*_*_X64_CC_FLAGS =3D -D EFIX64 $(GCC_VER_MACRO) -mno-red- > zone -Wno-address -mno-stack-arg-probe "- > DEFIAPI=3D__attribute__((ms_abi))" -m64 -mcmodel=3Dlarge -mabi=3Dms -D > MDE_CPU_X64 > + GCC:*_*_X64_CC_FLAGS =3D -D EFIX64 $(GCC_VER_MACRO) # > GCC:*_*_X64_VFRPP_FLAGS =3D -D EFIX64 $(GCC_VER_MACRO) # > GCC:*_*_X64_APP_FLAGS =3D -D EFIX64 $(GCC_VER_MACRO) # > GCC:*_*_X64_PP_FLAGS =3D -D EFIX64 $(GCC_VER_MACRO)@@ -87,7 +88,7 > @@ > #TODO: OM - fixme RVCT:*_*_ARM_CC_FLAGS =3D -D EFIARM > $(GCC_VER_MACRO) *_*_ARM_CC_FLAGS =3D -D EFIARM- > GCC:*_*_ARM_CC_FLAGS =3D -D EFIARM $(GCC_VER_MACRO) -fno-stack- > protector -ffreestanding -nostdinc -nostdlib -Wno-error=3Dunused-function= - > Wno-error=3Dunused-but-set-variable -Wno-error=3Dimplicit-function- > declaration -Wno-error+ GCC:*_*_ARM_CC_FLAGS =3D -D EFIARM > $(GCC_VER_MACRO) -fno-stack-protector *_*_ARM_VFRPP_FLAGS =3D -D > EFIARM $(GCC_VER_MACRO) *_*_ARM_APP_FLAGS =3D -D EFIARM > $(GCC_VER_MACRO) *_*_ARM_PP_FLAGS =3D -D EFIARM > $(GCC_VER_MACRO)@@ -106,14 +107,14 @@ > RVCT:*_*_ARM_CC_FLAGS =3D --diag_remark=3D167 -- > diag_suppress=3D167,1295,188,550,1,68,111,177 *_*_AARCH64_CC_FLAGS > =3D -D EFIAARCH64 $(GCC_VER_MACRO)- GCC:*_*_AARCH64_CC_FLAGS =3D - > D EFIAARCH64 $(GCC_VER_MACRO) -ffreestanding -nostdinc -nostdlib - > Wno-error=3Dunused-function -Wno-error=3Dunused-but-set-variable -Wno- > error+ GCC:*_*_AARCH64_CC_FLAGS =3D -D EFIAARCH64 > $(GCC_VER_MACRO) *_*_AARCH64_VFRPP_FLAGS =3D -D EFIAARCH64 > $(GCC_VER_MACRO) *_*_AARCH64_APP_FLAGS =3D -D EFIAARCH64 > $(GCC_VER_MACRO) *_*_AARCH64_PP_FLAGS =3D -D EFIAARCH64 > $(GCC_VER_MACRO) RVCT:*_*_AARCH64_DLINK_FLAGS =3D --muldefweak > *_*_RISCV64_CC_FLAGS =3D -D EFIRISCV64 $(GCC_VER_MACRO)- > GCC:*_*_RISCV64_CC_FLAGS =3D -D EFIRISCV64 $(GCC_VER_MACRO) - > ffreestanding -nostdinc -nostdlib -Wno-error=3Dunused-function -Wno- > error=3Dunused-but-set-variable -Wno-error+ GCC:*_*_RISCV64_CC_FLAGS > =3D -D EFIRISCV64 $(GCC_VER_MACRO) *_*_RISCV64_VFRPP_FLAGS =3D -D > EFIRISCV64 $(GCC_VER_MACRO) *_*_RISCV64_APP_FLAGS =3D -D > EFIRISCV64 $(GCC_VER_MACRO) *_*_RISCV64_PP_FLAGS =3D -D > EFIRISCV64 $(GCC_VER_MACRO)-- > 2.30.0