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 It used to work great, but it now spits errors such as: error: bad value (arm7tdmi) for -mtune= switch (this comes from my cross-compilation related CFLAGS) I traced the problem to the following test which was added in ccc-analyzer: if (..... || ! -x $Compiler) Problem is that -x does not lookup into $PATH and thus it fails to find my arm-none-eabi-gcc executable and silently defaults back to native gcc. If I give the full path with --use-cc=/opt/x-tools/bin/arm-none-eabi-gcc then scan-build works again. If I remove the -x $Compiler check it also works. I suggest that ccc-analyzer should do a full $PATH search on $Compiler instead of a simple -x check. Regards. Aurélien Jacobs -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org