From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mx.groups.io with SMTP id smtpd.web10.48634.1682335716475829736 for ; Mon, 24 Apr 2023 04:28:36 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=f9h+q16h; spf=pass (domain: intel.com, ip: 192.55.52.115, mailfrom: bob.c.feng@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1682335716; x=1713871716; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=yzvc1l+CHyih3HMRyXfBPe+HfVTpo4qI2s8RzQWKC2o=; b=f9h+q16huxvVC90Fn5cF2OXT7a7MZ8dZx3s9NXZ25K/S5Yp1c+7Zmkr8 WX11wtpIhhHg4C0gz21oEPA10GZUbK6XInSfVQ0B45poCCROlp/3CqcWr amOk9dNajYUtfnKH905Ypu9UBU35k1X+Zu+jjgEKs7kt/3dZbvDM0wD+g GoNXegsj+SY54xTNWJFcU0ZuM0vVXCeiNAZ1dPIcEwz9y4hkkDtyhaJks jUJowNn7Olfl7PIya2brbwzMqU2oPN7i6w5doDnstAOqIAcg4GZS5hLAv +L7laH7WLEokM8FWIjIlfEdT65Rgvuh7B79PgRyGliXJv2PuYWfiITaEB A==; X-IronPort-AV: E=McAfee;i="6600,9927,10689"; a="346452473" X-IronPort-AV: E=Sophos;i="5.99,222,1677571200"; d="scan'208";a="346452473" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Apr 2023 04:28:35 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10689"; a="757669067" X-IronPort-AV: E=Sophos;i="5.99,222,1677571200"; d="scan'208";a="757669067" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by fmsmga008.fm.intel.com with ESMTP; 24 Apr 2023 04:28:34 -0700 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Mon, 24 Apr 2023 04:28:34 -0700 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Mon, 24 Apr 2023 04:28:33 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23 via Frontend Transport; Mon, 24 Apr 2023 04:28:33 -0700 Received: from NAM02-DM3-obe.outbound.protection.outlook.com (104.47.56.41) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.23; Mon, 24 Apr 2023 04:28:33 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Bn0Z8LoS3e301VKnRtiMT4Xk0AMfGhDqu4xIlg8T1rPIkwn7DwW1V+qY0r6LXCqr00fBC4AlyNnKcf2MjEmkguV9Sjvoq8+lL1gGIErKhaIE8I7gAa2GnbU9MeV3mBr1VXv0hUGK8KyQSDW7XGyr9nlkVlx/3MG0Awg+NhfFSBbgKC1AEJQQzPjTakq+QJ140Chwu42gu7eFGA5bbfuIV8dzvTwWFMsHXSCz02tnq+nLIrYEgXXF5LmhXj/WY/DvFQ0RxF7+oB8YHnTxplaJkeFLtKX+f2tQVyNc6BOLObUQwqiyE4eMbR8Iza366FZZ17fxLghp6l0Cn78gfRQXjQ== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=jecjmRPPs9/FAwfd3ek+4TMfGHvQ6Z1tMAxg/RAs1LM=; b=mcKuBfsCECBFFPzeUQcJmK+uKv6fs+7BoUGmLnDsdFAm6M1AvCw3PWHgQ2qoRqO2uu2LADC86e7Kp+u1dPkcysKmcqYB/wwpi1eJD13u6dGmOiWGAhHwZdgEMHVeJ63IKNfEtsvLSNW19+z8nfwbndsUnveojzxzhrCzvDb2sqUt/1HByYXoraUB/O8DsscpO99tZwjZMMIqwW3zV4WORp1lAKfTu9ilMn1IPKtaVGW5rgBvUSX9IgU8K9TgBZFyi/a6JRU9vV579I5x2WnDUE6hcyOSQCCeTRCI0zXqrcmVj1gPqIBX9291HSpwQGthLEId7SV5XV062yCbAQ7HIw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from PH7PR11MB5863.namprd11.prod.outlook.com (2603:10b6:510:135::11) by PH8PR11MB6949.namprd11.prod.outlook.com (2603:10b6:510:227::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6319.33; Mon, 24 Apr 2023 11:28:29 +0000 Received: from PH7PR11MB5863.namprd11.prod.outlook.com ([fe80::946b:1bfc:5b76:6868]) by PH7PR11MB5863.namprd11.prod.outlook.com ([fe80::946b:1bfc:5b76:6868%8]) with mapi id 15.20.6298.030; Mon, 24 Apr 2023 11:28:29 +0000 From: "Bob Feng" To: Rebecca Cran , "devel@edk2.groups.io" , "Gao, Liming" , "Chen, Christine" , "Kinney, Michael D" , Michael Kubacki , Sean Brogan , "Chiu, Chasel" , "Desimone, Nathaniel L" , "Zeng, Star" , "Andrew Fish" CC: "Ni, Ray" , Leif Lindholm , "Liu, Zhiguang" , "Wang, Jian J" , "Lu, Xiaoyu1" , "Jiang, Guomin" , "Guo, Gua" , "Ard Biesheuvel" , Pedro Falcato , "Gerd Hoffmann" , =?iso-8859-1?Q?Marvin_H=E4user?= Subject: Re: [PATCH v5 01/13] BaseTools,CryptoPkg: Update CLANGDWARF, remove CLANG 35/38 toolchains Thread-Topic: [PATCH v5 01/13] BaseTools,CryptoPkg: Update CLANGDWARF, remove CLANG 35/38 toolchains Thread-Index: AQHZdHTm3QztaLycKUm4Gm9qo2Os3686VA5w Date: Mon, 24 Apr 2023 11:28:28 +0000 Message-ID: References: <20230421171508.73336-1-rebecca@bsdio.com> <20230421171508.73336-2-rebecca@bsdio.com> In-Reply-To: <20230421171508.73336-2-rebecca@bsdio.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: PH7PR11MB5863:EE_|PH8PR11MB6949:EE_ x-ms-office365-filtering-correlation-id: d37b4e4f-4ec9-44de-61f8-08db44b706ea x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: yswYKM/01RPQ169IBqNdSrCZcJxV1329CYbOTcxK08g96QZUwbTI7337/g6HIFKUXyXLrxstnDgRYJaUpsAr/4rmS/LN+t+R/Uj0sLwNLC/bGfuHYQUwjuum1ZvQF2tdcltLH1BwewguWWSAcU6OhBu7jYmxtlJhhOJQkBwYCR8FXEcimf5E82K1oAi1nGwQcvoM2Pp4fqeW0KbGVNoRRdwr6M/3OQUDJMaq/BSdIoTOnRxk9Lv9jHWcRbGnvum8OwDXM4RczFLYMRTwNzluxXKo1uqo4kiWyM1VWp4qlLLZ5Fqy+mIBRsi3mPnlBQHoRwsGHop48opDFu+joV+Dn+dbzER1DX17d/t1GEXvvyO7IcMKAJcZv6YaLXnS6bbbLKNNoUwSezI1bDmkW/oJIukBa1TMKtyFI0D4Piw+iEf9eejGxwlea2S5l7bzzTvKuGVg7MLJZBco2B8V3WWm01jqoeEQk5ciyyUS0LZGTmYKpIXJg6hXhoa1LIs9BufBR/GD/jrV8NFW7Z9h0NkAvE3+mMSUkfJ4COOVZLnss2hBtTguh3lXdScYNvYvqpVZv4kxkJZNKnUdjpFZkUsh9LHQdS9Q5B2ExfRvdQN0OSP/bhGvUeMU/e0WzAm0OT8GPusPAFiomNrZg3ZUCSm1FY61OInMPl+3V2583e4Wuxo= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH7PR11MB5863.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(39860400002)(396003)(366004)(136003)(376002)(346002)(451199021)(9686003)(53546011)(6506007)(186003)(55016003)(110136005)(45080400002)(33656002)(54906003)(86362001)(478600001)(8936002)(15650500001)(38100700002)(5660300002)(66574015)(52536014)(8676002)(7416002)(83380400001)(316002)(82960400001)(64756008)(66446008)(66476007)(66556008)(66946007)(76116006)(4326008)(38070700005)(30864003)(2906002)(921005)(41300700001)(122000001)(71200400001)(966005)(7696005)(579004)(559001);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?4AjFjJqwprWJ9/62HOrgN4Cm5Q/BHXf3zArOiPpT1VB1PqBbRpLknaDIZ4?= =?iso-8859-1?Q?JX1H/Jy2dDpvlwpHGidckMvDsOldnkhijgoOgULHZp3Sm3jIe2ETRaYtMH?= =?iso-8859-1?Q?haC2M6Zl1t8tTs+zWF23fGbcqVNu4mS9rdSelbIfJ2vvhrh2E249/ntd3d?= =?iso-8859-1?Q?xpQgbRacwkArDfU6mzrRaOM+2BTHOKds/KzhCfwIxm4XaLQ6Z0lbWi4skl?= =?iso-8859-1?Q?pS+mzbecFmbtzFQStRAnPWyPRdv8nfc56Nzn/yrhAYJYQ6Idk35kHSK0JB?= =?iso-8859-1?Q?0JNSB5kxUpClEarlWH+/46MJoupecYNO2DJkAciUjjUVK3uJTnZKvCodT+?= =?iso-8859-1?Q?l5lPK4FPocy2jgUVlTYMDOq/DFszMuxqd5ilBvkGVYsneAIU7ITJsbRjtB?= =?iso-8859-1?Q?m4YIKBclMF6qowBMT+NwevMdPdKGzA21ZY5FbHK/XJ1lK92OmmOs04J0Cj?= =?iso-8859-1?Q?3NK6yEVIxBpKBBsUQer/D27LlbWxD1YTiyH7FwH7n9N/fGpmF5nOmMfNRX?= =?iso-8859-1?Q?RGqId67SBSNlcgBwgd37spX50NNwFlaF/ILL9rOskng/g6YLo/lypa/Gcw?= =?iso-8859-1?Q?Lf7GyKslDypmhH3DmbcctZs0MEbhxK2z3o68jEDIfpV0LR9iPnBE5Yad33?= =?iso-8859-1?Q?hY7UeCcua+BH7Md4XQvMRoqmLmd/v7AYrX0mCxpepVHKqwwqVTbiwT3gK0?= =?iso-8859-1?Q?988NlT+CUAKgYtO5DlBAnCFAniVFXsq3O7ll+ricesI1fZAtchx7Q3HKZ3?= =?iso-8859-1?Q?Q/rTfoQtraDuLsgl4rpLpMStUsvzlfpPANynd0/ll0ClEjDm58nvTHgLcL?= =?iso-8859-1?Q?U6OyAjYANeHRw9N5bwpzDYShkKZSIMLIY2E/V8rL1ZQLCngWsXiEpD6JD1?= =?iso-8859-1?Q?a8BdT8wf4UtxC2EVx2kz7TIgCdFR7G39V9EQK1UbaM9J8SqL2VpDPqXPlz?= =?iso-8859-1?Q?GJb9yo/wEtcld40l9Rx6TSvZuV0d5zkJQeITeLiby3/T5BUMgwDzx7EMu/?= =?iso-8859-1?Q?hVyYzSz+FYuAPkzCVC6g+kkEODv6HdwY4F/Yd/xO39x8UWoj8mqgsxKjqe?= =?iso-8859-1?Q?+m8unSK5fMnuwR5cgIRwmSmJL4AAcLYrA5Wl6ZpBk+BVuePLJvXbVVP0bK?= =?iso-8859-1?Q?PpUQkJ7MFllt+QpBi5nwDuIcy5D0DExmfrHtjmipzhoVvq3Eg4YQcAU7H9?= =?iso-8859-1?Q?5DFM5H77A/xwUYVxxlqzZgUfinzSzinOvZm4gyUDmkVOK4AgV1vIEOBE9y?= =?iso-8859-1?Q?wy6o4MTG6eBrcTUsQvHm/IloDpUHc3RVuHZXdiu4LdvFGjBiJbwYPSOw/P?= =?iso-8859-1?Q?SSmRXd4aoe1Bs8d24usoDsazc6a8Pe+7IY4LuG4L4CYXOOPcwehfVa3FCR?= =?iso-8859-1?Q?QpgDI6BWFOvuEjFLod4p1n1cs6BNbW9N9wBGhMS9s/LsiiSlOkKTIerZRc?= =?iso-8859-1?Q?QQMC7SNBv7si9Izzvar0UyRrMpCO/SWrs+txfMzKH9KouyQ8GeLn7uI3Ot?= =?iso-8859-1?Q?wy1an/sz+H8CuqD3//rEOqO/sByZ7F8CWsFXqttuA45nwZVUsUtI8c81H3?= =?iso-8859-1?Q?+MiVkB+P3gNqs4CIvfJBqCcrr2Zqe0Of00QvLYk5pPC7OzwdhtDl/ulgBo?= =?iso-8859-1?Q?+FTL0pMEyqQvvTkSoI6egGEd2mPGkZu1hTBQwFQaJ6XDHHAEugJ+2+oOuy?= =?iso-8859-1?Q?X4kjj/Kzt8IpE370O4LnFiZD+xk1ZTc5N/+mP7c4?= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH7PR11MB5863.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: d37b4e4f-4ec9-44de-61f8-08db44b706ea X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Apr 2023 11:28:28.8488 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: BhRtH+rLWGQsV4dQZIJWACaJuaTkFS6wmCAMonfe8H88VlANpa9zH2xWXQOYTpGQUIEPJk3VnEz/YIz/RSZ4zg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH8PR11MB6949 Return-Path: bob.c.feng@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi Rebecca, With this patch, the UniversalPayload will be built fail on windows. It can be reproduced with this command on windows. edksetup python UefiPayloadPkg\UniversalPayloadBuild.py -t VS2019 But the root cause is a bug in build_rule.template. =20 Under the section, 2 $(OBJCOPY) should be wrapped by "". Co= uld you please also update build_rule.template in this patch? --------------------------- [Dynamic-Library-File] ?.dll $(OUTPUT_DIR)(+)$(MODULE_NAME).efi $(OUTPUT_DIR)(+)$(MODULE_NAME).map "$(GENFW)" -e $(MODULE_TYPE) -o ${dst} ${src} $(GENFW_FLAGS) $(CP) ${dst} $(DEBUG_DIR) $(CP) ${dst} $(BIN_DIR)(+)$(MODULE_NAME_GUID).efi -$(CP) $(DEBUG_DIR)(+)*.map $(OUTPUT_DIR) -$(CP) $(DEBUG_DIR)(+)*.pdb $(OUTPUT_DIR)=20 $(CP) ${src} $(DEBUG_DIR)(+)$(MODULE_NAME).debug $(OBJCOPY) $(OBJCOPY_STRIPFLAG) ${src} # #The below 2 lines are only needed for UNIXGCC tool chain, which ge= nerates PE image directly # -$(OBJCOPY) $(OBJCOPY_ADDDEBUGFLAG) ${src} -$(CP) $(DEBUG_DIR)(+)$(MODULE_NAME).debug $(BIN_DIR)(+)$(MODULE_NA= ME_GUID).debug "$(GENFW)" -e $(MODULE_TYPE) -o ${dst} ${src} $(GENFW_FLAGS) $(CP) ${dst} $(DEBUG_DIR) $(CP) ${dst} $(BIN_DIR)(+)$(MODULE_NAME_GUID).efi -$(CP) $(DEBUG_DIR)(+)*.map $(OUTPUT_DIR) Thanks, Bob -----Original Message----- From: Rebecca Cran =20 Sent: Saturday, April 22, 2023 1:15 AM To: devel@edk2.groups.io; Gao, Liming ; Feng, Bob= C ; Chen, Christine ; Kinney, = Michael D ; Michael Kubacki ; Sean Brogan ; Chiu, Chasel ; Desimone, Nathaniel L ; Ze= ng, Star ; Andrew Fish Cc: Rebecca Cran ; Ni, Ray ; Leif Lind= holm ; Liu, Zhiguang ; W= ang, Jian J ; Lu, Xiaoyu1 ; Ji= ang, Guomin ; Guo, Gua ; Ard Bie= sheuvel ; Pedro Falcato ; Gerd Ho= ffmann ; Marvin H=E4user Subject: [PATCH v5 01/13] BaseTools,CryptoPkg: Update CLANGDWARF, remove CL= ANG 35/38 toolchains Update the CLANGDWARF toolchain definition in tools_def.template with the settings from CLANG38, and delete the CLANG35 and CLANG38 toolchains. The CLANG35 and CLANG38 toolchains were added for compatibility with ARM's proprietary clang-based toolchain. Things have since moved on, and with the latest clang version being 16.0.0, versions 3.5 and 3.9 are obsolete and can be removed. Update CryptoPkg: Add CLANGDWARF and remove CLANG35 and CLANG38 compiler fl= ags With the removal of CLANG35 and CLANG38 and the update of the CLANGDWARF toolchain definition in Conf/tools_def.txt update the compiler flags in BaseCryptLib and OpensslLib. Signed-off-by: Rebecca Cran Reviewed-by: Liming Gao --- CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf | 3 +-- CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf | 3 +-- CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf | 3 +-- CryptoPkg/Library/BaseCryptLib/SecCryptLib.inf | 3 +-- CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf | 3 +-- CryptoPkg/Library/BaseCryptLib/UnitTestHostBaseCryptLib.inf | 3 +-- CryptoPkg/Library/OpensslLib/OpensslLib.inf | 3 +-- CryptoPkg/Library/OpensslLib/OpensslLibAccel.inf | 3 +-- CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf | 3 +-- CryptoPkg/Library/OpensslLib/OpensslLibFull.inf | 3 +-- CryptoPkg/Library/OpensslLib/OpensslLibFullAccel.inf | 3 +-- BaseTools/Conf/tools_def.template | 471 ++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++= +++++++++++++++++++++++++++++++--------------------------------------------= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= ------------- 12 files changed, 200 insertions(+), 304 deletions(-) diff --git a/CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf b/CryptoPkg/Li= brary/BaseCryptLib/BaseCryptLib.inf index 5be1724f0852..d99337a9ea39 100644 --- a/CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf +++ b/CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf @@ -110,8 +110,7 @@ [BuildOptions] # # suppress the following warnings so we do not break the build with warn= ings-as-errors: # - GCC:*_CLANG35_*_CC_FLAGS =3D -std=3Dc99 - GCC:*_CLANG38_*_CC_FLAGS =3D -std=3Dc99 + GCC:*_CLANGDWARF_*_CC_FLAGS =3D -std=3Dc99 GCC:*_CLANGPDB_*_CC_FLAGS =3D -std=3Dc99 -Wno-error=3Dincompatible-point= er-types =20 XCODE:*_*_*_CC_FLAGS =3D -std=3Dc99 diff --git a/CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf b/CryptoPkg/Lib= rary/BaseCryptLib/PeiCryptLib.inf index 66261138a00b..5203941c75c1 100644 --- a/CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf +++ b/CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf @@ -97,8 +97,7 @@ [BuildOptions] # # suppress the following warnings so we do not break the build with warn= ings-as-errors: # - GCC:*_CLANG35_*_CC_FLAGS =3D -std=3Dc99 - GCC:*_CLANG38_*_CC_FLAGS =3D -std=3Dc99 + GCC:*_CLANGDWARF_*_CC_FLAGS =3D -std=3Dc99 GCC:*_CLANGPDB_*_CC_FLAGS =3D -std=3Dc99 -Wno-error=3Dincompatible-point= er-types =20 XCODE:*_*_*_CC_FLAGS =3D -std=3Dc99 diff --git a/CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf b/CryptoPkg= /Library/BaseCryptLib/RuntimeCryptLib.inf index 07dbc0e7a8bd..ea64d2aa72a9 100644 --- a/CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf +++ b/CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf @@ -106,8 +106,7 @@ [BuildOptions] # # suppress the following warnings so we do not break the build with warn= ings-as-errors: # - GCC:*_CLANG35_*_CC_FLAGS =3D -std=3Dc99 - GCC:*_CLANG38_*_CC_FLAGS =3D -std=3Dc99 + GCC:*_CLANGDWARF_*_CC_FLAGS =3D -std=3Dc99 GCC:*_CLANGPDB_*_CC_FLAGS =3D -std=3Dc99 -Wno-error=3Dincompatible-point= er-types =20 XCODE:*_*_*_CC_FLAGS =3D -std=3Dc99 diff --git a/CryptoPkg/Library/BaseCryptLib/SecCryptLib.inf b/CryptoPkg/Lib= rary/BaseCryptLib/SecCryptLib.inf index 4ad59b7bbc59..426cab2c5c8f 100644 --- a/CryptoPkg/Library/BaseCryptLib/SecCryptLib.inf +++ b/CryptoPkg/Library/BaseCryptLib/SecCryptLib.inf @@ -81,8 +81,7 @@ [BuildOptions] # # suppress the following warnings so we do not break the build with warn= ings-as-errors: # - GCC:*_CLANG35_*_CC_FLAGS =3D -std=3Dc99 - GCC:*_CLANG38_*_CC_FLAGS =3D -std=3Dc99 + GCC:*_CLANGDWARF_*_CC_FLAGS =3D -std=3Dc99 GCC:*_CLANGPDB_*_CC_FLAGS =3D -std=3Dc99 -Wno-error=3Dincompatible-point= er-types =20 XCODE:*_*_*_CC_FLAGS =3D -std=3Dc99 diff --git a/CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf b/CryptoPkg/Lib= rary/BaseCryptLib/SmmCryptLib.inf index ab1993087167..df345a8996e0 100644 --- a/CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf +++ b/CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf @@ -105,6 +105,5 @@ [BuildOptions] =20 XCODE:*_*_*_CC_FLAGS =3D -mmmx -msse -std=3Dc99 =20 - GCC:*_CLANG35_*_CC_FLAGS =3D -std=3Dc99 - GCC:*_CLANG38_*_CC_FLAGS =3D -std=3Dc99 + GCC:*_CLANGDWARF_*_CC_FLAGS =3D -std=3Dc99 GCC:*_CLANGPDB_*_CC_FLAGS =3D -std=3Dc99 -Wno-error=3Dincompatible-point= er-types diff --git a/CryptoPkg/Library/BaseCryptLib/UnitTestHostBaseCryptLib.inf b/= CryptoPkg/Library/BaseCryptLib/UnitTestHostBaseCryptLib.inf index 80261794470f..1f0f11c22cc5 100644 --- a/CryptoPkg/Library/BaseCryptLib/UnitTestHostBaseCryptLib.inf +++ b/CryptoPkg/Library/BaseCryptLib/UnitTestHostBaseCryptLib.inf @@ -78,8 +78,7 @@ [BuildOptions] # # suppress the following warnings so we do not break the build with warn= ings-as-errors: # - GCC:*_CLANG35_*_CC_FLAGS =3D -std=3Dc99 - GCC:*_CLANG38_*_CC_FLAGS =3D -std=3Dc99 + GCC:*_CLANGDWARF_*_CC_FLAGS =3D -std=3Dc99 GCC:*_CLANGPDB_*_CC_FLAGS =3D -std=3Dc99 -Wno-error=3Dincompatible-point= er-types =20 XCODE:*_*_*_CC_FLAGS =3D -std=3Dc99 diff --git a/CryptoPkg/Library/OpensslLib/OpensslLib.inf b/CryptoPkg/Librar= y/OpensslLib/OpensslLib.inf index 86a00b1c4b2a..003e17cb8e17 100644 --- a/CryptoPkg/Library/OpensslLib/OpensslLib.inf +++ b/CryptoPkg/Library/OpensslLib/OpensslLib.inf @@ -639,8 +639,7 @@ [BuildOptions] GCC:*_*_AARCH64_CC_FLAGS =3D $(OPENSSL_FLAGS) -Wno-error=3Dmaybe-uniniti= alized -Wno-format -Wno-error=3Dunused-but-set-variable -Wno-error=3Dformat GCC:*_*_RISCV64_CC_FLAGS =3D $(OPENSSL_FLAGS) -Wno-error=3Dmaybe-uniniti= alized -Wno-format -Wno-error=3Dunused-but-set-variable GCC:*_*_LOONGARCH64_CC_FLAGS =3D $(OPENSSL_FLAGS) -Wno-error=3Dmaybe-uni= nitialized -Wno-format -Wno-error=3Dunused-but-set-variable - GCC:*_CLANG35_*_CC_FLAGS =3D -std=3Dc99 -Wno-error=3Duninitialized - GCC:*_CLANG38_*_CC_FLAGS =3D -std=3Dc99 -Wno-error=3Duninitialized + GCC:*_CLANGDWARF_*_CC_FLAGS =3D -std=3Dc99 -Wno-error=3Duninitialized GCC:*_CLANGPDB_*_CC_FLAGS =3D -std=3Dc99 -Wno-error=3Duninitialized -Wno= -error=3Dincompatible-pointer-types -Wno-error=3Dpointer-sign -Wno-error=3D= implicit-function-declaration -Wno-error=3Dignored-pragma-optimize # Revisit after switching to 3.0 branch GCC:*_GCC5_*_CC_FLAGS =3D -Wno-unused-but-set-variable diff --git a/CryptoPkg/Library/OpensslLib/OpensslLibAccel.inf b/CryptoPkg/L= ibrary/OpensslLib/OpensslLibAccel.inf index 2e4f95909b51..dded0b66806b 100644 --- a/CryptoPkg/Library/OpensslLib/OpensslLibAccel.inf +++ b/CryptoPkg/Library/OpensslLib/OpensslLibAccel.inf @@ -687,8 +687,7 @@ [BuildOptions] # GCC:*_*_IA32_CC_FLAGS =3D -U_WIN32 -U_WIN64 $(OPENSSL_FLAGS) $(OPENSS= L_FLAGS_CONFIG) -Wno-error=3Dmaybe-uninitialized -Wno-error=3Dunused-but-se= t-variable GCC:*_*_X64_CC_FLAGS =3D -U_WIN32 -U_WIN64 $(OPENSSL_FLAGS) $(OPENSS= L_FLAGS_CONFIG) -Wno-error=3Dmaybe-uninitialized -Wno-error=3Dformat -Wno-f= ormat -Wno-error=3Dunused-but-set-variable -DNO_MSABI_VA_FUNCS - GCC:*_CLANG35_*_CC_FLAGS =3D -std=3Dc99 -Wno-error=3Duninitialized - GCC:*_CLANG38_*_CC_FLAGS =3D -std=3Dc99 -Wno-error=3Duninitialized + GCC:*_CLANGDWARF_*_CC_FLAGS =3D -std=3Dc99 -Wno-error=3Duninitialized GCC:*_CLANGPDB_*_CC_FLAGS =3D -std=3Dc99 -Wno-error=3Duninitialized -Wno= -error=3Dincompatible-pointer-types -Wno-error=3Dpointer-sign -Wno-error=3D= implicit-function-declaration -Wno-error=3Dignored-pragma-optimize # Revisit after switching to 3.0 branch GCC:*_GCC5_*_CC_FLAGS =3D -Wno-unused-but-set-variable diff --git a/CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf b/CryptoPkg/= Library/OpensslLib/OpensslLibCrypto.inf index 637d4769e8ca..523d766f6be0 100644 --- a/CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf +++ b/CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf @@ -589,8 +589,7 @@ [BuildOptions] GCC:*_*_AARCH64_CC_FLAGS =3D $(OPENSSL_FLAGS) -Wno-error=3Dmaybe-uniniti= alized -Wno-format -Wno-error=3Dunused-but-set-variable -Wno-error=3Dformat GCC:*_*_RISCV64_CC_FLAGS =3D $(OPENSSL_FLAGS) -Wno-error=3Dmaybe-uniniti= alized -Wno-format -Wno-error=3Dunused-but-set-variable GCC:*_*_LOONGARCH64_CC_FLAGS =3D $(OPENSSL_FLAGS) -Wno-error=3Dmaybe-uni= nitialized -Wno-format -Wno-error=3Dunused-but-set-variable - GCC:*_CLANG35_*_CC_FLAGS =3D -std=3Dc99 -Wno-error=3Duninitialized - GCC:*_CLANG38_*_CC_FLAGS =3D -std=3Dc99 -Wno-error=3Duninitialized + GCC:*_CLANGDWARF_*_CC_FLAGS =3D -std=3Dc99 -Wno-error=3Duninitialized GCC:*_CLANGPDB_*_CC_FLAGS =3D -std=3Dc99 -Wno-error=3Duninitialized -Wno= -error=3Dincompatible-pointer-types -Wno-error=3Dpointer-sign -Wno-error=3D= implicit-function-declaration -Wno-error=3Dignored-pragma-optimize # Revisit after switching to 3.0 branch GCC:*_GCC5_*_CC_FLAGS =3D -Wno-unused-but-set-variable diff --git a/CryptoPkg/Library/OpensslLib/OpensslLibFull.inf b/CryptoPkg/Li= brary/OpensslLib/OpensslLibFull.inf index c5f90221fc66..9baf0cbfb42c 100644 --- a/CryptoPkg/Library/OpensslLib/OpensslLibFull.inf +++ b/CryptoPkg/Library/OpensslLib/OpensslLibFull.inf @@ -694,8 +694,7 @@ [BuildOptions] GCC:*_*_AARCH64_CC_FLAGS =3D $(OPENSSL_FLAGS) -Wno-error=3Dmaybe-uniniti= alized -Wno-format -Wno-error=3Dunused-but-set-variable -Wno-error=3Dformat GCC:*_*_RISCV64_CC_FLAGS =3D $(OPENSSL_FLAGS) -Wno-error=3Dmaybe-uniniti= alized -Wno-format -Wno-error=3Dunused-but-set-variable GCC:*_*_LOONGARCH64_CC_FLAGS =3D $(OPENSSL_FLAGS) -Wno-error=3Dmaybe-uni= nitialized -Wno-format -Wno-error=3Dunused-but-set-variable - GCC:*_CLANG35_*_CC_FLAGS =3D -std=3Dc99 -Wno-error=3Duninitialized - GCC:*_CLANG38_*_CC_FLAGS =3D -std=3Dc99 -Wno-error=3Duninitialized + GCC:*_CLANGDWARF_*_CC_FLAGS =3D -std=3Dc99 -Wno-error=3Duninitialized GCC:*_CLANGPDB_*_CC_FLAGS =3D -std=3Dc99 -Wno-error=3Duninitialized -Wno= -error=3Dincompatible-pointer-types -Wno-error=3Dpointer-sign -Wno-error=3D= implicit-function-declaration -Wno-error=3Dignored-pragma-optimize # Revisit after switching to 3.0 branch GCC:*_GCC5_*_CC_FLAGS =3D -Wno-unused-but-set-variable diff --git a/CryptoPkg/Library/OpensslLib/OpensslLibFullAccel.inf b/CryptoP= kg/Library/OpensslLib/OpensslLibFullAccel.inf index 076295244a2a..beb8e6986a4a 100644 --- a/CryptoPkg/Library/OpensslLib/OpensslLibFullAccel.inf +++ b/CryptoPkg/Library/OpensslLib/OpensslLibFullAccel.inf @@ -742,8 +742,7 @@ [BuildOptions] # GCC:*_*_IA32_CC_FLAGS =3D -U_WIN32 -U_WIN64 $(OPENSSL_FLAGS) $(OPENSS= L_FLAGS_CONFIG) -Wno-error=3Dmaybe-uninitialized -Wno-error=3Dunused-but-se= t-variable GCC:*_*_X64_CC_FLAGS =3D -U_WIN32 -U_WIN64 $(OPENSSL_FLAGS) $(OPENSS= L_FLAGS_CONFIG) -Wno-error=3Dmaybe-uninitialized -Wno-error=3Dformat -Wno-f= ormat -Wno-error=3Dunused-but-set-variable -DNO_MSABI_VA_FUNCS - GCC:*_CLANG35_*_CC_FLAGS =3D -std=3Dc99 -Wno-error=3Duninitialized - GCC:*_CLANG38_*_CC_FLAGS =3D -std=3Dc99 -Wno-error=3Duninitialized + GCC:*_CLANGDWARF_*_CC_FLAGS =3D -std=3Dc99 -Wno-error=3Duninitialized GCC:*_CLANGPDB_*_CC_FLAGS =3D -std=3Dc99 -Wno-error=3Duninitialized -Wno= -error=3Dincompatible-pointer-types -Wno-error=3Dpointer-sign -Wno-error=3D= implicit-function-declaration -Wno-error=3Dignored-pragma-optimize # Revisit after switching to 3.0 branch GCC:*_GCC5_*_CC_FLAGS =3D -Wno-unused-but-set-variable diff --git a/BaseTools/Conf/tools_def.template b/BaseTools/Conf/tools_def.t= emplate index 9a5c11f6a385..06154dedce61 100755 --- a/BaseTools/Conf/tools_def.template +++ b/BaseTools/Conf/tools_def.template @@ -273,32 +273,21 @@ DEFINE DTC_BIN =3D ENV(DTC_PREFIX)dtc # Required to build platforms or ACPI tables: # Intel(r) ACPI Compiler from # https://acpica.org/downloads -# -# CLANG35 -Linux,Windows- Requires: -# Clang v3.5 or later, and GNU binutils target= ing aarch64-linux-gnu or arm-linux-gnueabi -# Optional: -# Required to build platforms or ACPI tables: -# Intel(r) ACPI Compiler from -# https://acpica.org/downloads -# CLANG38 -Linux- Requires: -# Clang v3.8, LLVMgold plugin and GNU binutils= 2.26 targeting x86_64-linux-gnu, aarch64-linux-gnu or arm-linux-gnueabi -# Clang v3.9 or later, LLVMgold plugin and GNU= binutils 2.28 targeting x86_64-linux-gnu, aarch64-linux-gnu or arm-linux-g= nueabi +# CLANGDWARF -Linux- Requires: +# Clang 9 or above, and GNU binutils targeting= x86_64-linux-gnu, aaarch64-linux-gnu or arm-linux-gnuaebi # Optional: # Required to build platforms or ACPI tables: # Intel(r) ACPI Compiler from # https://acpica.org/downloads +# Required to compile nasm source: +# nasm compiler from +# NASM -- https://nasm.us # CLANGPDB -Linux, Windows, Mac- Requires: # Clang 9 or above from http://releases.llvm.o= rg/ # Optional: # Required to compile nasm source: # nasm compiler from # NASM -- http://www.nasm.us/ -# CLANGDWARF -Linux, Windows, Mac- Requires: -# Clang 9 or above from http://releases.llvm.o= rg/ -# Optional: -# Required to compile nasm source: -# nasm compiler from -# NASM -- http://www.nasm.us/ # VS2008x86 -win64- Requires: # Microsoft Visual Studio 2008 (x86) # Microsoft Windows Server 2003 Driver Develop= ment Kit (Microsoft WINDDK) version 3790.1830 @@ -2480,273 +2469,191 @@ RELEASE_GCC5_LOONGARCH64_CC_FLAGS =3D DEF(G= CC5_LOONGARCH64_CC_FLAGS) -Wno-un =20 ##########################################################################= ########## # -# CLANG35 - This configuration is used to compile under Linux to produce -# PE/COFF binaries using the clang compiler and assembler (v3.= 5 and up) -# and GNU linker +# Clang - This configuration is used to compile under Linux to produce +# PE/COFF binaries using LLVM/Clang with Link Time Optimization enabled # ##########################################################################= ########## -*_CLANG35_*_*_FAMILY =3D GCC +*_CLANGDWARF_*_*_FAMILY =3D GCC +*_CLANGDWARF_*_MAKE_PATH =3D make +*_CLANGDWARF_*_*_DLL =3D ENV(CLANGDWARF_DLL) +*_CLANGDWARF_*_ASL_PATH =3D DEF(UNIX_IASL_BIN) =20 -*_CLANG35_*_MAKE_PATH =3D make -*_CLANG35_*_*_DLL =3D ENV(CLANG35_DLL) -*_CLANG35_*_ASL_PATH =3D DEF(UNIX_IASL_BIN) +*_CLANGDWARF_*_APP_FLAGS =3D +*_CLANGDWARF_*_ASL_FLAGS =3D DEF(IASL_FLAGS) +*_CLANGDWARF_*_ASL_OUTFLAGS =3D DEF(IASL_OUTFLAGS) +*_CLANGDWARF_*_DEPS_FLAGS =3D DEF(GCC_DEPS_FLAGS) +DEFINE CLANGDWARF_IA32_PREFIX =3D ENV(CLANG_BIN) +DEFINE CLANGDWARF_X64_PREFIX =3D ENV(CLANG_BIN) =20 -*_CLANG35_*_PP_FLAGS =3D DEF(GCC_PP_FLAGS) -*_CLANG35_*_ASLCC_FLAGS =3D DEF(GCC_ASLCC_FLAGS) -*_CLANG35_*_APP_FLAGS =3D -*_CLANG35_*_ASL_FLAGS =3D DEF(IASL_FLAGS) -*_CLANG35_*_ASL_OUTFLAGS =3D DEF(IASL_OUTFLAGS) -*_CLANG35_*_DTCPP_FLAGS =3D DEF(GCC_DTCPP_FLAGS) +DEFINE CLANGDWARF_IA32_TARGET =3D -target i686-pc-linux-gnu +DEFINE CLANGDWARF_X64_TARGET =3D -target x86_64-pc-linux-gnu =20 -*_CLANG35_*_CC_PATH =3D ENV(CLANG35_BIN)clang -*_CLANG35_*_ASM_PATH =3D ENV(CLANG35_BIN)clang -*_CLANG35_*_PP_PATH =3D ENV(CLANG35_BIN)clang -*_CLANG35_*_VFRPP_PATH =3D ENV(CLANG35_BIN)clang -*_CLANG35_*_ASLCC_PATH =3D ENV(CLANG35_BIN)clang -*_CLANG35_*_ASLPP_PATH =3D ENV(CLANG35_BIN)clang -*_CLANG35_*_DLINK_PATH =3D ENV(CLANG35_BIN)clang -*_CLANG35_*_ASLDLINK_PATH =3D ENV(CLANG35_BIN)clang -*_CLANG35_*_DEPS_FLAGS =3D DEF(GCC_DEPS_FLAGS) - -DEFINE CLANG35_ARM_TARGET =3D -target arm-linux-gnueabi -DEFINE CLANG35_AARCH64_TARGET =3D -target aarch64-linux-gnu - -DEFINE CLANG35_WARNING_OVERRIDES =3D -Wno-parentheses-equality -Wno-tautol= ogical-compare -Wno-tautological-constant-out-of-range-compare -Wno-empty-b= ody -Wno-unknown-warning-option -Wno-unused-but-set-variable -Wno-unused-co= nst-variable -DEFINE CLANG35_ARM_CC_FLAGS =3D DEF(GCC_ARM_CC_FLAGS) DEF(CLANG35_ARM= _TARGET) DEF(CLANG35_WARNING_OVERRIDES) -DEFINE CLANG35_AARCH64_CC_FLAGS =3D DEF(GCC_AARCH64_CC_FLAGS) DEF(CLANG35= _AARCH64_TARGET) -mcmodel=3Dsmall DEF(CLANG35_WARNING_OVERRIDES) - -################## -# CLANG35 ARM definitions -################## -*_CLANG35_ARM_SLINK_PATH =3D ENV(CLANG35_ARM_PREFIX)ar -*_CLANG35_ARM_RC_PATH =3D ENV(CLANG35_ARM_PREFIX)objcopy - -*_CLANG35_ARM_ASLCC_FLAGS =3D DEF(GCC_ASLCC_FLAGS) -*_CLANG35_ARM_ASLDLINK_FLAGS =3D DEF(CLANG35_ARM_TARGET) DEF(GCC_ARM_A= SLDLINK_FLAGS) -*_CLANG35_ARM_ASM_FLAGS =3D DEF(GCC_ASM_FLAGS) DEF(CLANG35_ARM_TA= RGET) $(PLATFORM_FLAGS) -Qunused-arguments -*_CLANG35_ARM_DLINK_FLAGS =3D DEF(CLANG35_ARM_TARGET) DEF(GCC_ARM_D= LINK_FLAGS) -*_CLANG35_ARM_DLINK2_FLAGS =3D DEF(GCC_DLINK2_FLAGS_COMMON) -Wl,--de= fsym=3DPECOFF_HEADER_SIZE=3D0x220 -*_CLANG35_ARM_PLATFORM_FLAGS =3D -march=3Darmv7-a -mkernel -Qunused-ar= guments -*_CLANG35_ARM_PP_FLAGS =3D DEF(GCC_PP_FLAGS) DEF(CLANG35_ARM_TAR= GET) $(PLATFORM_FLAGS) -*_CLANG35_ARM_RC_FLAGS =3D DEF(GCC_ARM_RC_FLAGS) -*_CLANG35_ARM_VFRPP_FLAGS =3D DEF(GCC_VFRPP_FLAGS) DEF(CLANG35_ARM_= TARGET) $(PLATFORM_FLAGS) -*_CLANG35_ARM_ASLPP_FLAGS =3D DEF(GCC_ASLPP_FLAGS) DEF(CLANG35_ARM_= TARGET) -*_CLANG35_ARM_CC_XIPFLAGS =3D DEF(GCC_ARM_CC_XIPFLAGS) - - DEBUG_CLANG35_ARM_CC_FLAGS =3D DEF(CLANG35_ARM_CC_FLAGS) $(PLATFORM_= FLAGS) -O1 -RELEASE_CLANG35_ARM_CC_FLAGS =3D DEF(CLANG35_ARM_CC_FLAGS) $(PLATFORM_= FLAGS) -Oz - NOOPT_CLANG35_ARM_CC_FLAGS =3D DEF(CLANG35_ARM_CC_FLAGS) $(PLATFORM_= FLAGS) -O0 - -################## -# CLANG35 AARCH64 definitions -################## -*_CLANG35_AARCH64_SLINK_PATH =3D ENV(CLANG35_AARCH64_PREFIX)ar -*_CLANG35_AARCH64_RC_PATH =3D ENV(CLANG35_AARCH64_PREFIX)objcopy - -*_CLANG35_AARCH64_ASLCC_FLAGS =3D DEF(GCC_ASLCC_FLAGS) -*_CLANG35_AARCH64_ASLDLINK_FLAGS =3D DEF(CLANG35_AARCH64_TARGET) DEF(GCC_A= ARCH64_ASLDLINK_FLAGS) -*_CLANG35_AARCH64_ASM_FLAGS =3D DEF(GCC_ASM_FLAGS) DEF(CLANG35_AARCH6= 4_TARGET) $(PLATFORM_FLAGS) -Qunused-arguments -*_CLANG35_AARCH64_DLINK_FLAGS =3D DEF(CLANG35_AARCH64_TARGET) DEF(GCC_A= ARCH64_DLINK_FLAGS) -z common-page-size=3D0x1000 -*_CLANG35_AARCH64_DLINK_XIPFLAGS =3D -z common-page-size=3D0x20 -*_CLANG35_AARCH64_DLINK2_FLAGS =3D DEF(GCC_DLINK2_FLAGS_COMMON) -Wl,--de= fsym=3DPECOFF_HEADER_SIZE=3D0x228 -*_CLANG35_AARCH64_PLATFORM_FLAGS =3D -*_CLANG35_AARCH64_PP_FLAGS =3D DEF(GCC_PP_FLAGS) DEF(CLANG35_AARCH64= _TARGET) $(PLATFORM_FLAGS) -*_CLANG35_AARCH64_RC_FLAGS =3D DEF(GCC_AARCH64_RC_FLAGS) -*_CLANG35_AARCH64_VFRPP_FLAGS =3D DEF(GCC_VFRPP_FLAGS) DEF(CLANG35_AARC= H64_TARGET) $(PLATFORM_FLAGS) -*_CLANG35_AARCH64_ASLPP_FLAGS =3D DEF(GCC_ASLPP_FLAGS) DEF(CLANG35_AARC= H64_TARGET) -*_CLANG35_AARCH64_CC_XIPFLAGS =3D DEF(GCC_AARCH64_CC_XIPFLAGS) - - DEBUG_CLANG35_AARCH64_CC_FLAGS =3D DEF(CLANG35_AARCH64_CC_FLAGS) $(PLATF= ORM_FLAGS) -O1 -RELEASE_CLANG35_AARCH64_CC_FLAGS =3D DEF(CLANG35_AARCH64_CC_FLAGS) $(PLATF= ORM_FLAGS) -Oz - NOOPT_CLANG35_AARCH64_CC_FLAGS =3D DEF(CLANG35_AARCH64_CC_FLAGS) $(PLATF= ORM_FLAGS) -O0 - -##########################################################################= ########## -# -# Clang 3.8 - This configuration is used to compile under Linux to produce -# PE/COFF binaries using LLVM/Clang 3.8 with Link Time Optimization enabl= ed -# -##########################################################################= ########## -*_CLANG38_*_*_FAMILY =3D GCC -*_CLANG38_*_MAKE_PATH =3D make -*_CLANG38_*_*_DLL =3D ENV(CLANG38_DLL) -*_CLANG38_*_ASL_PATH =3D DEF(UNIX_IASL_BIN) - -*_CLANG38_*_APP_FLAGS =3D -*_CLANG38_*_ASL_FLAGS =3D DEF(IASL_FLAGS) -*_CLANG38_*_ASL_OUTFLAGS =3D DEF(IASL_OUTFLAGS) -*_CLANG38_*_DEPS_FLAGS =3D DEF(GCC_DEPS_FLAGS) -DEFINE CLANG38_IA32_PREFIX =3D ENV(CLANG38_BIN) -DEFINE CLANG38_X64_PREFIX =3D ENV(CLANG38_BIN) - -DEFINE CLANG38_IA32_TARGET =3D -target i686-pc-linux-gnu -DEFINE CLANG38_X64_TARGET =3D -target x86_64-pc-linux-gnu - -DEFINE CLANG38_WARNING_OVERRIDES =3D -Wno-parentheses-equality -Wno-tau= tological-compare -Wno-tautological-constant-out-of-range-compare -Wno-empt= y-body -Wno-unused-const-variable -Wno-varargs -Wno-unknown-warning-option = -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-unaligned-acce= ss -DEFINE CLANG38_ALL_CC_FLAGS =3D DEF(GCC48_ALL_CC_FLAGS) DEF(CLANG3= 8_WARNING_OVERRIDES) -fno-stack-protector -mms-bitfields -Wno-address -Wno-= shift-negative-value -Wno-unknown-pragmas -Wno-incompatible-library-redecla= ration -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -msoft-float -mno-= implicit-float -ftrap-function=3Dundefined_behavior_has_been_optimized_awa= y_by_clang -funsigned-char -fno-ms-extensions -Wno-null-dereference +DEFINE CLANGDWARF_WARNING_OVERRIDES =3D -Wno-parentheses-equality -Wno-= tautological-compare -Wno-tautological-constant-out-of-range-compare -Wno-e= mpty-body -Wno-unused-const-variable -Wno-varargs -Wno-unknown-warning-opti= on -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-unaligned-a= ccess +DEFINE CLANGDWARF_ALL_CC_FLAGS =3D DEF(GCC48_ALL_CC_FLAGS) DEF(CLA= NGDWARF_WARNING_OVERRIDES) -fno-stack-protector -mms-bitfields -Wno-address= -Wno-shift-negative-value -Wno-unknown-pragmas -Wno-incompatible-library-r= edeclaration -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -msoft-float= -mno-implicit-float -ftrap-function=3Dundefined_behavior_has_been_optimiz= ed_away_by_clang -funsigned-char -fno-ms-extensions -Wno-null-dereference =20 ########################### -# CLANG38 IA32 definitions +# CLANGDWARF IA32 definitions ########################### -*_CLANG38_IA32_OBJCOPY_PATH =3D objcopy -*_CLANG38_IA32_CC_PATH =3D DEF(CLANG38_IA32_PREFIX)clang -*_CLANG38_IA32_SLINK_PATH =3D DEF(CLANG38_IA32_PREFIX)llvm-ar -*_CLANG38_IA32_DLINK_PATH =3D DEF(CLANG38_IA32_PREFIX)clang -*_CLANG38_IA32_ASLDLINK_PATH =3D DEF(CLANG38_IA32_PREFIX)clang -*_CLANG38_IA32_ASM_PATH =3D DEF(CLANG38_IA32_PREFIX)clang -*_CLANG38_IA32_PP_PATH =3D DEF(CLANG38_IA32_PREFIX)clang -*_CLANG38_IA32_VFRPP_PATH =3D DEF(CLANG38_IA32_PREFIX)clang -*_CLANG38_IA32_ASLCC_PATH =3D DEF(CLANG38_IA32_PREFIX)clang -*_CLANG38_IA32_ASLPP_PATH =3D DEF(CLANG38_IA32_PREFIX)clang -*_CLANG38_IA32_RC_PATH =3D objcopy - -*_CLANG38_IA32_ASLCC_FLAGS =3D DEF(GCC_ASLCC_FLAGS) -m32 -fno-lto= DEF(CLANG38_IA32_TARGET) -*_CLANG38_IA32_ASLDLINK_FLAGS =3D DEF(GCC5_IA32_X64_ASLDLINK_FLAGS) = -Wl,-m,elf_i386 -*_CLANG38_IA32_ASM_FLAGS =3D DEF(GCC5_ASM_FLAGS) -m32 -march=3D= i386 DEF(CLANG38_IA32_TARGET) -*_CLANG38_IA32_RC_FLAGS =3D DEF(GCC_IA32_RC_FLAGS) -*_CLANG38_IA32_OBJCOPY_FLAGS =3D -*_CLANG38_IA32_NASM_FLAGS =3D -f elf32 -*_CLANG38_IA32_PP_FLAGS =3D DEF(GCC_PP_FLAGS) DEF(CLANG38_IA32= _TARGET) -*_CLANG38_IA32_ASLPP_FLAGS =3D DEF(GCC_ASLPP_FLAGS) DEF(CLANG38_I= A32_TARGET) -*_CLANG38_IA32_VFRPP_FLAGS =3D DEF(GCC_VFRPP_FLAGS) DEF(CLANG38_I= A32_TARGET) - -DEBUG_CLANG38_IA32_CC_FLAGS =3D DEF(CLANG38_ALL_CC_FLAGS) -m32 -Oz= -flto -march=3Di586 DEF(CLANG38_IA32_TARGET) -g -malign-double -DEBUG_CLANG38_IA32_DLINK_FLAGS =3D DEF(GCC5_IA32_X64_DLINK_FLAGS) -fl= to -Wl,-Oz -Wl,-melf_i386 -Wl,--oformat=3Delf32-i386 -DEBUG_CLANG38_IA32_DLINK2_FLAGS =3D DEF(GCC5_IA32_DLINK2_FLAGS) -O3 - -RELEASE_CLANG38_IA32_CC_FLAGS =3D DEF(CLANG38_ALL_CC_FLAGS) -m32 -Oz= -flto -march=3Di586 DEF(CLANG38_IA32_TARGET) -malign-double -RELEASE_CLANG38_IA32_DLINK_FLAGS =3D DEF(GCC5_IA32_X64_DLINK_FLAGS) -fl= to -Wl,-Oz -Wl,-melf_i386 -Wl,--oformat=3Delf32-i386 -RELEASE_CLANG38_IA32_DLINK2_FLAGS =3D DEF(GCC5_IA32_DLINK2_FLAGS) -O3 - -NOOPT_CLANG38_IA32_CC_FLAGS =3D DEF(CLANG38_ALL_CC_FLAGS) -m32 -O0= -march=3Di586 DEF(CLANG38_IA32_TARGET) -g -malign-double -NOOPT_CLANG38_IA32_DLINK_FLAGS =3D DEF(GCC5_IA32_X64_DLINK_FLAGS) -Wl= ,-O0 -Wl,-melf_i386 -Wl,--oformat=3Delf32-i386 -NOOPT_CLANG38_IA32_DLINK2_FLAGS =3D DEF(GCC5_IA32_DLINK2_FLAGS) -O0 +*_CLANGDWARF_IA32_OBJCOPY_PATH =3D DEF(CLANGDWARF_IA32_PREFIX)llvm= -objcopy +*_CLANGDWARF_IA32_CC_PATH =3D DEF(CLANGDWARF_IA32_PREFIX)clan= g +*_CLANGDWARF_IA32_SLINK_PATH =3D DEF(CLANGDWARF_IA32_PREFIX)llvm= -ar +*_CLANGDWARF_IA32_DLINK_PATH =3D DEF(CLANGDWARF_IA32_PREFIX)clan= g +*_CLANGDWARF_IA32_ASLDLINK_PATH =3D DEF(CLANGDWARF_IA32_PREFIX)clan= g +*_CLANGDWARF_IA32_ASM_PATH =3D DEF(CLANGDWARF_IA32_PREFIX)clan= g +*_CLANGDWARF_IA32_PP_PATH =3D DEF(CLANGDWARF_IA32_PREFIX)clan= g +*_CLANGDWARF_IA32_VFRPP_PATH =3D DEF(CLANGDWARF_IA32_PREFIX)clan= g +*_CLANGDWARF_IA32_ASLCC_PATH =3D DEF(CLANGDWARF_IA32_PREFIX)clan= g +*_CLANGDWARF_IA32_ASLPP_PATH =3D DEF(CLANGDWARF_IA32_PREFIX)clan= g +*_CLANGDWARF_IA32_RC_PATH =3D DEF(CLANGDWARF_IA32_PREFIX)llvm= -objcopy + +*_CLANGDWARF_IA32_ASLCC_FLAGS =3D DEF(GCC_ASLCC_FLAGS) -m32 -fno-= lto DEF(CLANGDWARF_IA32_TARGET) +*_CLANGDWARF_IA32_ASLDLINK_FLAGS =3D DEF(GCC5_IA32_X64_ASLDLINK_FLAG= S) -Wl,-m,elf_i386 +*_CLANGDWARF_IA32_ASM_FLAGS =3D DEF(GCC5_ASM_FLAGS) -m32 -march= =3Di386 DEF(CLANGDWARF_IA32_TARGET) +*_CLANGDWARF_IA32_RC_FLAGS =3D DEF(GCC_IA32_RC_FLAGS) +*_CLANGDWARF_IA32_OBJCOPY_FLAGS =3D +*_CLANGDWARF_IA32_NASM_FLAGS =3D -f elf32 +*_CLANGDWARF_IA32_PP_FLAGS =3D DEF(GCC_PP_FLAGS) DEF(CLANGDWAR= F_IA32_TARGET) +*_CLANGDWARF_IA32_ASLPP_FLAGS =3D DEF(GCC_ASLPP_FLAGS) DEF(CLANGD= WARF_IA32_TARGET) +*_CLANGDWARF_IA32_VFRPP_FLAGS =3D DEF(GCC_VFRPP_FLAGS) DEF(CLANGD= WARF_IA32_TARGET) + +DEBUG_CLANGDWARF_IA32_CC_FLAGS =3D DEF(CLANGDWARF_ALL_CC_FLAGS) -m= 32 -Oz -flto -march=3Di586 DEF(CLANGDWARF_IA32_TARGET) -g -malign-double +DEBUG_CLANGDWARF_IA32_DLINK_FLAGS =3D DEF(GCC5_IA32_X64_DLINK_FLAGS) = -flto -Wl,-Oz -Wl,-melf_i386 -Wl,--oformat=3Delf32-i386 +DEBUG_CLANGDWARF_IA32_DLINK2_FLAGS =3D DEF(GCC5_IA32_DLINK2_FLAGS) -O3 + +RELEASE_CLANGDWARF_IA32_CC_FLAGS =3D DEF(CLANGDWARF_ALL_CC_FLAGS) -m= 32 -Oz -flto -march=3Di586 DEF(CLANGDWARF_IA32_TARGET) -malign-double +RELEASE_CLANGDWARF_IA32_DLINK_FLAGS =3D DEF(GCC5_IA32_X64_DLINK_FLAGS) = -flto -Wl,-Oz -Wl,-melf_i386 -Wl,--oformat=3Delf32-i386 +RELEASE_CLANGDWARF_IA32_DLINK2_FLAGS =3D DEF(GCC5_IA32_DLINK2_FLAGS) -O3 + +NOOPT_CLANGDWARF_IA32_CC_FLAGS =3D DEF(CLANGDWARF_ALL_CC_FLAGS) -m= 32 -O0 -march=3Di586 DEF(CLANGDWARF_IA32_TARGET) -g -malign-double +NOOPT_CLANGDWARF_IA32_DLINK_FLAGS =3D DEF(GCC5_IA32_X64_DLINK_FLAGS) = -Wl,-O0 -Wl,-melf_i386 -Wl,--oformat=3Delf32-i386 +NOOPT_CLANGDWARF_IA32_DLINK2_FLAGS =3D DEF(GCC5_IA32_DLINK2_FLAGS) -O0 =20 ########################## -# CLANG38 X64 definitions +# CLANGDWARF X64 definitions ########################## -*_CLANG38_X64_OBJCOPY_PATH =3D objcopy -*_CLANG38_X64_CC_PATH =3D DEF(CLANG38_X64_PREFIX)clang -*_CLANG38_X64_SLINK_PATH =3D DEF(CLANG38_X64_PREFIX)llvm-ar -*_CLANG38_X64_DLINK_PATH =3D DEF(CLANG38_X64_PREFIX)clang -*_CLANG38_X64_ASLDLINK_PATH =3D DEF(CLANG38_X64_PREFIX)clang -*_CLANG38_X64_ASM_PATH =3D DEF(CLANG38_X64_PREFIX)clang -*_CLANG38_X64_PP_PATH =3D DEF(CLANG38_X64_PREFIX)clang -*_CLANG38_X64_VFRPP_PATH =3D DEF(CLANG38_X64_PREFIX)clang -*_CLANG38_X64_ASLCC_PATH =3D DEF(CLANG38_X64_PREFIX)clang -*_CLANG38_X64_ASLPP_PATH =3D DEF(CLANG38_X64_PREFIX)clang -*_CLANG38_X64_RC_PATH =3D objcopy - -*_CLANG38_X64_ASLCC_FLAGS =3D DEF(GCC_ASLCC_FLAGS) -m64 -fno-lto = DEF(CLANG38_X64_TARGET) -*_CLANG38_X64_ASLDLINK_FLAGS =3D DEF(GCC5_IA32_X64_ASLDLINK_FLAGS) -= Wl,-m,elf_x86_64 -*_CLANG38_X64_ASM_FLAGS =3D DEF(GCC5_ASM_FLAGS) -m64 DEF(CLANG3= 8_X64_TARGET) -*_CLANG38_X64_RC_FLAGS =3D DEF(GCC_X64_RC_FLAGS) -*_CLANG38_X64_OBJCOPY_FLAGS =3D -*_CLANG38_X64_NASM_FLAGS =3D -f elf64 -*_CLANG38_X64_PP_FLAGS =3D DEF(GCC_PP_FLAGS) DEF(CLANG38_X64_T= ARGET) -*_CLANG38_X64_ASLPP_FLAGS =3D DEF(GCC_ASLPP_FLAGS) DEF(CLANG38_X6= 4_TARGET) -*_CLANG38_X64_VFRPP_FLAGS =3D DEF(GCC_VFRPP_FLAGS) DEF(CLANG38_X6= 4_TARGET) - -DEBUG_CLANG38_X64_CC_FLAGS =3D DEF(CLANG38_ALL_CC_FLAGS) -m64 "-DE= FIAPI=3D__attribute__((ms_abi))" -mno-red-zone -mcmodel=3Dsmall -fpie -Oz -= flto DEF(CLANG38_X64_TARGET) -g -DEBUG_CLANG38_X64_DLINK_FLAGS =3D DEF(GCC5_IA32_X64_DLINK_FLAGS) -flt= o -Wl,-Oz -Wl,-melf_x86_64 -Wl,--oformat=3Delf64-x86-64 -Wl,-pie -mcmodel= =3Dsmall -DEBUG_CLANG38_X64_DLINK2_FLAGS =3D DEF(GCC5_X64_DLINK2_FLAGS) -O3 - -RELEASE_CLANG38_X64_CC_FLAGS =3D DEF(CLANG38_ALL_CC_FLAGS) -m64 "-DE= FIAPI=3D__attribute__((ms_abi))" -mno-red-zone -mcmodel=3Dsmall -fpie -Oz -= flto DEF(CLANG38_X64_TARGET) -RELEASE_CLANG38_X64_DLINK_FLAGS =3D DEF(GCC5_IA32_X64_DLINK_FLAGS) -flt= o -Wl,-Oz -Wl,-melf_x86_64 -Wl,--oformat=3Delf64-x86-64 -Wl,-pie -mcmodel= =3Dsmall -RELEASE_CLANG38_X64_DLINK2_FLAGS =3D DEF(GCC5_X64_DLINK2_FLAGS) -O3 - -NOOPT_CLANG38_X64_CC_FLAGS =3D DEF(CLANG38_ALL_CC_FLAGS) -m64 "-DE= FIAPI=3D__attribute__((ms_abi))" -mno-red-zone -mcmodel=3Dsmall -fpie -O0 D= EF(CLANG38_X64_TARGET) -g -NOOPT_CLANG38_X64_DLINK_FLAGS =3D DEF(GCC5_IA32_X64_DLINK_FLAGS) -Wl,= -O0 -Wl,-melf_x86_64 -Wl,--oformat=3Delf64-x86-64 -Wl,-pie -mcmodel=3Dsmall -NOOPT_CLANG38_X64_DLINK2_FLAGS =3D DEF(GCC5_X64_DLINK2_FLAGS) -O0 +*_CLANGDWARF_X64_OBJCOPY_PATH =3D DEF(CLANGDWARF_X64_PREFIX)llvm-o= bjcopy +*_CLANGDWARF_X64_CC_PATH =3D DEF(CLANGDWARF_X64_PREFIX)clang +*_CLANGDWARF_X64_SLINK_PATH =3D DEF(CLANGDWARF_X64_PREFIX)llvm-a= r +*_CLANGDWARF_X64_DLINK_PATH =3D DEF(CLANGDWARF_X64_PREFIX)clang +*_CLANGDWARF_X64_ASLDLINK_PATH =3D DEF(CLANGDWARF_X64_PREFIX)clang +*_CLANGDWARF_X64_ASM_PATH =3D DEF(CLANGDWARF_X64_PREFIX)clang +*_CLANGDWARF_X64_PP_PATH =3D DEF(CLANGDWARF_X64_PREFIX)clang +*_CLANGDWARF_X64_VFRPP_PATH =3D DEF(CLANGDWARF_X64_PREFIX)clang +*_CLANGDWARF_X64_ASLCC_PATH =3D DEF(CLANGDWARF_X64_PREFIX)clang +*_CLANGDWARF_X64_ASLPP_PATH =3D DEF(CLANGDWARF_X64_PREFIX)clang +*_CLANGDWARF_X64_RC_PATH =3D DEF(CLANGDWARF_X64_PREFIX)llvm-o= bjcopy + +*_CLANGDWARF_X64_ASLCC_FLAGS =3D DEF(GCC_ASLCC_FLAGS) -m64 -fno-l= to DEF(CLANGDWARF_X64_TARGET) +*_CLANGDWARF_X64_ASLDLINK_FLAGS =3D DEF(GCC5_IA32_X64_ASLDLINK_FLAGS= ) -Wl,-m,elf_x86_64 +*_CLANGDWARF_X64_ASM_FLAGS =3D DEF(GCC5_ASM_FLAGS) -m64 DEF(CLA= NGDWARF_X64_TARGET) +*_CLANGDWARF_X64_RC_FLAGS =3D DEF(GCC_X64_RC_FLAGS) +*_CLANGDWARF_X64_OBJCOPY_FLAGS =3D +*_CLANGDWARF_X64_NASM_FLAGS =3D -f elf64 +*_CLANGDWARF_X64_PP_FLAGS =3D DEF(GCC_PP_FLAGS) DEF(CLANGDWARF= _X64_TARGET) +*_CLANGDWARF_X64_ASLPP_FLAGS =3D DEF(GCC_ASLPP_FLAGS) DEF(CLANGDW= ARF_X64_TARGET) +*_CLANGDWARF_X64_VFRPP_FLAGS =3D DEF(GCC_VFRPP_FLAGS) DEF(CLANGDW= ARF_X64_TARGET) + +DEBUG_CLANGDWARF_X64_CC_FLAGS =3D DEF(CLANGDWARF_ALL_CC_FLAGS) -m6= 4 "-DEFIAPI=3D__attribute__((ms_abi))" -mno-red-zone -mcmodel=3Dsmall -fpie= -Oz -flto DEF(CLANGDWARF_X64_TARGET) -g +DEBUG_CLANGDWARF_X64_DLINK_FLAGS =3D DEF(GCC5_IA32_X64_DLINK_FLAGS) -= flto -Wl,-Oz -Wl,-melf_x86_64 -Wl,--oformat=3Delf64-x86-64 -Wl,-pie -mcmode= l=3Dsmall +DEBUG_CLANGDWARF_X64_DLINK2_FLAGS =3D DEF(GCC5_X64_DLINK2_FLAGS) -O3 + +RELEASE_CLANGDWARF_X64_CC_FLAGS =3D DEF(CLANGDWARF_ALL_CC_FLAGS) -m6= 4 "-DEFIAPI=3D__attribute__((ms_abi))" -mno-red-zone -mcmodel=3Dsmall -fpie= -Oz -flto DEF(CLANGDWARF_X64_TARGET) +RELEASE_CLANGDWARF_X64_DLINK_FLAGS =3D DEF(GCC5_IA32_X64_DLINK_FLAGS) -= flto -Wl,-O3 -Wl,-melf_x86_64 -Wl,--oformat=3Delf64-x86-64 -Wl,-pie -mcmode= l=3Dsmall -fuse-ld=3Dlld +RELEASE_CLANGDWARF_X64_DLINK2_FLAGS =3D DEF(GCC5_X64_DLINK2_FLAGS) -O3 -= fuse-ld=3Dlld + +NOOPT_CLANGDWARF_X64_CC_FLAGS =3D DEF(CLANGDWARF_ALL_CC_FLAGS) -m6= 4 "-DEFIAPI=3D__attribute__((ms_abi))" -mno-red-zone -mcmodel=3Dsmall -fpie= -O0 DEF(CLANGDWARF_X64_TARGET) -g +NOOPT_CLANGDWARF_X64_DLINK_FLAGS =3D DEF(GCC5_IA32_X64_DLINK_FLAGS) -= flto -Wl,-O0 -Wl,-melf_x86_64 -Wl,--oformat=3Delf64-x86-64 -Wl,-pie -mcmode= l=3Dsmall +NOOPT_CLANGDWARF_X64_DLINK2_FLAGS =3D DEF(GCC5_X64_DLINK2_FLAGS) -O0 =20 ################## -# CLANG38 ARM definitions +# CLANGDWARF ARM definitions ################## -DEFINE CLANG38_ARM_TARGET =3D -target arm-linux-gnueabi -DEFINE CLANG38_ARM_CC_FLAGS =3D DEF(GCC_ARM_CC_FLAGS) DEF(CLANG38_ARM= _TARGET) DEF(CLANG38_WARNING_OVERRIDES) -mno-movt -DEFINE CLANG38_ARM_DLINK_FLAGS =3D DEF(CLANG38_ARM_TARGET) DEF(GCC_ARM_D= LINK_FLAGS) - -*_CLANG38_ARM_PP_FLAGS =3D DEF(GCC_PP_FLAGS) -*_CLANG38_ARM_ASLCC_FLAGS =3D DEF(GCC_ASLCC_FLAGS) -*_CLANG38_ARM_APP_FLAGS =3D -*_CLANG38_ARM_ASL_FLAGS =3D DEF(IASL_FLAGS) -*_CLANG38_ARM_ASL_OUTFLAGS =3D DEF(IASL_OUTFLAGS) -*_CLANG38_ARM_DTCPP_FLAGS =3D DEF(GCC_DTCPP_FLAGS) - -*_CLANG38_ARM_CC_PATH =3D ENV(CLANG38_BIN)clang -*_CLANG38_ARM_ASM_PATH =3D ENV(CLANG38_BIN)clang -*_CLANG38_ARM_PP_PATH =3D ENV(CLANG38_BIN)clang -*_CLANG38_ARM_VFRPP_PATH =3D ENV(CLANG38_BIN)clang -*_CLANG38_ARM_ASLCC_PATH =3D ENV(CLANG38_BIN)clang -*_CLANG38_ARM_ASLPP_PATH =3D ENV(CLANG38_BIN)clang -*_CLANG38_ARM_DLINK_PATH =3D ENV(CLANG38_BIN)clang -*_CLANG38_ARM_ASLDLINK_PATH =3D ENV(CLANG38_BIN)clang - -*_CLANG38_ARM_SLINK_PATH =3D ENV(CLANG38_BIN)llvm-ar -*_CLANG38_ARM_RC_PATH =3D ENV(CLANG38_ARM_PREFIX)objcopy - -*_CLANG38_ARM_ASLCC_FLAGS =3D DEF(GCC_ASLCC_FLAGS) -fno-lto -*_CLANG38_ARM_ASLDLINK_FLAGS =3D DEF(CLANG38_ARM_TARGET) DEF(GCC_ARM_A= SLDLINK_FLAGS) -*_CLANG38_ARM_ASM_FLAGS =3D DEF(GCC_ASM_FLAGS) DEF(CLANG38_ARM_TA= RGET) $(PLATFORM_FLAGS) -Qunused-arguments -*_CLANG38_ARM_DLINK2_FLAGS =3D DEF(GCC_DLINK2_FLAGS_COMMON) -Wl,--de= fsym=3DPECOFF_HEADER_SIZE=3D0x220 -*_CLANG38_ARM_PLATFORM_FLAGS =3D -march=3Darmv7-a -*_CLANG38_ARM_PP_FLAGS =3D DEF(GCC_PP_FLAGS) DEF(CLANG38_ARM_TAR= GET) $(PLATFORM_FLAGS) -*_CLANG38_ARM_RC_FLAGS =3D DEF(GCC_ARM_RC_FLAGS) -*_CLANG38_ARM_VFRPP_FLAGS =3D DEF(GCC_VFRPP_FLAGS) DEF(CLANG38_ARM_= TARGET) $(PLATFORM_FLAGS) -*_CLANG38_ARM_ASLPP_FLAGS =3D DEF(GCC_ASLPP_FLAGS) DEF(CLANG38_ARM_= TARGET) -*_CLANG38_ARM_CC_XIPFLAGS =3D DEF(GCC_ARM_CC_XIPFLAGS) - - DEBUG_CLANG38_ARM_CC_FLAGS =3D DEF(CLANG38_ARM_CC_FLAGS) $(PLATFORM_= FLAGS) -flto -O1 - DEBUG_CLANG38_ARM_DLINK_FLAGS =3D DEF(CLANG38_ARM_DLINK_FLAGS) -flto -W= l,-O1 -L$(WORKSPACE)/ArmPkg/Library/GccLto -llto-arm -Wl,-plugin-opt=3D-pas= s-through=3D-llto-arm - NOOPT_CLANG38_ARM_CC_FLAGS =3D DEF(CLANG38_ARM_CC_FLAGS) $(PLATFORM_= FLAGS) -O0 - NOOPT_CLANG38_ARM_DLINK_FLAGS =3D DEF(CLANG38_ARM_DLINK_FLAGS) -RELEASE_CLANG38_ARM_CC_FLAGS =3D DEF(CLANG38_ARM_CC_FLAGS) $(PLATFORM_= FLAGS) -flto -O3 -RELEASE_CLANG38_ARM_DLINK_FLAGS =3D DEF(CLANG38_ARM_DLINK_FLAGS) -flto -W= l,-O3 -L$(WORKSPACE)/ArmPkg/Library/GccLto -llto-arm -Wl,-plugin-opt=3D-pas= s-through=3D-llto-arm +DEFINE CLANGDWARF_ARM_TARGET =3D -target arm-linux-gnueabi +DEFINE CLANGDWARF_ARM_CC_FLAGS =3D $(PLATFORM_FLAGS) DEF(GCC_ALL_CC_F= LAGS) -mlittle-endian -mabi=3Daapcs -fno-short-enums -funsigned-char -fomit= -frame-pointer -Wno-address -mthumb -fno-pic -fno-pie DEF(CLANGDWARF_ARM_TA= RGET) DEF(CLANGDWARF_WARNING_OVERRIDES) -mno-movt +DEFINE CLANGDWARF_ARM_DLINK_FLAGS =3D DEF(CLANGDWARF_ARM_TARGET) DEF(GCC= _ARM_DLINK_FLAGS) + +*_CLANGDWARF_ARM_PP_FLAGS =3D DEF(GCC_PP_FLAGS) +*_CLANGDWARF_ARM_ASLCC_FLAGS =3D DEF(GCC_ASLCC_FLAGS) +*_CLANGDWARF_ARM_APP_FLAGS =3D +*_CLANGDWARF_ARM_ASL_FLAGS =3D DEF(IASL_FLAGS) +*_CLANGDWARF_ARM_ASL_OUTFLAGS =3D DEF(IASL_OUTFLAGS) +*_CLANGDWARF_ARM_DTCPP_FLAGS =3D DEF(GCC_DTCPP_FLAGS) + +*_CLANGDWARF_ARM_CC_PATH =3D ENV(CLANGDWARF_BIN)clang +*_CLANGDWARF_ARM_ASM_PATH =3D ENV(CLANGDWARF_BIN)clang +*_CLANGDWARF_ARM_PP_PATH =3D ENV(CLANGDWARF_BIN)clang +*_CLANGDWARF_ARM_VFRPP_PATH =3D ENV(CLANGDWARF_BIN)clang +*_CLANGDWARF_ARM_ASLCC_PATH =3D ENV(CLANGDWARF_BIN)clang +*_CLANGDWARF_ARM_ASLPP_PATH =3D ENV(CLANGDWARF_BIN)clang +*_CLANGDWARF_ARM_DLINK_PATH =3D ENV(CLANGDWARF_BIN)clang +*_CLANGDWARF_ARM_ASLDLINK_PATH =3D ENV(CLANGDWARF_BIN)clang + +*_CLANGDWARF_ARM_SLINK_PATH =3D ENV(CLANGDWARF_BIN)llvm-ar +*_CLANGDWARF_ARM_RC_PATH =3D ENV(CLANGDWARF_BIN)llvm-objcopy + +*_CLANGDWARF_ARM_ASLCC_FLAGS =3D DEF(GCC_ASLCC_FLAGS) -fno-lto +*_CLANGDWARF_ARM_ASLDLINK_FLAGS =3D DEF(CLANGDWARF_ARM_TARGET) DEF(GCC= _ARM_ASLDLINK_FLAGS) +*_CLANGDWARF_ARM_ASM_FLAGS =3D DEF(GCC_ASM_FLAGS) DEF(CLANGDWARF_= ARM_TARGET) $(PLATFORM_FLAGS) -Qunused-arguments +*_CLANGDWARF_ARM_DLINK2_FLAGS =3D DEF(GCC_DLINK2_FLAGS_COMMON) -Wl,-= -defsym=3DPECOFF_HEADER_SIZE=3D0x220 +*_CLANGDWARF_ARM_PLATFORM_FLAGS =3D -march=3Darmv7-a +*_CLANGDWARF_ARM_PP_FLAGS =3D DEF(GCC_PP_FLAGS) DEF(CLANGDWARF_A= RM_TARGET) $(PLATFORM_FLAGS) +*_CLANGDWARF_ARM_RC_FLAGS =3D DEF(GCC_ARM_RC_FLAGS) +*_CLANGDWARF_ARM_VFRPP_FLAGS =3D DEF(GCC_VFRPP_FLAGS) DEF(CLANGDWAR= F_ARM_TARGET) $(PLATFORM_FLAGS) +*_CLANGDWARF_ARM_ASLPP_FLAGS =3D DEF(GCC_ASLPP_FLAGS) DEF(CLANGDWAR= F_ARM_TARGET) +*_CLANGDWARF_ARM_CC_XIPFLAGS =3D DEF(GCC_ARM_CC_XIPFLAGS) + + DEBUG_CLANGDWARF_ARM_CC_FLAGS =3D DEF(CLANGDWARF_ARM_CC_FLAGS) $(PLA= TFORM_FLAGS) -flto -O1 + DEBUG_CLANGDWARF_ARM_DLINK_FLAGS =3D DEF(CLANGDWARF_ARM_DLINK_FLAGS) -f= lto -Wl,-O1 -fuse-ld=3Dlld -L$(WORKSPACE)/ArmPkg/Library/GccLto -llto-arm -= Wl,-plugin-opt=3D-pass-through=3D-llto-arm -Wl,--no-pie,--no-relax + NOOPT_CLANGDWARF_ARM_CC_FLAGS =3D DEF(CLANGDWARF_ARM_CC_FLAGS) $(PLA= TFORM_FLAGS) -O0 + NOOPT_CLANGDWARF_ARM_DLINK_FLAGS =3D DEF(CLANGDWARF_ARM_DLINK_FLAGS) -f= use-ld=3Dlld -Wl,--no-pie,--no-relax +RELEASE_CLANGDWARF_ARM_CC_FLAGS =3D DEF(CLANGDWARF_ARM_CC_FLAGS) $(PLA= TFORM_FLAGS) -flto -O3 +RELEASE_CLANGDWARF_ARM_DLINK_FLAGS =3D DEF(CLANGDWARF_ARM_DLINK_FLAGS) -f= lto -Wl,-O3 -fuse-ld=3Dlld -L$(WORKSPACE)/ArmPkg/Library/GccLto -llto-arm -= Wl,-plugin-opt=3D-pass-through=3D-llto-arm -Wl,--no-pie,--no-relax =20 ################## -# CLANG38 AARCH64 definitions +# CLANGDWARF AARCH64 definitions ################## -DEFINE CLANG38_AARCH64_TARGET =3D -target aarch64-linux-gnu -DEFINE CLANG38_AARCH64_CC_FLAGS =3D DEF(GCC_AARCH64_CC_FLAGS) DEF(CLANG38= _AARCH64_TARGET) -mcmodel=3Dsmall DEF(CLANG38_WARNING_OVERRIDES) -DEFINE CLANG38_AARCH64_DLINK_FLAGS =3D DEF(CLANG38_AARCH64_TARGET) DEF(GC= C_AARCH64_DLINK_FLAGS) -z common-page-size=3D0x1000 - -*_CLANG38_AARCH64_PP_FLAGS =3D DEF(GCC_PP_FLAGS) -*_CLANG38_AARCH64_ASLCC_FLAGS =3D DEF(GCC_ASLCC_FLAGS) -*_CLANG38_AARCH64_APP_FLAGS =3D -*_CLANG38_AARCH64_ASL_FLAGS =3D DEF(IASL_FLAGS) -*_CLANG38_AARCH64_ASL_OUTFLAGS =3D DEF(IASL_OUTFLAGS) -*_CLANG38_AARCH64_DTCPP_FLAGS =3D DEF(GCC_DTCPP_FLAGS) - -*_CLANG38_AARCH64_CC_PATH =3D ENV(CLANG38_BIN)clang -*_CLANG38_AARCH64_ASM_PATH =3D ENV(CLANG38_BIN)clang -*_CLANG38_AARCH64_PP_PATH =3D ENV(CLANG38_BIN)clang -*_CLANG38_AARCH64_VFRPP_PATH =3D ENV(CLANG38_BIN)clang -*_CLANG38_AARCH64_ASLCC_PATH =3D ENV(CLANG38_BIN)clang -*_CLANG38_AARCH64_ASLPP_PATH =3D ENV(CLANG38_BIN)clang -*_CLANG38_AARCH64_DLINK_PATH =3D ENV(CLANG38_BIN)clang -*_CLANG38_AARCH64_ASLDLINK_PATH =3D ENV(CLANG38_BIN)clang - -*_CLANG38_AARCH64_SLINK_PATH =3D ENV(CLANG38_BIN)llvm-ar -*_CLANG38_AARCH64_RC_PATH =3D ENV(CLANG38_AARCH64_PREFIX)objcopy - -*_CLANG38_AARCH64_ASLCC_FLAGS =3D DEF(GCC_ASLCC_FLAGS) -fno-lto -*_CLANG38_AARCH64_ASLDLINK_FLAGS =3D DEF(CLANG38_AARCH64_TARGET) DEF(GCC_A= ARCH64_ASLDLINK_FLAGS) -*_CLANG38_AARCH64_ASM_FLAGS =3D DEF(GCC_ASM_FLAGS) DEF(CLANG38_AARCH6= 4_TARGET) $(PLATFORM_FLAGS) -Qunused-arguments -*_CLANG38_AARCH64_DLINK_FLAGS =3D DEF(CLANG38_AARCH64_TARGET) DEF(GCC_A= ARCH64_DLINK_FLAGS) -z common-page-size=3D0x1000 -*_CLANG38_AARCH64_DLINK_XIPFLAGS =3D -z common-page-size=3D0x20 -*_CLANG38_AARCH64_DLINK2_FLAGS =3D DEF(GCC_DLINK2_FLAGS_COMMON) -Wl,--de= fsym=3DPECOFF_HEADER_SIZE=3D0x228 -*_CLANG38_AARCH64_PLATFORM_FLAGS =3D -*_CLANG38_AARCH64_PP_FLAGS =3D DEF(GCC_PP_FLAGS) DEF(CLANG38_AARCH64= _TARGET) $(PLATFORM_FLAGS) -*_CLANG38_AARCH64_RC_FLAGS =3D DEF(GCC_AARCH64_RC_FLAGS) DEF(GCC_AAR= CH64_RC_BTI_FLAGS) -*_CLANG38_AARCH64_VFRPP_FLAGS =3D DEF(GCC_VFRPP_FLAGS) DEF(CLANG38_AARC= H64_TARGET) $(PLATFORM_FLAGS) -*_CLANG38_AARCH64_ASLPP_FLAGS =3D DEF(GCC_ASLPP_FLAGS) DEF(CLANG38_AARC= H64_TARGET) -*_CLANG38_AARCH64_CC_XIPFLAGS =3D DEF(GCC_AARCH64_CC_XIPFLAGS) - - DEBUG_CLANG38_AARCH64_CC_FLAGS =3D DEF(CLANG38_AARCH64_CC_FLAGS) $(PL= ATFORM_FLAGS) -flto -O1 - DEBUG_CLANG38_AARCH64_DLINK_FLAGS =3D DEF(CLANG38_AARCH64_DLINK_FLAGS) -= flto -Wl,-O1 -L$(WORKSPACE)/ArmPkg/Library/GccLto -llto-aarch64 -Wl,-plugin= -opt=3D-pass-through=3D-llto-aarch64 - NOOPT_CLANG38_AARCH64_CC_FLAGS =3D DEF(CLANG38_AARCH64_CC_FLAGS) $(PL= ATFORM_FLAGS) -O0 - NOOPT_CLANG38_AARCH64_DLINK_FLAGS =3D DEF(CLANG38_AARCH64_DLINK_FLAGS) -RELEASE_CLANG38_AARCH64_CC_FLAGS =3D DEF(CLANG38_AARCH64_CC_FLAGS) $(PL= ATFORM_FLAGS) -flto -O3 -RELEASE_CLANG38_AARCH64_DLINK_FLAGS =3D DEF(CLANG38_AARCH64_DLINK_FLAGS) -= flto -Wl,-O3 -L$(WORKSPACE)/ArmPkg/Library/GccLto -llto-aarch64 -Wl,-plugin= -opt=3D-pass-through=3D-llto-aarch64 +DEFINE CLANGDWARF_AARCH64_TARGET =3D -target aarch64-linux-gnu +DEFINE CLANGDWARF_AARCH64_CC_FLAGS =3D DEF(GCC_AARCH64_CC_FLAGS) DEF(CLAN= GDWARF_AARCH64_TARGET) -mcmodel=3Dsmall DEF(CLANGDWARF_WARNING_OVERRIDES) +DEFINE CLANGDWARF_AARCH64_DLINK_FLAGS =3D DEF(CLANGDWARF_AARCH64_TARGET) = DEF(GCC_AARCH64_DLINK_FLAGS) -z common-page-size=3D0x1000 + +*_CLANGDWARF_AARCH64_PP_FLAGS =3D DEF(GCC_PP_FLAGS) +*_CLANGDWARF_AARCH64_ASLCC_FLAGS =3D DEF(GCC_ASLCC_FLAGS) +*_CLANGDWARF_AARCH64_APP_FLAGS =3D +*_CLANGDWARF_AARCH64_ASL_FLAGS =3D DEF(IASL_FLAGS) +*_CLANGDWARF_AARCH64_ASL_OUTFLAGS =3D DEF(IASL_OUTFLAGS) +*_CLANGDWARF_AARCH64_DTCPP_FLAGS =3D DEF(GCC_DTCPP_FLAGS) + +*_CLANGDWARF_AARCH64_CC_PATH =3D ENV(CLANGDWARF_BIN)clang +*_CLANGDWARF_AARCH64_ASM_PATH =3D ENV(CLANGDWARF_BIN)clang +*_CLANGDWARF_AARCH64_PP_PATH =3D ENV(CLANGDWARF_BIN)clang +*_CLANGDWARF_AARCH64_VFRPP_PATH =3D ENV(CLANGDWARF_BIN)clang +*_CLANGDWARF_AARCH64_ASLCC_PATH =3D ENV(CLANGDWARF_BIN)clang +*_CLANGDWARF_AARCH64_ASLPP_PATH =3D ENV(CLANGDWARF_BIN)clang +*_CLANGDWARF_AARCH64_DLINK_PATH =3D ENV(CLANGDWARF_BIN)clang +*_CLANGDWARF_AARCH64_ASLDLINK_PATH =3D ENV(CLANGDWARF_BIN)clang + +*_CLANGDWARF_AARCH64_SLINK_PATH =3D ENV(CLANGDWARF_BIN)llvm-ar +*_CLANGDWARF_AARCH64_RC_PATH =3D ENV(CLANGDWARF_BIN)llvm-objcopy + +*_CLANGDWARF_AARCH64_ASLCC_FLAGS =3D DEF(GCC_ASLCC_FLAGS) -fno-lto +*_CLANGDWARF_AARCH64_ASLDLINK_FLAGS =3D DEF(CLANGDWARF_AARCH64_TARGET) DEF= (GCC_AARCH64_ASLDLINK_FLAGS) +*_CLANGDWARF_AARCH64_ASM_FLAGS =3D DEF(GCC_ASM_FLAGS) DEF(CLANGDWARF_= AARCH64_TARGET) $(PLATFORM_FLAGS) -Qunused-arguments +*_CLANGDWARF_AARCH64_DLINK_FLAGS =3D DEF(CLANGDWARF_AARCH64_TARGET) DEF= (GCC_AARCH64_DLINK_FLAGS) -z common-page-size=3D0x1000 +*_CLANGDWARF_AARCH64_DLINK_XIPFLAGS =3D -z common-page-size=3D0x20 +*_CLANGDWARF_AARCH64_DLINK2_FLAGS =3D DEF(GCC_DLINK2_FLAGS_COMMON) -Wl,-= -defsym=3DPECOFF_HEADER_SIZE=3D0x228 +*_CLANGDWARF_AARCH64_PLATFORM_FLAGS =3D +*_CLANGDWARF_AARCH64_PP_FLAGS =3D DEF(GCC_PP_FLAGS) DEF(CLANGDWARF_A= ARCH64_TARGET) $(PLATFORM_FLAGS) +*_CLANGDWARF_AARCH64_RC_FLAGS =3D DEF(GCC_AARCH64_RC_FLAGS) DEF(GCC_= AARCH64_RC_BTI_FLAGS) +*_CLANGDWARF_AARCH64_VFRPP_FLAGS =3D DEF(GCC_VFRPP_FLAGS) DEF(CLANGDWAR= F_AARCH64_TARGET) $(PLATFORM_FLAGS) +*_CLANGDWARF_AARCH64_ASLPP_FLAGS =3D DEF(GCC_ASLPP_FLAGS) DEF(CLANGDWAR= F_AARCH64_TARGET) +*_CLANGDWARF_AARCH64_CC_XIPFLAGS =3D DEF(GCC_AARCH64_CC_XIPFLAGS) + + DEBUG_CLANGDWARF_AARCH64_CC_FLAGS =3D DEF(CLANGDWARF_AARCH64_CC_FLAGS= ) $(PLATFORM_FLAGS) -flto -O1 + DEBUG_CLANGDWARF_AARCH64_DLINK_FLAGS =3D DEF(CLANGDWARF_AARCH64_DLINK_FL= AGS) -flto -Wl,-O1 -fuse-ld=3Dlld -L$(WORKSPACE)/ArmPkg/Library/GccLto -llt= o-aarch64 -Wl,-plugin-opt=3D-pass-through=3D-llto-aarch64 -Wl,--no-pie,--no= -relax + NOOPT_CLANGDWARF_AARCH64_CC_FLAGS =3D DEF(CLANGDWARF_AARCH64_CC_FLAGS= ) $(PLATFORM_FLAGS) -O0 + NOOPT_CLANGDWARF_AARCH64_DLINK_FLAGS =3D DEF(CLANGDWARF_AARCH64_DLINK_FL= AGS) -fuse-ld=3Dlld -Wl,--no-pie,--no-relax +RELEASE_CLANGDWARF_AARCH64_CC_FLAGS =3D DEF(CLANGDWARF_AARCH64_CC_FLAGS= ) $(PLATFORM_FLAGS) -flto -O3 +RELEASE_CLANGDWARF_AARCH64_DLINK_FLAGS =3D DEF(CLANGDWARF_AARCH64_DLINK_FL= AGS) -flto -Wl,-O3 -fuse-ld=3Dlld -L$(WORKSPACE)/ArmPkg/Library/GccLto -llt= o-aarch64 -Wl,-plugin-opt=3D-pass-through=3D-llto-aarch64 -Wl,--no-pie,--no= -relax =20 ##########################################################################= ########## # @@ -2888,25 +2795,25 @@ DEFINE CLANGDWARF_X64_DLINK2_FLAGS =3D -Wl,-= -defsym=3DPECOFF_HEADER_SIZE=3D0x22 *_CLANGDWARF_IA32_ASLPP_PATH =3D DEF(CLANGDWARF_IA32_PREFIX)clan= g *_CLANGDWARF_IA32_RC_PATH =3D DEF(CLANGDWARF_IA32_PREFIX)llvm= -rc =20 -*_CLANGDWARF_IA32_ASLCC_FLAGS =3D DEF(GCC_ASLCC_FLAGS) -m32 -fno-= lto DEF(CLANG38_IA32_TARGET) +*_CLANGDWARF_IA32_ASLCC_FLAGS =3D DEF(GCC_ASLCC_FLAGS) -m32 -fno-= lto DEF(CLANGDWARF_IA32_TARGET) *_CLANGDWARF_IA32_ASLDLINK_FLAGS =3D DEF(CLANGDWARF_IA32_X64_ASLDLIN= K_FLAGS) -Wl,-m,elf_i386 -fuse-ld=3Dlld -no-pie -*_CLANGDWARF_IA32_ASM_FLAGS =3D DEF(GCC5_ASM_FLAGS) -m32 -march= =3Di386 DEF(CLANG38_IA32_TARGET) +*_CLANGDWARF_IA32_ASM_FLAGS =3D DEF(GCC5_ASM_FLAGS) -m32 -march= =3Di386 DEF(CLANGDWARF_IA32_TARGET) *_CLANGDWARF_IA32_RC_FLAGS =3D DEF(GCC_IA32_RC_FLAGS) *_CLANGDWARF_IA32_OBJCOPY_FLAGS =3D *_CLANGDWARF_IA32_NASM_FLAGS =3D -f elf32 -*_CLANGDWARF_IA32_PP_FLAGS =3D DEF(GCC_PP_FLAGS) DEF(CLANG38_I= A32_TARGET) -*_CLANGDWARF_IA32_ASLPP_FLAGS =3D DEF(GCC_ASLPP_FLAGS) DEF(CLANG3= 8_IA32_TARGET) -*_CLANGDWARF_IA32_VFRPP_FLAGS =3D DEF(GCC_VFRPP_FLAGS) DEF(CLANG3= 8_IA32_TARGET) +*_CLANGDWARF_IA32_PP_FLAGS =3D DEF(GCC_PP_FLAGS) DEF(CLANGDWAR= F_IA32_TARGET) +*_CLANGDWARF_IA32_ASLPP_FLAGS =3D DEF(GCC_ASLPP_FLAGS) DEF(CLANGD= WARF_IA32_TARGET) +*_CLANGDWARF_IA32_VFRPP_FLAGS =3D DEF(GCC_VFRPP_FLAGS) DEF(CLANGD= WARF_IA32_TARGET) =20 -DEBUG_CLANGDWARF_IA32_CC_FLAGS =3D DEF(CLANG38_ALL_CC_FLAGS) -fno-= pic -fno-pie -m32 -Oz -flto -march=3Di586 DEF(CLANG38_IA32_TARGET) -g -mali= gn-double +DEBUG_CLANGDWARF_IA32_CC_FLAGS =3D DEF(CLANGDWARF_ALL_CC_FLAGS) -f= no-pic -fno-pie -m32 -Oz -flto -march=3Di586 DEF(CLANGDWARF_IA32_TARGET) -g= -malign-double DEBUG_CLANGDWARF_IA32_DLINK_FLAGS =3D DEF(CLANGDWARF_IA32_X64_DLINK_F= LAGS) -flto -Wl,-O3 -Wl,-melf_i386 -Wl,--oformat,elf32-i386 DEBUG_CLANGDWARF_IA32_DLINK2_FLAGS =3D DEF(CLANGDWARF_IA32_DLINK2_FLAG= S) -O3 -fuse-ld=3Dlld -no-pie =20 -RELEASE_CLANGDWARF_IA32_CC_FLAGS =3D DEF(CLANG38_ALL_CC_FLAGS) -fno-= pic -fno-pie -m32 -Oz -flto -march=3Di586 DEF(CLANG38_IA32_TARGET) -malign-= double +RELEASE_CLANGDWARF_IA32_CC_FLAGS =3D DEF(CLANGDWARF_ALL_CC_FLAGS) -f= no-pic -fno-pie -m32 -Oz -flto -march=3Di586 DEF(CLANGDWARF_IA32_TARGET) -m= align-double RELEASE_CLANGDWARF_IA32_DLINK_FLAGS =3D DEF(CLANGDWARF_IA32_X64_DLINK_F= LAGS) -flto -Wl,-O3 -Wl,-melf_i386 -Wl,--oformat,elf32-i386 RELEASE_CLANGDWARF_IA32_DLINK2_FLAGS =3D DEF(CLANGDWARF_IA32_DLINK2_FLAG= S) -O3 -fuse-ld=3Dlld -no-pie =20 -NOOPT_CLANGDWARF_IA32_CC_FLAGS =3D DEF(CLANG38_ALL_CC_FLAGS) -fno-= pic -fno-pie -m32 -O0 -march=3Di586 DEF(CLANG38_IA32_TARGET) -g -malign-dou= ble +NOOPT_CLANGDWARF_IA32_CC_FLAGS =3D DEF(CLANGDWARF_ALL_CC_FLAGS) -f= no-pic -fno-pie -m32 -O0 -march=3Di586 DEF(CLANGDWARF_IA32_TARGET) -g -mali= gn-double NOOPT_CLANGDWARF_IA32_DLINK_FLAGS =3D DEF(CLANGDWARF_IA32_X64_DLINK_F= LAGS) -Wl,-O0 -Wl,-melf_i386 -Wl,--oformat,elf32-i386 NOOPT_CLANGDWARF_IA32_DLINK2_FLAGS =3D DEF(CLANGDWARF_IA32_DLINK2_FLAG= S) -O0 -fuse-ld=3Dlld -no-pie =20 @@ -2924,25 +2831,25 @@ NOOPT_CLANGDWARF_IA32_DLINK2_FLAGS =3D DEF(CLAN= GDWARF_IA32_DLINK2_FLAGS) -O0 - *_CLANGDWARF_X64_ASLPP_PATH =3D DEF(CLANGDWARF_X64_PREFIX)clang *_CLANGDWARF_X64_RC_PATH =3D DEF(CLANGDWARF_X64_PREFIX)llvm-r= c =20 -*_CLANGDWARF_X64_ASLCC_FLAGS =3D DEF(GCC_ASLCC_FLAGS) -m64 -fno-l= to DEF(CLANG38_X64_TARGET) +*_CLANGDWARF_X64_ASLCC_FLAGS =3D DEF(GCC_ASLCC_FLAGS) -m64 -fno-l= to DEF(CLANGDWARF_X64_TARGET) *_CLANGDWARF_X64_ASLDLINK_FLAGS =3D DEF(CLANGDWARF_IA32_X64_ASLDLINK= _FLAGS) -Wl,-m,elf_x86_64 -fuse-ld=3Dlld -*_CLANGDWARF_X64_ASM_FLAGS =3D DEF(GCC5_ASM_FLAGS) -m64 DEF(CLA= NG38_X64_TARGET) +*_CLANGDWARF_X64_ASM_FLAGS =3D DEF(GCC5_ASM_FLAGS) -m64 DEF(CLA= NGDWARF_X64_TARGET) *_CLANGDWARF_X64_RC_FLAGS =3D DEF(GCC_X64_RC_FLAGS) *_CLANGDWARF_X64_OBJCOPY_FLAGS =3D *_CLANGDWARF_X64_NASM_FLAGS =3D -f elf64 -*_CLANGDWARF_X64_PP_FLAGS =3D DEF(GCC_PP_FLAGS) DEF(CLANG38_X6= 4_TARGET) -*_CLANGDWARF_X64_ASLPP_FLAGS =3D DEF(GCC_ASLPP_FLAGS) DEF(CLANG38= _X64_TARGET) -*_CLANGDWARF_X64_VFRPP_FLAGS =3D DEF(GCC_VFRPP_FLAGS) DEF(CLANG38= _X64_TARGET) +*_CLANGDWARF_X64_PP_FLAGS =3D DEF(GCC_PP_FLAGS) DEF(CLANGDWARF= _X64_TARGET) +*_CLANGDWARF_X64_ASLPP_FLAGS =3D DEF(GCC_ASLPP_FLAGS) DEF(CLANGDW= ARF_X64_TARGET) +*_CLANGDWARF_X64_VFRPP_FLAGS =3D DEF(GCC_VFRPP_FLAGS) DEF(CLANGDW= ARF_X64_TARGET) =20 -DEBUG_CLANGDWARF_X64_CC_FLAGS =3D DEF(CLANG38_ALL_CC_FLAGS) -m64 "= -DEFIAPI=3D__attribute__((ms_abi))" -mno-red-zone -mcmodel=3Dsmall -fpie -O= z -flto DEF(CLANG38_X64_TARGET) -g +DEBUG_CLANGDWARF_X64_CC_FLAGS =3D DEF(CLANGDWARF_ALL_CC_FLAGS) -m6= 4 "-DEFIAPI=3D__attribute__((ms_abi))" -mno-red-zone -mcmodel=3Dsmall -fpie= -Oz -flto DEF(CLANGDWARF_X64_TARGET) -g DEBUG_CLANGDWARF_X64_DLINK_FLAGS =3D DEF(CLANGDWARF_IA32_X64_DLINK_FL= AGS) -flto -Wl,-O3 -Wl,-melf_x86_64 -Wl,--oformat,elf64-x86-64 -Wl,-pie -mc= model=3Dsmall -Wl,--apply-dynamic-relocs DEBUG_CLANGDWARF_X64_DLINK2_FLAGS =3D DEF(CLANGDWARF_X64_DLINK2_FLAGS)= -O3 -fuse-ld=3Dlld =20 -RELEASE_CLANGDWARF_X64_CC_FLAGS =3D DEF(CLANG38_ALL_CC_FLAGS) -m64 "= -DEFIAPI=3D__attribute__((ms_abi))" -mno-red-zone -mcmodel=3Dsmall -fpie -O= z -flto DEF(CLANG38_X64_TARGET) +RELEASE_CLANGDWARF_X64_CC_FLAGS =3D DEF(CLANGDWARF_ALL_CC_FLAGS) -m6= 4 "-DEFIAPI=3D__attribute__((ms_abi))" -mno-red-zone -mcmodel=3Dsmall -fpie= -Oz -flto DEF(CLANGDWARF_X64_TARGET) RELEASE_CLANGDWARF_X64_DLINK_FLAGS =3D DEF(CLANGDWARF_IA32_X64_DLINK_FL= AGS) -flto -Wl,-O3 -Wl,-melf_x86_64 -Wl,--oformat,elf64-x86-64 -Wl,-pie -mc= model=3Dsmall -Wl,--apply-dynamic-relocs RELEASE_CLANGDWARF_X64_DLINK2_FLAGS =3D DEF(CLANGDWARF_X64_DLINK2_FLAGS)= -O3 -fuse-ld=3Dlld =20 -NOOPT_CLANGDWARF_X64_CC_FLAGS =3D DEF(CLANG38_ALL_CC_FLAGS) -m64 "= -DEFIAPI=3D__attribute__((ms_abi))" -mno-red-zone -mcmodel=3Dsmall -fpie -O= 0 DEF(CLANG38_X64_TARGET) -g +NOOPT_CLANGDWARF_X64_CC_FLAGS =3D DEF(CLANGDWARF_ALL_CC_FLAGS) -m6= 4 "-DEFIAPI=3D__attribute__((ms_abi))" -mno-red-zone -mcmodel=3Dsmall -fpie= -O0 DEF(CLANGDWARF_X64_TARGET) -g NOOPT_CLANGDWARF_X64_DLINK_FLAGS =3D DEF(CLANGDWARF_IA32_X64_DLINK_FL= AGS) -Wl,-O0 -Wl,-melf_x86_64 -Wl,--oformat,elf64-x86-64 -Wl,-pie -mcmodel= =3Dsmall -Wl,--apply-dynamic-relocs NOOPT_CLANGDWARF_X64_DLINK2_FLAGS =3D DEF(CLANGDWARF_X64_DLINK2_FLAGS)= -O0 -fuse-ld=3Dlld =20 --=20 2.39.2