Re: Build breakage for allmodconfig
From: Andrey Ryabinin
Date: Tue Feb 10 2015 - 03:04:46 EST
On 02/09/2015 09:12 PM, Lad, Prabhakar wrote:
> Hi Andrey,
>
> There is build breakage for allmodconfig with commit id "kasan: enable
> instrumentation of global variables"
> f39182cbcd0122ad2c943317b5f07eba91b2cfe5 on linux-next.
>
> scripts/kconfig/conf --silentoldconfig Kconfig
> scripts/Makefile.kasan:20: CONFIG_KASAN: compiler does not support all
> options. Trying minimal configuration
> SYSTBL arch/x86/syscalls/../include/generated/asm/syscalls_32.h
> SYSHDR arch/x86/syscalls/../include/generated/asm/unistd_32_ia32.h
> SYSHDR arch/x86/syscalls/../include/generated/asm/unistd_64_x32.h
> SYSTBL arch/x86/syscalls/../include/generated/asm/syscalls_64.h
> SYSHDR arch/x86/syscalls/../include/generated/uapi/asm/unistd_32.h
> SYSHDR arch/x86/syscalls/../include/generated/uapi/asm/unistd_64.h
> SYSHDR arch/x86/syscalls/../include/generated/uapi/asm/unistd_x32.h
> HOSTCC scripts/basic/bin2c
> HOSTCC arch/x86/tools/relocs_32.o
> HOSTCC arch/x86/tools/relocs_64.o
> HOSTCC arch/x86/tools/relocs_common.o
> HOSTLD arch/x86/tools/relocs
> CHK include/config/kernel.release
> UPD include/config/kernel.release
> WRAP arch/x86/include/generated/asm/clkdev.h
> WRAP arch/x86/include/generated/asm/cputime.h
> WRAP arch/x86/include/generated/asm/dma-contiguous.h
> WRAP arch/x86/include/generated/asm/early_ioremap.h
> WRAP arch/x86/include/generated/asm/mcs_spinlock.h
> WRAP arch/x86/include/generated/asm/scatterlist.h
> CHK include/generated/uapi/linux/version.h
> UPD include/generated/uapi/linux/version.h
> CHK include/generated/utsrelease.h
> UPD include/generated/utsrelease.h
> CHECK arch/x86/purgatory/purgatory.c
> No such file: asan-globals=1
> make[1]: *** [arch/x86/purgatory/purgatory.o] Error 1
> make: *** [archprepare] Error 2
>
> Note: this is observed only when sparse is enabled.
>
This is a sparse bug. Fixed in d917662d54ba("lib.c: skip --param parameters").
https://git.kernel.org/cgit/devel/sparse/sparse.git/commit/?id=d917662d54ba68d0c3b03e994cb1fa66d7b19c30
> Regards,
> --Prabhakar Lad
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/