Bug#729933: clang-3.4: multiarch include path incorrect when cross-compiling
Sylvestre Ledru
sylvestre at debian.org
Sun Dec 1 14:11:02 UTC 2013
On 01/12/2013 02:38, Shawn Landden wrote:
> On Fri, Nov 29, 2013 at 2:48 AM, Sylvestre Ledru <sylvestre at debian.org> wrote:
>> Hello,
>>> and for this package, upgrade to latest HEAD.
>>>
>> What you mean ?
>>
>> LLVM/Clang have branched for the 3.4 release
> Oh, I didn't know that. I did not find the patch that fixed this with
> a quick glance through git.
>
OK. I found the issue.
During the build, we are setting some flags (there are there for a long
while).
../configure
--with-c-include-dirs=/usr/include/i386-linux-gnu:/usr/include/i486-linux-gnu:/usr/include
--with-cxx-include-root=/usr/include/c++/4.8
--with-cxx-include-arch=i486-linux-gnu
--with-cxx-include-64bit-dir=64
Anyway, removing them allows the automatic detections of the headers and fix your issue.
I will upload a new version today or tomorrow.
Sylvestre
More information about the Pkg-llvm-team
mailing list