Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965248AbcCOJLp (ORCPT ); Tue, 15 Mar 2016 05:11:45 -0400 Received: from outbound.smtp.vt.edu ([198.82.183.121]:48271 "EHLO omr1.cc.vt.edu" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S965149AbcCOJLa convert rfc822-to-8bit (ORCPT ); Tue, 15 Mar 2016 05:11:30 -0400 To: Andrew Morton , Andrey Ryabinin , Andrey Konovalov cc: linux-kernel@vger.kernel.org, linux-mm@vger.kernel.org Subject: next-20160314 - KASAN breaks 'make C=2' build... From: Valdis Kletnieks MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <55371.1458033080.1@turing-police.cc.vt.edu> Content-Transfer-Encoding: 8BIT Date: Tue, 15 Mar 2016 05:11:20 -0400 Message-ID: <55372.1458033080@turing-police.cc.vt.edu> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1266 Lines: 36 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....