<html>
    <head>
      <base href="http://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 --- - [powerpc/x86-darwin8] clang and llvm compile errors and failure to run because of @rpath library references"
   href="http://llvm.org/bugs/show_bug.cgi?id=22438">22438</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[powerpc/x86-darwin8] clang and llvm compile errors and failure to run because of @rpath library references
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </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>libclang
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>michael@weiser.dinsnail.net
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>klimek@google.com, llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=13799" name="attach_13799" title="conditionalize macro and @rpath usage">attachment 13799</a> <a href="attachment.cgi?id=13799&action=edit" title="conditionalize macro and @rpath usage">[details]</a></span>
conditionalize macro and @rpath usage

clang/llvm-3.5.1 and current trunk do not compile on powerpc-apple-darwin8
because they use some macros concerned with process management that don't
exist.

Also the binaries are linked with @rpath library references which dyld on
darwin8 does not support. An exception is already in Makefile.rules for
@executable_path.

The attached patch conditionalizes macro and @rpath usage. It is against 3.5.1
but also applies to trunk with acceptable offset.</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>