From nobody Mon Feb 9 07:56:00 2026 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (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 D4605438FF2; Thu, 5 Feb 2026 16:14:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770308045; cv=none; b=lzTBmZGMFrYEMYCTnfGF3CXBXKa2LHBhmSmuEQgrISeh/C/vj75hbHJxVD6gV6K3w/lL4y6H/HwkFqQYEiH2pefQpi8e5UohTbZbTr7kEsOGgUfUOAq6k3IOUc3Knz9RTblIPGCdct82Z9OCh7skPGzrLrypq8LCLfUJajmZqzg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770308045; c=relaxed/simple; bh=uL8eQgU7moluYt4vYtvgfywDHyQEcgXv4sQ1iqPsMfE=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=eH6vBz7mxFu5Kl+mUQrPqpMLJx8sOeimjlQnoGYk8EKLtRaLHCu/b5jNW4ZGWPy9d+pVKjlm3aZx5qC1ZyJHDIH/bcOXc+Gg5pRpvpkGQw3HpKsAFnWU/JoYF11ROOW52jwsFDoM7sA/gY8Qe4kby8pgn77Ez6rB0kY56hRxDz8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=4nv1YPrn; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=/cklMBSk; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="4nv1YPrn"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="/cklMBSk" Date: Thu, 05 Feb 2026 16:14:02 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1770308043; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=o0xSEgPnw4oil1eDxMS8+KIc6alktoRuNZdPpPPRiGQ=; b=4nv1YPrnCOChfr3SuaYirbn8RE449cMuEw58pxQoN6JS+4ZDxSaLlsY00ltFvj69dW6UsX Ira6NMVk/+hRt9UxakaaZ2qAo9a0dEX2mWTJksMZQBQsF8PC3MJO4kykFFvgZJxJPwfJI2 8EXmzvnYyFzQL1aeqoWOms5FtjrV8X53yCKrzrYtbgTGhsDfa3vgPcoziBvwSMdmOb3Mx0 Psqf7Xmqj3vGtGPhECrvt2CS9cYTU6+r54H6GkYrlc3NDphZ1roxvuZZ54mz5coAatFOBO EmiEBejc4f9dnl4NFcL7GJVd2kil72KSW5ASrzyHT4ygcScHR/3Nn5yJVhzfYQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1770308043; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=o0xSEgPnw4oil1eDxMS8+KIc6alktoRuNZdPpPPRiGQ=; b=/cklMBSkeAVEVu6JShTVVQCE8XweoRGyHvdWo68UCwcHN0AJNAGwjsNL7UodJK6IGc/bKh D1mPeq9EKgE4dmBA== From: "tip-bot2 for Josh Poimboeuf" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: objtool/urgent] livepatch/klp-build: Require Clang assembler >= 20 Cc: Song Liu , Josh Poimboeuf , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <957fd52e375d0e2cfa3ac729160da995084a7f5e.1769562556.git.jpoimboe@kernel.org> References: <957fd52e375d0e2cfa3ac729160da995084a7f5e.1769562556.git.jpoimboe@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <177030804250.2495410.13722330109340992324.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Precedence: bulk Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable The following commit has been merged into the objtool/urgent branch of tip: Commit-ID: a8ff29f0ca1d63a215ef445102662850a912d127 Gitweb: https://git.kernel.org/tip/a8ff29f0ca1d63a215ef445102662850a= 912d127 Author: Josh Poimboeuf AuthorDate: Tue, 27 Jan 2026 17:12:05 -08:00 Committer: Josh Poimboeuf CommitterDate: Thu, 29 Jan 2026 10:09:26 -08:00 livepatch/klp-build: Require Clang assembler >=3D 20 Some special sections specify their ELF section entsize, for example: .pushsection section, "M", @progbits, 8 The entsize (8 in this example) is needed by objtool klp-diff for extracting individual entries. Clang assembler versions older than 20 silently ignore the above construct and set entsize to 0, resulting in the following error: .discard.annotate_data: missing special section entsize or annotations Add a klp-build check to prevent the use of Clang assembler versions prior to 20. Fixes: 24ebfcd65a87 ("livepatch/klp-build: Introduce klp-build script for g= enerating livepatch modules") Reported-by: Song Liu Acked-by: Song Liu Link: https://patch.msgid.link/957fd52e375d0e2cfa3ac729160da995084a7f5e.176= 9562556.git.jpoimboe@kernel.org Signed-off-by: Josh Poimboeuf --- scripts/livepatch/klp-build | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/livepatch/klp-build b/scripts/livepatch/klp-build index a73515a..809e198 100755 --- a/scripts/livepatch/klp-build +++ b/scripts/livepatch/klp-build @@ -249,6 +249,10 @@ validate_config() { [[ -v CONFIG_GCC_PLUGIN_RANDSTRUCT ]] && \ die "kernel option 'CONFIG_GCC_PLUGIN_RANDSTRUCT' not supported" =20 + [[ -v CONFIG_AS_IS_LLVM ]] && \ + [[ "$CONFIG_AS_VERSION" -lt 200000 ]] && \ + die "Clang assembler version < 20 not supported" + return 0 } =20