[llvm-bugs] [Bug 31425] New: libLTO.dylib dylib id regression (no longer @rpath-relative)

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Dec 18 22:39:26 PST 2016


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

            Bug ID: 31425
           Summary: libLTO.dylib dylib id regression (no longer
                    @rpath-relative)
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: jeremyhu at apple.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

The change from trunk r286059 to r290074 has changed the install names of
libLLVM.dylib, libclang.dylib, and libLTO.dylib to be absolute rather than
@rpath-relative.

I suspect it may have been intentional for libLLVM and libclang, but
libLTO.dylib should remain @rpath-relative such that we can have the linker
pick the correct one based on the toolchain being used.

$ otool -L /opt/local/libexec/llvm-devel/lib/libLTO.dylib 
/opt/local/libexec/llvm-devel/lib/libLTO.dylib:
    /opt/local/libexec/llvm-devel/lib/libLTO.dylib (compatibility version
1.0.0, current version 4.0.0)
    /opt/local/libexec/llvm-devel/lib/libLLVM.dylib (compatibility version
1.0.0, current version 4.0.0)
    /usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version
307.5.0)
    /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version
1238.50.2)

-- 
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/20161219/abadfba1/attachment.html>


More information about the llvm-bugs mailing list