From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-184.mta0.migadu.com (out-184.mta0.migadu.com [91.218.175.184]) (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 1742F2E62A6 for ; Wed, 21 Jan 2026 18:30:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.184 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769020262; cv=none; b=HTLtx8ynyNeF00fjwD14jzhFvMk9twRrN3FTiq0dPTsR/EBSIpuIFsqfxD7RtkBzmoKlzw6aqpn5tmsQJWDNW3xHKHzeDC06sYcFEeERtUxyDCJmP6uK879XVcGL5mZe7NFYDunkSyJVY9GLSK11k0X6TkXFdIAkDOiz4ARBHDk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769020262; c=relaxed/simple; bh=ZVUlkxeaMTJXJPPFCVrxJq/9bdSEP7BNcBobtEVeH9A=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=ryzU0KKhx5cZQXCGouxiy+ceuaiZxjmPcZCMdgjxydNjZGstBgPslX6sFRTXwCGfmQmEQyoMFujppDI728rOyIru8gzmwHIko+gEzxq2kaM8iPlaRbYWJjtij9KUDu6lOD42YECuhteT3hL5yHGeHEcV8Kfo4gnWoEV3JqMWbP4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=ej6dBDyn; arc=none smtp.client-ip=91.218.175.184 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="ej6dBDyn" Message-ID: <44168005-28df-4b5b-96a7-b6b9e7494aed@linux.dev> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1769020247; h=from:from: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=CROyEznehMA1RhrDyu6WZuj0lQdIFsoxBRDmxAZdZwc=; b=ej6dBDynvxtF6pMKDGFlCnTnkhBJSvcz9eYMbWO5trBMsexpT6IsioTjnJgjrFkbjYOUVg s2mx/NdAgUaPr4rzIiPQJiloEgf5Hl0kYB8bERzsp4CPScdKL/xM2R9Lugnx4JhL6LBl2Z BYLijy9i6UZaGxJ+gksZMKg/h8bRw1g= Date: Wed, 21 Jan 2026 10:30:40 -0800 Precedence: bulk X-Mailing-List: linux-kbuild@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Subject: Re: [PATCH bpf-next v1] scripts/gen-btf.sh: Use CONFIG_SHELL for execution To: Gary Guo , Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Martin KaFai Lau Cc: =?UTF-8?Q?Thomas_Wei=C3=9Fschuh?= , Nathan Chancellor , Nicolas Schier , bpf@vger.kernel.org, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org References: <20260121181617.820300-1-ihor.solodrai@linux.dev> Content-Language: en-US X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Ihor Solodrai In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT On 1/21/26 10:24 AM, Gary Guo wrote: > On Wed Jan 21, 2026 at 6:16 PM GMT, Ihor Solodrai wrote: >> According to the docs [1], kernel build scripts should be executed via >> CONFIG_SHELL, which is sh by default. >> >> Fixup gen-btf.sh to be runnable with sh, and use CONFIG_SHELL at every >> invocation site. >> >> See relevant discussion for context [2]. >> >> [1] https://docs.kernel.org/kbuild/makefiles.html#script-invocation >> [2] https://lore.kernel.org/bpf/CAADnVQ+dxmSNoJAGb6xV89ffUCKXe5CJXovXZt22nv5iYFV5mw@mail.gmail.com/ >> >> Signed-off-by: Ihor Solodrai > > I can indeed build again when applying this on top of linux-next. Thanks. > > Tested-by: Gary Guo > > You probably also want to carry some Reported-by, Suggested-by and Fixes tags here. You're right. This should do it: Reported-by: Gary Guo Suggested-by: Thomas Weißschuh Fixes: 522397d05e7d ("resolve_btfids: Change in-place update with raw binary output") Alexei, please lmk if I should re-send with tags. > > >> [...]