debian patch uses wrong triple for arch-includes

Bug #1181493 reported by Steveire
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
clang (Ubuntu)
New
Undecided
Unassigned

Bug Description

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.

Revision history for this message
Sylvestre Ledru (sylvestre) wrote :

The patch 24 is not applied anymore.
So, the issue would be coming from an other place.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.