[xml/sgml-pkgs] Bug#1105190: libxml2: FIX build with lld

YunQiang Su wzssyqa at gmail.com
Tue May 13 05:36:07 BST 2025


Package: src:libxml2
Version: 2.12.7+dfsg+really2.9.14-0.4

We don't enable SAX1, so there are no docb* symbols.
And xmlDllMain is for win32 only.

LLVM ld emits errors for this case.

--- libxml2.syms        2022-05-02 10:52:42.000000000 +0000
+++ libxml2.syms.new    2025-05-13 04:33:03.767726857 +0000
@@ -452,18 +452,6 @@
   xmlNanoFTPScanProxy;
   xmlNanoFTPUpdateURL;

-# DOCBparser
-  docbCreateFileParserCtxt;
-  docbCreatePushParserCtxt;
-  docbEncodeEntities;
-  docbFreeParserCtxt;
-  docbParseChunk;
-  docbParseDoc;
-  docbParseDocument;
-  docbParseFile;
-  docbSAXParseDoc;
-  docbSAXParseFile;
-
 # xpath
   xmlXPathCastBooleanToNumber;
   xmlXPathCastBooleanToString;
@@ -2186,8 +2174,6 @@
 LIBXML2_2.6.29 {
     global:

-# threads
-  xmlDllMain;
 } LIBXML2_2.6.28;

 LIBXML2_2.6.32 {

-- 
YunQiang Su



More information about the debian-xml-sgml-pkgs mailing list