On Fri, Sep 04, 2009 at 01:15:40PM -0400, Jeff Moyer wrote:
> I added a path to the clang bin/ dir, and copied scan-build to
my ~/bin
> and then ran with 'make defconfig ; scan-build -o clang make bzImage'
>
> Am I missing something obvious ?
It may be that the kernel defines $(CC) to gcc, at which point you
lose. Try doing a make with CC=/path/to/ccc-analyzer.
That was exactly it. Nice.
Dave