<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - libLTO.dylib dylib id regression (no longer @rpath-relative)"
   href="https://llvm.org/bugs/show_bug.cgi?id=31425">31425</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>libLTO.dylib dylib id regression (no longer @rpath-relative)
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>new-bugs
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>new bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>jeremyhu@apple.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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)</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>