From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mx.groups.io with SMTP id smtpd.web11.23348.1657501679483548514 for ; Sun, 10 Jul 2022 18:07:59 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=SHL3UE2S; spf=pass (domain: intel.com, ip: 192.55.52.43, 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=1657501679; x=1689037679; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=NVtUqcoCt+aPje14ybHHQj2ee1ZPzikOipkzr6O1QiE=; b=SHL3UE2SN5YNp/LcLLAzOowbLMqM8KCjzPzppxzUf/rMFIQkBL9B3uXi vQ1QtXvcAY1SWrEC2j/WGoip2ePSrDkxah/dcE/29qHTA6XmzW+5VQOzv IJaTlwR1lnj7Cq0U21a+TGhA4LE0XYIWQL2p6bgETJlqRQFBlE3C+/hf0 KZeC3mTxxytdrDDpjbcHNCS4eodrmxvba0Fik8ylihrZFn2+j2hiiIkh9 C8wXeQD3q5v6i21u1c1ic0GBiF5GvEEHdwc075YynWLZXmu/XR7boefEH /EIFqKWHsTv4GGvjqN0V2eJboXHYKGAU81JzF01xZX5G0wxD3U87ceDeo A==; X-IronPort-AV: E=McAfee;i="6400,9594,10404"; a="370863992" X-IronPort-AV: E=Sophos;i="5.92,261,1650956400"; d="scan'208";a="370863992" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Jul 2022 18:07:58 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.92,261,1650956400"; d="scan'208";a="569579985" Received: from orsmsx605.amr.corp.intel.com ([10.22.229.18]) by orsmga006.jf.intel.com with ESMTP; 10 Jul 2022 18:07:58 -0700 Received: from orsmsx606.amr.corp.intel.com (10.22.229.19) by ORSMSX605.amr.corp.intel.com (10.22.229.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Sun, 10 Jul 2022 18:07:58 -0700 Received: from ORSEDG602.ED.cps.intel.com (10.7.248.7) by orsmsx606.amr.corp.intel.com (10.22.229.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27 via Frontend Transport; Sun, 10 Jul 2022 18:07:58 -0700 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.100) by edgegateway.intel.com (134.134.137.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.27; Sun, 10 Jul 2022 18:07:57 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YrcTPCzEyZOqkIKwAz3Sz4wDOT83dIrKLUqVLgI5X7F+PrpyjeYvZakLpXnIkNXxbm0X1FJPKnb/HhGPK2sDX/yc64+yb/cruD36Fm4ugy5fGMomUVxmm/2e47OX2Da5bXz+yrVe+68J8Ed3uHaLoXdBM1Wle3Z+VFA+UHeVxrCpNX4L2pGpbHCHNni0jWeQ7TtesEgbhXIyxuHEZ0HU9coVKyVsH/5992cgNF9dJvrvgPLEFbpnyJsOzmtyynVHdBj0AcsQxwxuLGd1C1aURwtdJiJUqlO04ERnKGH7Bql9gHQZShW9La/qgYTnEKDGUtJaO9NBmB/V8ZQ6U/xr4A== 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=Zz75byzo1XtZQWqiWizAmFQu1Hucw90qfLFapgskHuA=; b=NmB0p3xt1D0fEHVo/zgY6m60JlYCoEYvEzMsIId9GzQ45vdqYaXPWPARxvIzPKYy9SaxC1syOw+ckJ3kXF9A5q9fhwACRo3eLGpOnQ6j4Lhgq3hpMciWVHOfoU60D1yMaYTd8xiIwx1ASJ+y3PRZolB5U7yGS1l/vGRHit7VpT50tyR7vzBHW/xSNOtiV/jeYOVccgd0xAlL6EQmKSxsFFAGy5i2LucA6rJMoVQzjbdl2D8I/Jaq7KBU2XQ7/2NNX/QfG64uEO66Sg88K4eUm5A8Sd1pH0O+ASY9s5yUN7YbzHh2gwe7TRENnse/BRK+cAmK361vTqAIHHf7j8U6Qw== 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 BN6PR11MB1745.namprd11.prod.outlook.com (2603:10b6:404:103::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.16; Mon, 11 Jul 2022 01:07:54 +0000 Received: from PH7PR11MB5863.namprd11.prod.outlook.com ([fe80::943:4b5a:b96b:30f8]) by PH7PR11MB5863.namprd11.prod.outlook.com ([fe80::943:4b5a:b96b:30f8%5]) with mapi id 15.20.5417.026; Mon, 11 Jul 2022 01:07:54 +0000 From: "Bob Feng" To: "Chen, Christine" , "devel@edk2.groups.io" CC: "Gao, Liming" Subject: Re: [PATCH 1/1] BaseTools: remove directly calling for gcc command Thread-Topic: [PATCH 1/1] BaseTools: remove directly calling for gcc command Thread-Index: AQHYko3tHtVl7kR2AEWP6QLoqcCoRa14YByg Date: Mon, 11 Jul 2022 01:07:54 +0000 Message-ID: References: <20220708054516.223-1-yuwei.chen@intel.com> In-Reply-To: <20220708054516.223-1-yuwei.chen@intel.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-office365-filtering-correlation-id: 691eb17d-c700-4be9-ff91-08da62d9c90e x-ms-traffictypediagnostic: BN6PR11MB1745:EE_ 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: NEJxXi6YthRUiwChIE+ajq//AJDz7lWm2/p0do0Hvk0poNVm2sI86opqaQNFwnpiwNyGbDk1eai+tfOW4GqFmeNOft90yHNgOQHUrZy8xmgcj/t/WEEvfDAiAeU1BPw5iXlrY5y/Fcqd+tfTmPm2ZuhwSGvjr4X4cPo8Yt8d5pjI2dvILKMKkZOHg6CSilJfOtHACw9WxDm2DSsNqrsUGHU48KPbGAV5ZOtcE1/GcnAYLuARdqDCUE+NrG7GIZEN54/24Ow4niheOFkqzb/jLD3gysy0eAvrF8rxIHFMOkZ29GMbFG1YBqbK0cpAv2AqrUw3U+VsDdxDaqNoprhtn9nKKs/0rPLjq6QhN7hiIRMpFtcfaILNofwYyiQtqkkOGUnHVigxvuCD7tVkQIYqIb8yuO1k8ZF0YLMKieUvtaHvINJHvJlZ+92Vzl6EeadguGkLtQ1LfVCrPl0vcla2Hk65qpJdgBqv9llXHjNdqf2RFdqcnbcPX/GFUvjWaBJ/Ep6S3QUjz3NFHcLflQ9cXxk6crH3P1ajIonrZ5Ziwc0O8k6cItPoT79g49o5+Zvb7U8o1/UzRnILnPeGyJuYjSOydc91/o+09PoD7BgKlLzj9nAGU9Sq8qnLXRc04vuEi3UhRfrE+df4qyhBag/l8CFLEVuEb/8GK8chM1OcNjSew2/CHqieytl6CzB3UrZ1LaVm1wZeHMBhPG4n50HgSLtBgF56fGw+Q8mF0qGM1GCFtkLjyW0RZ5rvOBm9BCnqH6/BXuR3Jc0EbN9D5KdjbtE0OFIil3vEZecXvNLldr73WyiktOwfpVJavgXcEseC 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:(13230016)(376002)(39860400002)(346002)(366004)(136003)(396003)(86362001)(38070700005)(82960400001)(38100700002)(122000001)(186003)(9686003)(83380400001)(33656002)(26005)(71200400001)(110136005)(53546011)(41300700001)(316002)(7696005)(6506007)(478600001)(2906002)(5660300002)(52536014)(8676002)(8936002)(55016003)(66556008)(66476007)(4326008)(66446008)(76116006)(66946007)(64756008);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?qzrDQNIJPX+CZBqkFc9pK3NLig8YS5WRCZ8w5Op+HO0+yguwZRDWrRtV8s/H?= =?us-ascii?Q?N11omy2PvRaF1HG6AK5Olo7gy08o/72QO4rlSh5c67LgVx9PfmS6DA6l2Tpg?= =?us-ascii?Q?JMtslzSKCBMMCg2BWZ2Q6PUHYDXVRU6JaB0tBczfh/+FZyNV8wT585CqSnZC?= =?us-ascii?Q?IWb8ENeS2YB19TYBw1c3+bMmw/bOTUgk/5qQXwnNj5BWbcUG1pfK+GnQKMY6?= =?us-ascii?Q?2xKut3MKNQnrOhvq4i8ctJ1f13GjOwKQNaL3t/jQHqA9IDRJUyBPiJHO62Eu?= =?us-ascii?Q?UlkVMFfiMMTN4SspnLtGl0UGVCbGSBB8dmzBdO04xXvCscEOO9SykOMaOw/V?= =?us-ascii?Q?xaiTN9YITkSkUsklRzbMUMPanFKttaZCIuilM0TEcnQS4Bz2Ip/mpjxHdnEo?= =?us-ascii?Q?bH0gzxjfL6Gsr5v6APQJ9a/ziskinfvtObY7V6g0HsUWQzK4L5h66wp5pHs6?= =?us-ascii?Q?ARxyNktRMB9r9EhZP9F9QWHtRZHnqmuo/vBSJo9f2nSzEzNxtwb3dfdUP543?= =?us-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L5CNwqR+4r7t5Yni0K0RHN1u881dXSa?= =?us-ascii?Q?X8dzxO8t1P2wHdQ7HEJJVjtIHsXt3+3xJ7Xel3azKL/pVCi1/6Fnof0pSo6Y?= =?us-ascii?Q?cIyxOHIYc7elAX7v0/wu4QO1EYLQPdKhHlkKhz3LeyxFY8nXVjsUM11IfVH6?= =?us-ascii?Q?8p9G6t1ohyWI180mx5c4gmW7ezCP9EPdSo62180B?= 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: 691eb17d-c700-4be9-ff91-08da62d9c90e X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Jul 2022 01:07:54.6662 (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: 0vP4i3w7HybCZ5NTOyE93Mprpf2XLXaj5Cw0HsadWZcjkPPc3t7AF0401ry09tV1STrEZ588KtvztCJJXRflNA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR11MB1745 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 -----Original Message----- From: Chen, Christine =20 Sent: Friday, July 8, 2022 1:45 PM To: devel@edk2.groups.io Cc: Feng, Bob C ; Gao, Liming Subject: [PATCH 1/1] BaseTools: remove directly calling for gcc command In some environment, the directly calling for gcc is not supported. Thus replace gcc to $(CC). Cc: Bob Feng Cc: Liming Gao Signed-off-by: Yuwei Chen --- BaseTools/Source/C/DevicePath/GNUmakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BaseTools/Source/C/DevicePath/GNUmakefile b/BaseTools/Source/C= /DevicePath/GNUmakefile index c217674345b1..f683efc5648a 100644 --- a/BaseTools/Source/C/DevicePath/GNUmakefile +++ b/BaseTools/Source/C/DevicePath/GNUmakefile @@ -13,7 +13,7 @@ OBJECTS =3D DevicePath.o UefiDevicePathLib.o DevicePathFr= omText.o DevicePathUtili =20 include $(MAKEROOT)/Makefiles/app.makefile =20 -GCCVERSION =3D $(shell gcc -dumpversion | awk -F'.' '{print $$1}') +GCCVERSION =3D $(shell $(CC) -dumpversion | awk -F'.' '{print $$1}') ifneq ("$(GCCVERSION)", "5") ifneq ($(CXX), llvm) # gcc 12 trips over device path handling --=20 2.27.0.windows.1