Re: [PATCH] perf build: Avoid argument list too long in orphan pruning

From: cp0613

Date: Mon Mar 16 2026 - 21:45:11 EST


On Fri, 13 Mar 2026 08:47:31 -0700, irogers@xxxxxxxxxx:
>
> > The original problem was encountered when compiling the Linux tool perf in
> > buildroot. I think it might also occur in buildroot or yocto environments.
> >
> > I also constructed a method to reproduce the issue in an x86 native
> > environment by extracting a long file list. The problem can be reproduced
> > using:
> > make -C tools/perf O=./patches-perf NO_LIBTRACEEVENT=1 NO_LIBPYTHON=1
>
> Hi cp0613,
>
> I'm not sure what the patch diff is, but I think you're encountering
> the issue discussed here:
> https://lore.kernel.org/lkml/20260303211503.165337-1-mmayer@xxxxxxxxxxxx/
> The fix has been merged, so I'm not sure why it remains a problem.
>
> Thanks,
> Ian

Oh, I just wanted to provide a way to reproduce the issue with this patch.
It looks like the same problem, but maybe I haven't updated my local code
as soon as possible. Thanks for reminding me.

Thanks,
Pei