Public bug reported:

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

This causes the mixed triple noted here:

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

is somewhat similar, but I don't know enough about the clang code or the
patches to know the solution here.

** Affects: clang (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1181493

Title:
  debian patch uses wrong triple for arch-includes

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/clang/+bug/1181493/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to