On Mon, May 30, 2022 at 04:53:22PM -0500, Daniel Díaz wrote: > We recently started building with Poky Kirkstone (quite a leap > from our ancient and venerable branch of Sumo) which includes > a newer set of tools in the toolchain: > > binutils 2.30 -> 2.38 > gcc 7.3.3 -> 11.2.0 > glibc 2.27 -> 2.35 > > This uncovered some issues while cross-compiling on the 4.x > kernels. The following patches help in building the 4.19 > branch again. > > These backports are already applied all the way down to 5.4. > > Arnaldo Carvalho de Melo (2): > perf bench: Share some global variables to fix build with gcc 10 > perf tests bp_account: Make global variable static > > Ben Hutchings (1): > libtraceevent: Fix build with binutils 2.35 > > tools/lib/traceevent/Makefile | 2 +- > tools/perf/bench/bench.h | 4 ++++ > tools/perf/bench/futex-hash.c | 12 ++++++------ > tools/perf/bench/futex-lock-pi.c | 11 +++++------ > tools/perf/tests/bp_account.c | 2 +- > 5 files changed, 17 insertions(+), 14 deletions(-) > > -- > 2.32.0 > All now queued up, thanks. greg k-h