Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1357935
| From | Andrey Ryabinin <ryabinin.a.a@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: next-20160314 - KASAN breaks 'make C=2' build... |
| Date | 2016-03-15 10:30 +0100 |
| Message-ID | <rcTsB-72-3@gated-at.bofh.it> (permalink) |
| References | <rcTiX-8vj-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
2016-03-15 12:11 GMT+03:00 Valdis Kletnieks <Valdis.Kletnieks@vt.edu>:
> This config breaks sparse:
>
> grep KASAN .config
> CONFIG_KASAN_SHADOW_OFFSET=0xdffffc0000000000
> CONFIG_HAVE_ARCH_KASAN=y
> CONFIG_KASAN=y
> # CONFIG_KASAN_OUTLINE is not set
> CONFIG_KASAN_INLINE=y
> CONFIG_TEST_KASAN=m
>
> LANG=C make C=2
> CHK include/config/kernel.release
> CHK include/generated/uapi/linux/version.h
> CHK include/generated/utsrelease.h
> CHK include/generated/bounds.h
> CHK include/generated/timeconst.h
> CHK include/generated/asm-offsets.h
> CALL scripts/checksyscalls.sh
> DESCEND objtool
> CHECK scripts/mod/empty.c
> No such file: asan-stack=1
> scripts/Makefile.build:291: recipe for target 'scripts/mod/empty.o' failed
> make[2]: *** [scripts/mod/empty.o] Error 1
> scripts/Makefile.build:440: recipe for target 'scripts/mod' failed
> make[1]: *** [scripts/mod] Error 2
> Makefile:552: recipe for target 'scripts' failed
> make: *** [scripts] Error 2
>
> Looks like it's this chunk from scripts/Makefile.kasan:
>
> CFLAGS_KASAN := $(call cc-option, -fsanitize=kernel-address
> -fasan-shadow-offset=$(KASAN_SHADOW_OFFSET)
> --param asan-stack=1 --param asan-globals=1
> --param asan-instrumentation-with-call-threshold=$(call_threshold))
>
> 4AM is a bad time to figure out who's to blame here....
Update your sparse please. Make sure it has d917662d54ba ("lib.c: skip
--param parameters").
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
next-20160314 - KASAN breaks 'make C=2' build... Valdis Kletnieks <Valdis.Kletnieks@vt.edu> - 2016-03-15 10:20 +0100
Re: next-20160314 - KASAN breaks 'make C=2' build... Andrey Ryabinin <ryabinin.a.a@gmail.com> - 2016-03-15 10:30 +0100
Re: next-20160314 - KASAN breaks 'make C=2' build... Valdis.Kletnieks@vt.edu - 2016-03-15 12:20 +0100
Re: next-20160314 - KASAN breaks 'make C=2' build... Christopher Li <sparse@chrisli.org> - 2016-03-15 12:40 +0100
csiph-web