From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 185A0386578 for ; Wed, 4 Mar 2026 09:23:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772616214; cv=none; b=R7okEp1V2Rf3XOCTXisdMrfBUP40wgiuW+NKlNQK5zru2w5HRkgUE3LGJQbKBzUwwkBve1D1Vsbu22kFWatODEBqjdOTd98v3pPyzasX3jHrDIeEX/D3LR1UOaalB1DWmcCFdo17HbgHExe2NA15hkXrc6LrvqTFxe3ZkK3axvE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772616214; c=relaxed/simple; bh=rFG0yKTU0uBkBGAcaVw7OE/xatWrPiHKyWJgjVKOtVU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=jHJhS8+Pls31UjloXS3Ut7JO0A5LOOKY97ESc6WdGzqCq6VbRjdBdNsuPa9+waGmi0aRgFOzBe+fpD7Nz5FhgbrGrnli/BSAC4p8NPsupP6wxxptT0ik7QIUQ/YM47lxsXEtOxIhqstBc1aojTF0tqVVYD1TCJSr8/vC+gR1Mv8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 54084497; Wed, 4 Mar 2026 01:23:26 -0800 (PST) Received: from localhost (e132581.arm.com [10.1.196.87]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 377853F694; Wed, 4 Mar 2026 01:23:32 -0800 (PST) Date: Wed, 4 Mar 2026 09:23:30 +0000 From: Leo Yan To: Namhyung Kim Cc: Quentin Monnet , Nathan Chancellor , Nicolas Schier , Nick Desaulniers , Bill Wendling , Justin Stitt , Arnaldo Carvalho de Melo , Ian Rogers , James Clark , Kees Cook , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev, bpf@vger.kernel.org Subject: Re: [PATCH RESEND v2] tools build: Use -fzero-init-padding-bits=all Message-ID: <20260304092330.GJ1098637@e132581.arm.com> References: <20260224-tools_build_fix_zero_init-v2-1-b1acc817a01e@arm.com> <99e7fe4e-72de-4b55-9a9a-ae51718a0e73@kernel.org> <20260227103611.GA1098637@e132581.arm.com> <2ff9897c-3822-4e31-acfb-884690448af0@kernel.org> Precedence: bulk X-Mailing-List: llvm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Tue, Mar 03, 2026 at 05:35:04PM -0800, Namhyung Kim wrote: [...] > > I don't want bpftool's HOST_CFLAGS to inherit > > -fzero-init-padding-bits=all if the compiler doesn't support it, which > > may happen with the current version of the patch. I'd prefer a version > > with separate EXTRA_CFLAGS and HOST_EXTRA_CFLAGS, as proposed by Leo and > > discussed above, to address the cross-compilation issue. > > Got it. Leo, can you please update the patch? Yes, I will prepare a new patch series. Also thanks Quentin's detailed suggestions. Leo