From nobody Mon Feb 9 16:45:08 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+102970+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+102970+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1681459378; cv=none; d=zohomail.com; s=zohoarc; b=NIM5oJSnvNBOeASz/av3twzsfUUC2v/uD3C45hgap/srnnqSGQn4N8rQwQJAcxRdNhVr9sgshdKMw2BcwLbRa8KlKVzPpqPOcXvhghy38o0ncOS5CT2juWmqdqLj42VV+KSMnmo1dFmcKB6PusYQN3Aqb4EmaOtrUfP4MusXFPg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1681459378; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=6drqrLmS6NHmHC21gKG36TndtenICh4uT9QtuwH/HSY=; b=G99KBy20vqH/CVHRu3e1Q9IuCQBxk3ThDMSpyzR3W+0FbM6tieWOonIkjXPjZbtsf1WTfKi/i0Mg5EQKf4a3Zi0pVieLsADb029Q5QUoD6cfDHdjYRKjcgD37yCJKMOOhHgf9mvLBTGLezYYRU2vUb14hhnN9dWAj0yrq78mLWo= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+102970+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1681459378269262.5253323117098; Fri, 14 Apr 2023 01:02:58 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id UoagYY1788612xXIALnYkJI7; Fri, 14 Apr 2023 01:02:57 -0700 X-Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.groups.io with SMTP id smtpd.web10.4028.1681459376880634905 for ; Fri, 14 Apr 2023 01:02:57 -0700 X-Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-297-O59u3ltPM5Svhw6gZ50xug-1; Fri, 14 Apr 2023 04:02:54 -0400 X-MC-Unique: O59u3ltPM5Svhw6gZ50xug-1 X-Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 17CF5101A553; Fri, 14 Apr 2023 08:02:54 +0000 (UTC) X-Received: from sirius.home.kraxel.org (unknown [10.39.192.81]) by smtp.corp.redhat.com (Postfix) with ESMTPS id D09171121320; Fri, 14 Apr 2023 08:02:53 +0000 (UTC) X-Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id A5C9418000A3; Fri, 14 Apr 2023 10:02:50 +0200 (CEST) From: "Gerd Hoffmann" To: devel@edk2.groups.io Cc: Pawel Polawski , Dongyan Qian , Sunil V L , Baoqi Zhang , Chao Li , Rebecca Cran , Ard Biesheuvel , Zhiguang Liu , Liming Gao , Yuwei Chen , =?UTF-8?q?Marvin=20H=C3=A4user?= , Leif Lindholm , Michael D Kinney , Daniel Schaefer , Bob Feng , Oliver Steffen , Gerd Hoffmann Subject: [edk2-devel] [PATCH v4 02/10] MdePkg: don't set visibility to hidden for BaseTools Date: Fri, 14 Apr 2023 10:02:42 +0200 Message-Id: <20230414080250.1357004-3-kraxel@redhat.com> In-Reply-To: <20230414080250.1357004-1-kraxel@redhat.com> References: <20230414080250.1357004-1-kraxel@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.3 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: 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,kraxel@redhat.com X-Gm-Message-State: WQiyQRZkTnGnp7DYVVxlbtM1x1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1681459377; bh=F5yVBezrywY5EgYiN4huNbKSDJDR0XEdWwnbB9ICRvw=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=eMpoh2w/P+Ba0OYcnF7YXBJ7hg4U0bMkKLo2GaKn5YcjmaiPR9vRvnsoQD0SgknVRdL Ujb1lMcRhzqu36lkS2eHpCOa2Cj0ZPsFeQ8+ENZMAWIZIbEgla8YNghiM9xscAfqq1ZjI Yj8wOEm10oB/z7Wg667Z0/TdtPSyOvAZEJo= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1681459379626100003 Content-Type: text/plain; charset="utf-8"; x-default="true" Setting visibility to hidden can cause linker errors when BaseTools are linked against standard libraries. Signed-off-by: Gerd Hoffmann --- MdePkg/Include/X64/ProcessorBind.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MdePkg/Include/X64/ProcessorBind.h b/MdePkg/Include/X64/Proces= sorBind.h index f0a4d00142b9..98673456aad0 100644 --- a/MdePkg/Include/X64/ProcessorBind.h +++ b/MdePkg/Include/X64/ProcessorBind.h @@ -21,7 +21,7 @@ #pragma pack() #endif =20 -#if defined (__GNUC__) && defined (__pic__) && !defined (USING_LTO) && !d= efined (__APPLE__) +#if defined (__GNUC__) && defined (__pic__) && !defined (BASETOOLS) && !de= fined (USING_LTO) && !defined (__APPLE__) // // Mark all symbol declarations and references as hidden, meaning they will // not be subject to symbol preemption. This allows the compiler to refer = to --=20 2.39.2 -=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 (#102970): https://edk2.groups.io/g/devel/message/102970 Mute This Topic: https://groups.io/mt/98257894/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-