Re: [PATCH v4 00/30] tools build: Append -fzero-init-padding-bits=all option

From: Leo Yan

Date: Wed Mar 11 2026 - 05:22:14 EST


Hi Daniel,

On Wed, Mar 11, 2026 at 09:44:16AM +0100, Daniel Lezcano wrote:

[...]

> > In this version, the changes are organized into three parts:
> >
> > Patches 01 – 07: Preparation before adding the new compiler option.
> > Fix typos, adjust Makefiles to ensure the newly
> > introduced option does not cause regressions.
> > Patch 08: Propagate -fzero-init-padding-bits=all to
> > EXTRA_CFLAGS and HOST_EXTRACFLAGS for the
> > CC and HOSTCC compilers, respectively.
> > Patches 09 – 30: Apply EXTRA_CFLAGS and HOST_EXTRACFLAGS in
> > project Makefiles.
> >
> Through which tree do you expect these patch to be picked up ? Each
> maintainer picks the patches related to their subsystem ?

I can propose a pickup sequence, but this may need confirmation from the
tools maintainers (especially perf, bpftool, BPF).

I expect patches 01-08 can be merged in one go, as this would be safe
not break anything. Afterwards, patches 09–30 can be picked up
separately by subsystem maintainers, or merged together.

So far, IIUC, there are no maintainers for the tools build. If no
objection from maintainers to merge in one go, I think we have chance
via perf-tools-next tree. Arnaldo, Namhyung, how about you think ?
(sorry this might introduce extra efforts for you).

Thanks,
Leo