From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mx.groups.io with SMTP id smtpd.web10.16180.1666588966690838614 for ; Sun, 23 Oct 2022 22:22:47 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=ThLIBxqR; spf=pass (domain: intel.com, ip: 192.55.52.93, 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=1666588966; x=1698124966; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=yEQVpbOUe6uzo83VAVn1z7ymTK8GC665ncJr5W9OGA4=; b=ThLIBxqR1yCrvGLA0og0/17CAYTWCU/s4gnUV0kFMuuzEsdAFReUbNvb MQ/h+7oVeFQQvBsh+BKKydLOgbAytOC4SlAZNFfdF8V3bReFcJV53EG2p OKeAxx1lGGJ2QLe/tlUj1nyrYl8GckQ5/13rCTk7qi2eRl5d12uzeta0M SWd417w3oqh4mN6QiRzaVpfj/AkxtOW1V4ZMDHrSo29jiWjGY2WuDhgPR YF865hkT+JfUi5VDOLjTp0fYB2lxt6THjjOUlV8K0pqqZO+I9DUKrndWK /hNsi3ok+XDNSy1S7Nhb1mVbUcU+ix/udHbEwloZKXCIkPOugw/zbiExr A==; X-IronPort-AV: E=McAfee;i="6500,9779,10509"; a="304950138" X-IronPort-AV: E=Sophos;i="5.95,207,1661842800"; d="scan'208";a="304950138" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Oct 2022 22:22:43 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10509"; a="662321650" X-IronPort-AV: E=Sophos;i="5.95,207,1661842800"; d="scan'208";a="662321650" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by orsmga008.jf.intel.com with ESMTP; 23 Oct 2022 22:22:43 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Sun, 23 Oct 2022 22:22:42 -0700 Received: from fmsmsx602.amr.corp.intel.com (10.18.126.82) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Sun, 23 Oct 2022 22:22:42 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31 via Frontend Transport; Sun, 23 Oct 2022 22:22:42 -0700 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.168) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2375.31; Sun, 23 Oct 2022 22:22:41 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RiUL3rwq2GjyDbKi8LW90mjmTs9c2yvKq0lJtBlY5+bt++A8hiBT0vI2w+VoEcPMKGVaO9Z0cjOihPrGExTo/U+jzp9cL0uxPHzwcUC18FW4m3UYyo9TgHdOod8/a9GE42IRpkaiHuxkUVY/k6BXe24Wam3rvOKlaU62LMo1wobqxodl7T8xdF4Qyf/g5ooJgBK2QAX2Qjpg/KGZt6AENKaIhAHXB7jz97wzTBpLSodh8dcrkPWz3ImIKhwf7rJ5Ec9yKr6Jew5G2atTDt9f0OdpbCKOA25CnSCndeuP/GtKJJ3g7zKqtbjhSiiVrOZ6QAhr+rfXHDev+SKRIQV3pA== 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=+QDDIi64suQf9N7KmnjKxw9ClYNtEyB/UYYFLiVY51w=; b=ewvlaQMqUBDs3Wmr3Cg4czJhyKK/ihR2Dd1feljRycex9wK19QgAeGs4i7VauGms8ZJOpVjLhjHxgkddth+9YI87wCp4Fmn+F3Q1zX/zvXXmGmZ+iNS0ptyXUqbKJFkEQwi9Pav+ZPAM04n3/7GowiEtn03q6rSeq9aem6GRl2vjUnuLnTIypqN87Ld7cv9OiVY3ELM7EOmrVlGkNmdQfM376SILnUQph1Qh4GJTE7j3tUasSpxd6XHL+nSaVaCau8wDAjKx1DQNCpPvmTrZLrQSO1jQSz3zyt+PxaQ5z/iV+hqkzTqOuutuLCXfb+zzYQJRRJIfkaKYogLR6zuinA== 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 CY8PR11MB7266.namprd11.prod.outlook.com (2603:10b6:930:99::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.30; Mon, 24 Oct 2022 05:22:40 +0000 Received: from PH7PR11MB5863.namprd11.prod.outlook.com ([fe80::5a9e:911b:b5fd:6503]) by PH7PR11MB5863.namprd11.prod.outlook.com ([fe80::5a9e:911b:b5fd:6503%5]) with mapi id 15.20.5723.033; Mon, 24 Oct 2022 05:22:40 +0000 From: "Bob Feng" To: "Wu, JessyX" , "devel@edk2.groups.io" CC: "Gao, Liming" , "Chen, Christine" Subject: Re: [PATCH v3] remove GCC build warning Thread-Topic: [PATCH v3] remove GCC build warning Thread-Index: AQHY15WgP0lmG4JCIEqPQ/EKt3A1sq4dIOWQ Date: Mon, 24 Oct 2022 05:22:40 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.6.500.17 dlp-product: dlpe-windows dlp-reaction: no-action 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_|CY8PR11MB7266:EE_ x-ms-office365-filtering-correlation-id: aa9aab5f-2e72-4d61-e10b-08dab57fc55b 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: B6P95cxZwelmXYiOfB4ZIKQwqkjK7Uj/+yvq0lIwZJ+whwR3Fe9d3OU+2nZxRst1eGy/V4Me1dZzSGtJ4xn4S+DmWs+TfJi8x/lWZlR/sQQFiKERmIwlEpBTmYkiIOmDev3s0sBlZ/sb7RdHpHtk0yN+++S+pjO3+H7KkZgDoWXSDyXKGHXTF6XPGreyE/jxayx/jnjLX7U4/RoprD5JwR9fB0TOk20eLSZfzClQde3CKsvCgZFFnhupoImxCuRRtnipIfX32cnNEzSGtdoOGrkN6SIucVtJRQsbQJ2Z9WpFESfuwvfnOWgBaLeBBC6rceLz2cq9qVYm8BHgNvfUNKWoGY6MPpw6hokApuVPTutupjtMWoK6noUm2nVPAAIFpjlTl14ddrd70VfUa+FvSkyGF3uFaj9Uztq2mzcwDKRwV9BmpM+gtkZjxmUM9L0lWPWl+FeLw4gk63F5GBdMI5v8kPDmGDWWqJFJUjM6Kql1dAD5Kz3eJMFtg0kP+ZARBX9P1CGvEYgj9nZNcvGj/Fh6M+2eTfCN7xEv5VRKBJvnviU2WAXvDf40X9fj7+eSAsmzy3shBWj97YIvmNXBihjbR/h3+Ri5ANX4S9NNhurAm5HbVLk5HaqatNCcp0EsVv1HFtgVls2rx9dckLPyMVbDwnIysleLpzBPcPqf8+PVNVr2Z3oj7le15yyt1hUXDmqTxK0k6uVIIQdSVfNYReMLGoCZ/wP/vTGiZke5jT/lAlDnWCvfFmcsCzg9EsQATF+9h7+oYZw9OCbY32NYYg== 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:(13230022)(346002)(376002)(396003)(366004)(39860400002)(136003)(451199015)(86362001)(7696005)(66476007)(8676002)(186003)(2906002)(110136005)(316002)(6506007)(53546011)(41300700001)(83380400001)(9686003)(5660300002)(26005)(8936002)(66446008)(66556008)(4326008)(64756008)(66946007)(33656002)(52536014)(107886003)(76116006)(54906003)(122000001)(55016003)(82960400001)(38100700002)(478600001)(71200400001)(38070700005);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?MhFYtb0ZJGEZbdap8xQq9NDL3i98ixffHyiqDI0la+Q0tlci7qyqKi2GGrmb?= =?us-ascii?Q?620QO7Wq+hMRH7LdMqvnWz6ywbLsevdXCW/KnGZSGWJNvlb/ZZxStvGcapMM?= =?us-ascii?Q?PC5CYrpziQo7Vf4B2gbKxwuq/zuWzQA1swjkaP+woQYV6hWDOSwuNLpFZ5KG?= =?us-ascii?Q?MBlnMc1mW/3+jaGimRCmbIMgcQnDP+wWURU4lTVW4HccIrBHVXRRjtViT7oS?= =?us-ascii?Q?DSNl9yAkI4KLYFk0mhFNg70pDAPJtH/cknyTORQyS+z6/FvT5WJt3/UJXjil?= =?us-ascii?Q?qAKNVbRlX2pKB7HuXsnbaBKraW4VknaBslpaDWqIYhZVICkNOpsQs7GhbyH0?= =?us-ascii?Q?QLUj253pwEzuCUtIAUgZQ7fikYwO9FBAYYF++rT7H75zeM8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8aM9kXjCKLItikGLlICVTZcdWhIz5M2MVpCgzcXc?= =?us-ascii?Q?7YVhZVTbflquvgLrIUF/IGi2jt9j8WZC62WMGJRuyoK9q8dI/zQ25kwIyyYQ?= =?us-ascii?Q?j10r+QXIdOPaW3KkX1wUpeTyHw7GBNhPsx5sZHnUdIyZ+Sb4RZjsqvWEe8mq?= =?us-ascii?Q?HmJHhetToOELipP7y7PQsxh195saa1oB5BlnRNLRIOkssEgwOTmPJ4AsftpW?= =?us-ascii?Q?1bwdsppG3Cx3XuM2dcn1+VJge8WEvoT4JUXJ2Mqu3ol6bc74BajGdCUNLyzs?= =?us-ascii?Q?l4WGeGa0gPBaEFUlWhGgJTZO4I5CyMfjStNm+3/O?= 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: aa9aab5f-2e72-4d61-e10b-08dab57fc55b X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Oct 2022 05:22:40.1806 (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: sc/9EUWHj3se6rIucKpyvG1KhTZT/ebCQi/6EGbJ1d0JO9mCwkj4ihZIAmgM/1YiQyHW4tzmMkBIbQHSwNPTFA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY8PR11MB7266 Return-Path: bob.c.feng@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Bob Feng Thanks, Bob -----Original Message----- From: Wu, JessyX =20 Sent: Tuesday, October 4, 2022 10:04 AM To: devel@edk2.groups.io Cc: Wu, JessyX ; Feng, Bob C ; G= ao, Liming ; Chen, Christine Subject: [PATCH v3] remove GCC build warning Fix gcc: warning: -x c after last input file has no effect These kind of flag can only affect the source code after them. For the build command in build_rule.template, we have no other source code = or object after these two flag. It seems we don't need them here. Cc: Bob Feng Cc: Liming Gao Cc: Yuwei Chen Signed-off-by: JessyX Wu --- BaseTools/Conf/build_rule.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BaseTools/Conf/build_rule.template b/BaseTools/Conf/build_rule= .template index 5895b48fd8..af4819de92 100755 --- a/BaseTools/Conf/build_rule.template +++ b/BaseTools/Conf/build_rule.template @@ -463,7 +463,7 @@ =20 "$(ASLCC)" $(DEPS_FLAGS) -c -o $(OUTPUT_DIR)(+)${s_dir}(+)${s_base= }.obj $(CC_FLAGS) $(ASLCC_FLAGS) $(DEPS_FLAGS) $(INC) ${src} - "$(ASLDLINK)" -o $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.dll $(ASLDLI= NK_FLAGS) $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.obj $(CC_FLAGS) $(ASLCC_FLAG= S) + "$(ASLDLINK)" -o $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.dll $(ASLDLI= NK_FLAGS) $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.obj "$(GENFW)" -o ${dst} -c $(OUTPUT_DIR)(+)${s_dir}(+)${s_base}.dll $= (GENFW_FLAGS) =20 --=20 2.37.3.windows.1