[llvm-bugs] [Bug 25059] New: CMake libllvm.so.$MAJOR.$MINOR shared object name not compatible with ldconfig

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Oct 5 08:08:18 PDT 2015


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

            Bug ID: 25059
           Summary: CMake libllvm.so.$MAJOR.$MINOR shared object name not
                    compatible with ldconfig
           Product: Build scripts
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: cmake
          Assignee: unassignedbugs at nondot.org
          Reporter: tstellar at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

CMake's llvm shared object is called: libllvm.so.$MAJOR.$MINOR

ldconfig assumes that shared objects with the same major version have
compatible ABIs, which is not true for LLVM when including the C++ symbols in
the shared object.

One possible solutions is to use the same shared object name that autoconf
does:
libLLVM-$MAJOR-$MINOR.so

-- 
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/20151005/15d6e584/attachment-0001.html>


More information about the llvm-bugs mailing list