[llvm-bugs] [Bug 36660] New: libxml2 missing from --system-libs when libxml2 is enabled

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Mar 9 03:36:59 PST 2018


https://bugs.llvm.org/show_bug.cgi?id=36660

            Bug ID: 36660
           Summary: libxml2 missing from --system-libs when libxml2 is
                    enabled
           Product: tools
           Version: 6.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: llvm-config
          Assignee: unassignedbugs at nondot.org
          Reporter: taricorp at gmail.com
                CC: llvm-bugs at lists.llvm.org

Compiled LLVM 6.0.0 with default options for my system but only the X86 target
enabled, which turns on LLVM_ENABLE_LIBXML2 because I have libxml2 installed.
When linking against the resulting binaries, I get a lot of unresolved symbols
that match ones exported by -lxml2.

llvm-config --link-static --system-libs returns `-lz -lrt -ldl -ltinfo
-lpthread -lm`. I believe it should also include -lxml2.

I tried to investigate further myself, but didn't get far enough into what
llvm-config does internally to figure out where the --system-libs are
specified.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180309/eb35881c/attachment-0001.html>


More information about the llvm-bugs mailing list