http://llvm.org/bugs/show_bug.cgi?id=22656

            Bug ID: 22656
           Summary: find_package in cmake doesn't work correctly with
                    multilib
           Product: Build scripts
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: cmake
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

GCC on my machine supports i386, x86-64 and x32.  But I only x86-64
version of libxml2 installed. When building for i386 clang with
"gcc -m32", find_package in cmake thinks I have i386 libxml2:

- Found LibXml2: /usr/lib64/libxml2.so (found version "2.9.1") 

and build fails.  autoconf works fine:

checking for xml2-config... xml2-config
checking for libxml2 includes... -I/usr/include/libxml2
checking for xmlReadFile in -lxml2... no

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to