From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mx.groups.io with SMTP id smtpd.web11.60892.1629322153149246507 for ; Wed, 18 Aug 2021 14:29:14 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 134.134.136.31, mailfrom: michael.d.kinney@intel.com) X-IronPort-AV: E=McAfee;i="6200,9189,10080"; a="277454601" X-IronPort-AV: E=Sophos;i="5.84,332,1620716400"; d="scan'208";a="277454601" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Aug 2021 14:29:12 -0700 X-IronPort-AV: E=Sophos;i="5.84,332,1620716400"; d="scan'208";a="521240166" Received: from nsin-mobl.amr.corp.intel.com (HELO mdkinney-MOBL2.amr.corp.intel.com) ([10.212.191.175]) by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Aug 2021 14:29:12 -0700 From: "Michael D Kinney" To: devel@edk2.groups.io Cc: Rebecca Cran Subject: [edk2-libc Patch V2 3/9] StdLib: Remove SocketDxe from build Date: Wed, 18 Aug 2021 14:28:53 -0700 Message-Id: <20210818212859.260-4-michael.d.kinney@intel.com> X-Mailer: git-send-email 2.32.0.windows.1 In-Reply-To: <20210818212859.260-1-michael.d.kinney@intel.com> References: <20210818212859.260-1-michael.d.kinney@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3549 SocketDxe generates build failures with VS2017 and VS2019 due to use of weak references and /WHOLEARCHIVE. Disable SocketDxe until weak references can be removed. Cc: Rebecca Cran Signed-off-by: Michael D Kinney --- StdLib/StdLib.inc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/StdLib/StdLib.inc b/StdLib/StdLib.inc index d0a0c8a..814bdbc 100644 --- a/StdLib/StdLib.inc +++ b/StdLib/StdLib.inc @@ -99,7 +99,11 @@ ########## # Socket Layer ########## - StdLib/SocketDxe/SocketDxe.inf +# +# Disable SocketDxe.inf due to conflict between use of weak symbols +# and /WHOLEARCHIVE linker option. +# +# StdLib/SocketDxe/SocketDxe.inf ############################################################################## -- 2.32.0.windows.1