From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EEFE93542F6 for ; Wed, 17 Jun 2026 07:48:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=90.155.50.34 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781682518; cv=none; b=nD0JMAxkX6+Z9iruJqsPF8wCzBeENL9hxk0VjUCVqZyrNy7eu2G8QL87F80CS8vzx0X2jV26Q2zIR1O+krGQaU4XFfh0r9iEGRbo+5gllDja9NmGTdbO+p0bq5vUv3oreSNbnOaznBiU5KxSAtGA8v4Yq7f7/eFabwZnz0IEPv0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781682518; c=relaxed/simple; bh=2RlzDAkObVKAcM8NS7opkHMmTfuKuRSQriNtQM+wj5U=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=JCUjDW/vvfJ8qZG95eyxKQ3wUadL7lnhtbmnWl8A6jjwR3AWl+G4950NI9CNeRwg9oH+d8hxbUIeAEtsLVVW66k5rG5//uCydhdRsyK3R//7qNFecDCSIO+TMGs7GKVQJFuiOmpvjR03upTG2fHcumN12AK3Euc6Z0NcpXjis0E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=infradead.org; spf=pass smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=jGcwtRjC; arc=none smtp.client-ip=90.155.50.34 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=infradead.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="jGcwtRjC" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Transfer-Encoding: Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Sender:Reply-To:Content-ID:Content-Description; bh=YjtgS5XNEWdrUDgKUDe4aN8BFszjDXKvpMr+W3FfSwo=; b=jGcwtRjCCflDcDKI9euuWA5gc5 KB6FCInVNw4Kr5Mwc/29hs5TVKas+ucoQ8bp154LjbkoakGMsILjIJcb8mitetlefAnlIvpr3azFZ Khc/P8I1/Rf5h0ZIa2fwm7Jjyjy2zIfQRMUqYcHEaC4qIFJjKENa3A/wcUszemWP9seSds1sxJCOZ ZCdegDxvPgInM1lm5E+rylqJMKIfigV7MSaSv6znO6rgEwjfTwG4UGgvn47G0cLzyOFtqaz17oEYu W0mZTTIEAhksknljQSGDqQ3M/UOI6p34h3sQ1YWrF5u5x2MTa5V/P4n8ROwzRskbtm4s97ifBB2Zu kwiGEE5w==; Received: from 77-249-17-252.cable.dynamic.v4.ziggo.nl ([77.249.17.252] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.99.1 #2 (Red Hat Linux)) id 1wZl0i-0000000CERF-1J1S; Wed, 17 Jun 2026 07:48:32 +0000 Received: by noisy.programming.kicks-ass.net (Postfix, from userid 1000) id 98DA030036F; Wed, 17 Jun 2026 09:48:31 +0200 (CEST) Date: Wed, 17 Jun 2026 09:48:31 +0200 From: Peter Zijlstra To: Dmitry Voytik Cc: glider@google.com, jpoimboe@kernel.org, kasan-dev@googlegroups.com, linux-kernel@vger.kernel.org Subject: Re: [BUG] CONFIG_KMSAN breaks objtool and building of the kernel Message-ID: <20260617074831.GL42921@noisy.programming.kicks-ass.net> References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Wed, Jun 17, 2026 at 12:14:26AM +0200, Dmitry Voytik wrote: > Enabling CONFIG_KMSAN=y triggers the following build error: > make LLVM=1 -j(nproc) > SYNC include/config/auto.conf > DESCEND objtool > INSTALL libsubcmd_headers > LD vmlinux.o > vmlinux.o: warning: objtool: intel_pt_interrupt+0xde9: undefined stack state > vmlinux.o: warning: objtool: folio_zero_user+0x7cc: undefined stack state > vmlinux.o: error: objtool: intel_pt_interrupt+0xde4: unknown cfa base reg -1 > make[2]: *** [scripts/Makefile.vmlinux_o:76: vmlinux.o] Error 255 > make[2]: *** Deleting file 'vmlinux.o' > > ↪ git log --oneline | head -n1 > 062871f1371b (HEAD -> master, origin/master, origin/HEAD) Merge tag > 'pinctrl-v7.1-3' of > git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl > > ↪ clang --version > clang version 22.1.6 > Target: x86_64-pc-linux-gnu > > Please let me know if you need my .config (basically, it's the default > Arch Linux config + make oldconfg) Using v7.1-2765-g6b5a2b7d9bc1, clang-22.1.0 (debian) and defconfig+KMSAN, I cannot reproduce :/