<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    I just filed a bug against eglibc in Debian to address this issue
    and seeing as how FreeBSD is becoming a first class platform for
    Debian besides Linux it makes sense that Clang/LLVM gets the same
    treatment of ease of building that GCC does in Debian Proper.<br>
    <br>
    - Marc<br>
    <br>
    On 08/24/2011 08:57 PM, Marc J. Driftmeyer wrote:
    <blockquote cite="mid:4E55C81B.1010402@reanimality.com" type="cite">
      <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
      Seeing as GCC 4.6 works without breaking to build LLVM instead of
      Clang I think I'm going to bug the Debian proper to make it easier
      for Clang/LLVM to get the linker update changes. After all,
      Debian's breaking an awful lot of stuff lately so it seems
      reasonable for them to add this to their To Do List.<br>
      <br>
      - Marc<br>
      <br>
      On 08/24/2011 07:15 PM, Eli Friedman wrote:
      <blockquote
cite="mid:CAJdarcGJx_itXh8BUSXBLAbG62tRAoMfEx3SaBz1VyFcfVifGA@mail.gmail.com"
        type="cite">
        <pre wrap="">On Wed, Aug 24, 2011 at 6:36 PM, Marc J. Driftmeyer <a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:mjd@reanimality.com"><mjd@reanimality.com></a> wrote:
</pre>
        <blockquote type="cite">
          <pre wrap="">I've got a simple workaround which obviously everyone will figure out:

mdriftmeyer@horus:/usr/lib$ sudo ln -s x86_64-linux-gnu/crti.o crti.o
mdriftmeyer@horus:/usr/lib$ sudo ln -s x86_64-linux-gnu/crt1.o crt1.o
mdriftmeyer@horus:/usr/lib$ sudo ln -s x86_64-linux-gnu/crtn.o crtn.o

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.
</pre>
        </blockquote>
        <pre wrap="">clang currently has some extremely ugly hacks to figure out how to
link a program under Linux, and they tend to frequently break; see
lib/Driver/ToolChains.cpp in clang.  I think there's been some
discussion of trying to do something more sane, but nobody has stepped
up to do the work.

-Eli
</pre>
      </blockquote>
      <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>