From nobody Thu Dec 18 08:52:08 2025 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 48659207A03; Thu, 20 Mar 2025 09:01:07 +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=1742461269; cv=none; b=Vp4SHQWjwqhTMJspsvfr0Q60xaSprs0iDDWvWyYau4sUZoO1GU/DAUjjzNCaZaZguwbom5AFHoLjpsDvygHlHh6mH7mQuw3ZjxabFhccNOyVfMQ/UWYKEemPHIEkG3RxWAEH1aHOphmIhBLBEK6fgl00tthKujhrkt4xilDrZhI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742461269; c=relaxed/simple; bh=ZT0sJ+5w47IhNip0vZsoB41Y6n9mv1fmc5It9kaFzlM=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=RP4m+PKtFExAdvzoTrF7z9lHwqk5isU/BcR+UnfneYeHDPEQtI3z2ErMS+yUI+9PSW14rxclvlhfJnuUHOtm5NmSJOIaAAvmSTAnT4tZNkjVKtL3ZcHkVgtR2TJueylylZk5lF6pYNoZGjUN1yub88BR2/Sjvd5yOSyxBO6sBVo= 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=cUmkhvs8; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=350RVoBT; 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="cUmkhvs8"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="350RVoBT" Date: Thu, 20 Mar 2025 09:01:04 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1742461265; 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=6CFUzOF+hwdOfS46KtEoCc3LXrvdoQndwZimkD2TQRw=; b=cUmkhvs8pmZ9uLj7kFYsSIo2W45xkuz1sSgni1CMIslbdJQFlgLEPdNYBlSSitmzoYi8kK iAKHu9qJPlq/mklqjI+4GYEUDELsg7vIc9HjR/AntBt1lZn+O4ldL7c0uRWd9yJduZDsSI BVB8PntaWNkhW+PcDmkdmq9xsWdFdvUmICUObRD8A4IN71R72gNIMR+Rl35ipvj7gsyHhU 0OhAi9UkiQrnEgTVZ5xOUcf/CePOGH6HY3kqEdvtOSsqcBDXO/0wtjF/Y/kiWfbH1CWcgE 5Yyqla9410KbrvjNE7Zl1x1limy+RgzaPSI47ySd5QX42G/FMjJTMQw/PzVW/w== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1742461265; 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=6CFUzOF+hwdOfS46KtEoCc3LXrvdoQndwZimkD2TQRw=; b=350RVoBTGnR0wQoMjb2R0fsxEjZg80Bx7Aov2Sf1y5apkYcHCNFzNfc6cBw0b51Y4j6FDc ddHZBMBDhO6SMhAg== From: "tip-bot2 for Ard Biesheuvel" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/core] gendwarfksyms: Define __GENKSYMS__ when processing Cc: syzbot+06fd1a3613c50d36129e@syzkaller.appspotmail.com, Ard Biesheuvel , Ingo Molnar , Masahiro Yamada , Michal Marek , Brian Gerst , Uros Bizjak , "H. Peter Anvin" , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20250320070746.101552-2-ardb+git@google.com> References: <20250320070746.101552-2-ardb+git@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <174246126447.14745.7024307702923339978.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 x86/core branch of tip: Commit-ID: fb3135208f688c5cab7d05e3a0d229935ee7611a Gitweb: https://git.kernel.org/tip/fb3135208f688c5cab7d05e3a0d229935= ee7611a Author: Ard Biesheuvel AuthorDate: Thu, 20 Mar 2025 08:07:47 +01:00 Committer: Ingo Molnar CommitterDate: Thu, 20 Mar 2025 09:48:49 +01:00 gendwarfksyms: Define __GENKSYMS__ when processing Ensure that __GENKSYMS__ is #define'd when passing through the compiler to capture the exported symbols. This ensures that exported symbols such as __ref_stack_chk_guard on x86, which is declared conditionally, is visible to the tool. Otherwise the build might break when CONFIG_GENDWARFKSYMS=3Dy: :4:15: error: use of undeclared identifier '__ref_stack_chk_guard' Reported-by: syzbot+06fd1a3613c50d36129e@syzkaller.appspotmail.com Signed-off-by: Ard Biesheuvel Signed-off-by: Ingo Molnar Tested-by: syzbot+06fd1a3613c50d36129e@syzkaller.appspotmail.com Cc: Masahiro Yamada Cc: Michal Marek Cc: Brian Gerst Cc: Uros Bizjak Cc: "H. Peter Anvin" Link: https://lore.kernel.org/r/20250320070746.101552-2-ardb+git@google.com --- scripts/Makefile.build | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/Makefile.build b/scripts/Makefile.build index 993708d..7855cdc 100644 --- a/scripts/Makefile.build +++ b/scripts/Makefile.build @@ -305,6 +305,7 @@ $(obj)/%.rs: $(obj)/%.rs.S FORCE getasmexports =3D \ { echo "\#include " ; \ echo "\#include " ; \ + echo "\#define __GENKSYMS__" ; \ echo "\#include " ; \ $(call getexportsymbols,EXPORT_SYMBOL(\1);) ; }