<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Package: clang<br>
Version: 3.2-1~exp9ubuntu1<br>
<br>
<div id="yui_3_9_1_1_1368869670773_190"
class="yui3-editable_text-text">
<p>This patch seems to hardcode the host triple to be used for
include paths:</p>
<p> <a rel="nofollow"
href="http://anonscm.debian.org/viewvc/pkg-llvm/clang/trunk/debian/patches/21-searchPathHeaders.diff?view=markup">http://<wbr>anonscm.<wbr>debian.<wbr>org/viewvc/<wbr>pkg-llvm/<wbr>clang/trunk/<wbr>debian/<wbr>patches/<wbr>21-searchPathHe<wbr>aders.diff?<wbr>view=markup</a></p>
<p>This causes the mixed triple noted here:</p>
<p> <a rel="nofollow"
href="http://thread.gmane.org/gmane.comp.compilers.clang.devel/28960/focus=29455">http://<wbr>thread.<wbr>gmane.org/<wbr>gmane.comp.<wbr>compilers.<wbr>clang.devel/<wbr>28960/focus=<wbr>29455</a></p>
<p>$ clang -v -target arm-linux-gnueabihf --sysroot /home/stephen/<wbr>rpi/rasp-<wbr>pi
-c main.c<br>
ignoring nonexistent directory "/home/<wbr>stephen/<wbr>rpi/rasp-<wbr>pi/usr/<wbr>include/<wbr>x86_64-<wbr>linux-gnu"<br>
ignoring nonexistent directory "/home/<wbr>stephen/<wbr>rpi/rasp-<wbr>pi/usr/<wbr>include/<wbr>x86_64-<wbr>linux-gnu"</p>
<p>I notice</p>
<p> <a rel="nofollow"
href="http://anonscm.debian.org/viewvc/pkg-llvm/clang/trunk/debian/patches/24-path-multiarch.diff?revision=512&view=markup">http://<wbr>anonscm.<wbr>debian.<wbr>org/viewvc/<wbr>pkg-llvm/<wbr>clang/trunk/<wbr>debian/<wbr>patches/<wbr>24-path-<wbr>multiarch.<wbr>diff?revision=<wbr>512&view=<wbr>markup</a></p>
<p>is somewhat similar, but I don't know enough about the clang
code or the patches to know the solution here.<br>
</p>
<p><a class="moz-txt-link-freetext" href="https://bugs.launchpad.net/ubuntu/+source/clang/+bug/1181493">https://bugs.launchpad.net/ubuntu/+source/clang/+bug/1181493</a><br>
</p>
<p><br>
</p>
</div>
<br>
</body>
</html>