From nobody Tue Feb 10 12:39:25 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+39386+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+39386+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1555986913; cv=none; d=zoho.com; s=zohoarc; b=H+bplvfOIKCf5YsfTrq2sfFqjHx/icGs9ElkV1i2c5gg8FUTltoSJL5mYzBldhL8jWaHTmk3HRxRh26GT80rThxQDKomgkTui3T+9K5UmeAKMB7v/R1OOPL4CMzbbD/xQ+7f3ep9qdnyfujqurXGFVy7oiq0Q/ankqM92mBTpaw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1555986913; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To:ARC-Authentication-Results; bh=1h4u3ImLEoExhvVlvoum8Uj3O7GVhXMYRLSu+3vxkwc=; b=aX/zPNrhDV8wS5p97uBdZ60i0C+iW97LPxW8HCt7fpcabDQrT3fb7aJErngdYcm7vYiB7D3Npk1ongk+9R+7vg9NT1ej9eVPKeL9M7/2njpwMDykhkQZC6BmjhYR5mvAGbPCoFu69Xk7FTpyZCUsR9nZSSmRg4dfwVYJoDiiuis= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+39386+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1555986913216189.77825299756444; Mon, 22 Apr 2019 19:35:13 -0700 (PDT) Return-Path: X-Received: from mga01.intel.com (mga01.intel.com []) by groups.io with SMTP; Mon, 22 Apr 2019 19:35:12 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 22 Apr 2019 19:35:12 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,384,1549958400"; d="scan'208";a="144995759" X-Received: from fieedk001.ccr.corp.intel.com ([10.239.33.119]) by fmsmga007.fm.intel.com with ESMTP; 22 Apr 2019 19:35:11 -0700 From: "Gao, Zhichao" To: devel@edk2.groups.io Cc: Michael D Kinney , Liming Gao , Dandan Bi Subject: [edk2-devel] [PATCH 2/3] MdePkg/UefiDebugLibStdErr: Change the global variable name Date: Tue, 23 Apr 2019 10:35:06 +0800 Message-Id: <20190423023507.16952-3-zhichao.gao@intel.com> In-Reply-To: <20190423023507.16952-1-zhichao.gao@intel.com> References: <20190423023507.16952-1-zhichao.gao@intel.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,zhichao.gao@intel.com Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1555986912; bh=oT6RHm2gAX7qug1b+zOYC9aLlZH2gvvdAgexFAID4H8=; h=Cc:Date:From:Reply-To:Subject:To; b=VBasjormjaGaNiwYy81vs2hVoaecSTHy4PVrnDWBMOQLycROluubTNzWgslN0c3UHSY VB3jZyCz/ei0pWsi1Eh/zBtZWI2lLN0hq4zw2Pea5RWlvZtawj6l8ArA8ifr8Ah9JT9vz cguOVUyMDbJfVQywgctnCLBGRz7+EIrCqNA= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D1740 The DebugLib instances of StdErr use a global variable "mExitBootServicesEvent" which is in conflict with the same variable in StatusCodeHandlerRuntimeDxe.inf. That would cause a build error through GCC5. So change the name to the "mDebugLibExitBootServicesEvent". Cc: Michael D Kinney Cc: Liming Gao Cc: Dandan Bi Signed-off-by: Zhichao Gao --- MdePkg/Library/UefiDebugLibStdErr/DebugLibConstructor.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MdePkg/Library/UefiDebugLibStdErr/DebugLibConstructor.c b/MdeP= kg/Library/UefiDebugLibStdErr/DebugLibConstructor.c index d4fdfbab55..11b21cf0cc 100644 --- a/MdePkg/Library/UefiDebugLibStdErr/DebugLibConstructor.c +++ b/MdePkg/Library/UefiDebugLibStdErr/DebugLibConstructor.c @@ -17,7 +17,7 @@ // BOOLEAN mPostEBS =3D FALSE; =20 -EFI_EVENT mExitBootServicesEvent; +EFI_EVENT mDebugLibExitBootServicesEvent; =20 // // Pointer to SystemTable @@ -70,7 +70,7 @@ DxeDebugLibConstructor( ExitBootServicesCallback, NULL, &gEfiEventExitBootServicesGuid, - &mExitBootServicesEvent + &mDebugLibExitBootServicesEvent ); =20 return EFI_SUCCESS; --=20 2.21.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#39386): https://edk2.groups.io/g/devel/message/39386 Mute This Topic: https://groups.io/mt/31305236/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-