[LLVMbugs] [Bug 23793] New: cmake/clang: LLVM_LIBDIR_SUFFIX is not always correct for LLVMgold.so lookup

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Jun 9 03:37:22 PDT 2015


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

            Bug ID: 23793
           Summary: cmake/clang: LLVM_LIBDIR_SUFFIX is not always correct
                    for LLVMgold.so lookup
           Product: Build scripts
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: cmake
          Assignee: unassignedbugs at nondot.org
          Reporter: mgorny at gentoo.org
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

clang uses CLANG_LIBDIR_SUFFIX (which is forced to ${LLVM_LIBDIR_SUFFIX}) to
provide LLVMgold.so plugin path. This is not always correct, since
libClangDriver may be built for a different ABI than the system binutils.

In other words, 32-bit libClangDriver will pass:

  -plugin .../lib32/LLVMgold.so

while binutils expects:

  -plugin .../lib64/LLVMgold.so

Therefore, please make it possible to override libdir suffix for LLVMgold.so
path.

-- 
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/20150609/d2ea495f/attachment.html>


More information about the llvm-bugs mailing list