<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
I'll be thrilled if this resolves issues on Debian.<br>
<br>
- Marc<br>
<br>
On 10/02/2011 01:54 AM, Chandler Carruth wrote:
<blockquote
cite="mid:CAGCO0KgpXC4n2pYgf8V6SrmaPAhuFEixLG-FHKz97dTY-AgNFA@mail.gmail.com"
type="cite">Hello folks,
<div><br>
</div>
<div>I'd like to change the way that Clang's driver computes the
library search paths on Linux. The current system is very
ad-hoc, and does not match the reality of what GCC does. As
Clang's driver strives for GCC compatibility, I'd like to
address this by modeling the GCC behavior is closely as
possible. I have attached a patch which does exactly this. To
the best of my ability to test a trunk-built GCC through
manipulating a fake filesystem's directory structure, this patch
will make Clang search the same set of directories as GCC would.
It also simplifies the logic significantly, and makes it less
brittle in its assumptions about the underlying filesystem
layout.</div>
<div><br>
</div>
<div>Unless I hear objections, I plan to commit this as it in
every way I can test it makes Clang's driver strictly more
compatible with GCC, and makes it possible to fix several bugs
when using Clang as part of a multilib cross-compiling
toolchain. If there are specific distros which need special
behavior, we should add that predicated on the distribution.</div>
<div><br>
</div>
<div>Rafael, I CC-ed you because I know you've worked hard on this
before, and may have a large number of distributions installed
on VMs. If you can test Clang with this patch (or after I commit
it) and report places where the behavior doesn't match GCC's
that would be very helpful.</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
cfe-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a>
<a class="moz-txt-link-freetext" href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</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>