Bug#748777: clang-3.4: scan-build --use-cc broken

Sylvestre Ledru sylvestre at debian.org
Mon Jun 23 00:14:44 UTC 2014


On 22/06/2014 15:27, Aurelien Jacobs wrote:
> On Sun, Jun 22, 2014 at 08:54:24AM -0700, Sylvestre Ledru wrote:
>> On 20/05/2014 09:58, Aurelien Jacobs wrote:
>>> Package: clang-3.4
>>> Version: 1:3.4.1-3
>>>
>>> Dear Maintainer,
>>>
>>> scan-build stopped working for me since you added the following patch in
>>> version 1:3.4.1-1:
>>>   scan-build-fix-clang-detection.diff
>>>
>>> I use scan-build in a cross-compilation environement so I call it
>>> with --use-cc:
>>>   scan-build --use-cc=arm-none-eabi-gcc -o out make -e
>>>
>> The attached patch seems to fix it.
>>
>> If you are happy about it, let me know and I will push that upstream too.
> Great ! Well, it works for me (not using c++), but I think there is a
> small mistake in the CXX compiler check, where you used a || instead of
> a &&. It also seems more logical to me with parenthesis around the &&
> part of the check. I'm not sure I'm really clear, so attached is a very
> slightly modified version of your patch, which I tested as well and
> which works fine for me.
Right. Thanks!

Sylvestre



More information about the Pkg-llvm-team mailing list