<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Debian's response I enclose to see if this helps out:<br>
    <br>
    <blockquote type="cite">
      <div class="moz-text-plain" wrap="true" style="font-family:
        -moz-fixed; font-size: 12px;" lang="x-western">
        <pre wrap="">reassign 639214 general
forcemerge 637232 639214
quit

Hi Marc,

Marc J. Driftmeyer wrote:

</pre>
        <blockquote type="cite" style="color: #000000;">
          <pre wrap="">With the most recent changes of moving the object files under
<i class="moz-txt-slash"><span class="moz-txt-tag">/</span>usr/lib/x86_64-linux-gnu<span class="moz-txt-tag">/</span></i> the linker to build Clang/LLVM breaks.

A workaround is to add symlinks for crt1.o, crti.o and crtn.o back
under /usr/lib.
</pre>
        </blockquote>
        <pre wrap="">From /usr/share/doc/libc6/NEWS.Debian.gz:

  Starting with the eglibc package version 2.13-5, the libraries are
  shipped in the multiarch directory <i class="moz-txt-slash"><span class="moz-txt-tag">/</span>lib<span class="moz-txt-tag">/</span></i>$arch instead of the more
  traditional /lib. Similarly the includes are now shipped in
  <i class="moz-txt-slash"><span class="moz-txt-tag">/</span>usr/include<span class="moz-txt-tag">/</span></i>$arch instead of the more traditional /usr/include.

  The toolchain in Debian has been updated to cope with that, and most
  build systems should be unaffected. If you are using a non-Debian
  toolchain to build your software and it is not able to cope with
  multiarch, you might try to pass the following option to your
  compiler:

    -B/usr/lib/$arch -I/usr/include/$arch

Does clang support similar options?

See also <a class="moz-txt-link-freetext" href="http://llvm.org/bugs/show_bug.cgi?id=6541">http://llvm.org/bugs/show_bug.cgi?id=6541</a> which suggests to
me that upstream is interested in out-of-the-box support for the new
paths.

Reassigning to "general" and merging with the relevant bug, since this
is far from a libc-specific problem.  See [1] for some background.

Thanks and hope that helps,
Jonathan

[1] <a class="moz-txt-link-freetext" href="http://wiki.debian.org/Multiarch">http://wiki.debian.org/Multiarch</a>
</pre>
      </div>
    </blockquote>
    <br>
    - Marc<br>
    <br>
    <br>
    <br>
    On 08/24/2011 06:36 PM, Marc J. Driftmeyer wrote:
    <blockquote cite="mid:4E55A72B.6010208@reanimality.com" type="cite">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      I've got a simple workaround which obviously everyone will figure
      out:<br>
      <br>
      mdriftmeyer@horus:/usr/lib$ sudo ln -s x86_64-linux-gnu/crti.o
      crti.o<br>
      mdriftmeyer@horus:/usr/lib$ sudo ln -s x86_64-linux-gnu/crt1.o
      crt1.o<br>
      mdriftmeyer@horus:/usr/lib$ sudo ln -s x86_64-linux-gnu/crtn.o
      crtn.o<br>
      <br>
      My real question concerns whether or not I should file a bug
      report against Debian not having a transition path or other means
      in Debian's update-alternatives infrastructure to update those
      paths and make them available system-wide or whether LLVM needs to
      be aware of this move and update autotools configurations files
      for make to traverse.<br>
      <br>
      - Sincerely,<br>
      <br>
      Marc<br>
      <br>
      <div class="moz-signature">-- <br>
        Marc J. Driftmeyer<br>
        Email :: <a moz-do-not-send="true"
          href="mailto:mjd@reanimality.com">mjd@reanimality.com</a><br>
        Web :: <a moz-do-not-send="true"
          href="http://www.reanimality.com">http://www.reanimality.com</a><br>
        Cell :: (509) 435-5212 </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
LLVM Developers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a class="moz-txt-link-freetext" href="http://llvm.cs.uiuc.edu">http://llvm.cs.uiuc.edu</a>
<a class="moz-txt-link-freetext" href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a>
</pre>
    </blockquote>
    <br>
    <div class="moz-signature">-- <br>
      Marc J. Driftmeyer<br>
      Email :: <a href="mailto:mjd@reanimality.com">mjd@reanimality.com</a><br>
      Web :: <a href="http://www.reanimality.com">http://www.reanimality.com</a><br>
      Cell :: (509) 435-5212
    </div>
  </body>
</html>