Bug#708744: Debian patch uses wrong triple for arch-includes
Stephen Kelly
steveire at gmail.com
Sat May 18 09:44:28 UTC 2013
Package: clang
Version: 3.2-1~exp9ubuntu1
This patch seems to hardcode the host triple to be used for include paths:
http://anonscm.debian.org/viewvc/pkg-llvm/clang/trunk/debian/patches/21-searchPathHeaders.diff?view=markup
<http://anonscm.debian.org/viewvc/pkg-llvm/clang/trunk/debian/patches/21-searchPathHeaders.diff?view=markup>
This causes the mixed triple noted here:
http://thread.gmane.org/gmane.comp.compilers.clang.devel/28960/focus=29455
<http://thread.gmane.org/gmane.comp.compilers.clang.devel/28960/focus=29455>
$ clang -v -target arm-linux-gnueabihf --sysroot
/home/stephen/rpi/rasp-pi -c main.c
ignoring nonexistent directory
"/home/stephen/rpi/rasp-pi/usr/include/x86_64-linux-gnu"
ignoring nonexistent directory
"/home/stephen/rpi/rasp-pi/usr/include/x86_64-linux-gnu"
I notice
http://anonscm.debian.org/viewvc/pkg-llvm/clang/trunk/debian/patches/24-path-multiarch.diff?revision=512&view=markup
<http://anonscm.debian.org/viewvc/pkg-llvm/clang/trunk/debian/patches/24-path-multiarch.diff?revision=512&view=markup>
is somewhat similar, but I don't know enough about the clang code or the
patches to know the solution here.
https://bugs.launchpad.net/ubuntu/+source/clang/+bug/1181493
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-llvm-team/attachments/20130518/5466437b/attachment-0001.html>
More information about the Pkg-llvm-team
mailing list