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 <rebe...@nuviainc.com>
Signed-off-by: Michael D Kinney <michael.d.kin...@intel.com>
---
 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



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#79530): https://edk2.groups.io/g/devel/message/79530
Mute This Topic: https://groups.io/mt/84983168/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to