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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to