The script that sends the automated patch does not currently handle updating the KERNEL_REPRODUCIBILITY_PATCHES variable with the changes in the patches.
Signed-off-by: Ryan Eatmon <[email protected]> --- ...thon-Fix-compile-for-32bit-platforms.patch | 32 +++++++++++++++++++ .../linux/linux-ti-mainline_git.bb | 1 + 2 files changed, 33 insertions(+) create mode 100644 meta-ti-bsp/recipes-kernel/linux/files/0001-perf-python-Fix-compile-for-32bit-platforms.patch diff --git a/meta-ti-bsp/recipes-kernel/linux/files/0001-perf-python-Fix-compile-for-32bit-platforms.patch b/meta-ti-bsp/recipes-kernel/linux/files/0001-perf-python-Fix-compile-for-32bit-platforms.patch new file mode 100644 index 00000000..12e12c68 --- /dev/null +++ b/meta-ti-bsp/recipes-kernel/linux/files/0001-perf-python-Fix-compile-for-32bit-platforms.patch @@ -0,0 +1,32 @@ +From a51ebf08cec81d84ac258da1c0ead139d6ddc94f Mon Sep 17 00:00:00 2001 +From: Ryan Eatmon <[email protected]> +Date: Tue, 2 Jul 2024 11:07:14 -0500 +Subject: [master][PATCH] perf python: Fix compile for 32bit platforms + +The definition for perf_sample is missing on 32bit compiles: + +tools/perf/util/python.c:75:28: error: field 'sample' has incomplete type + 75 | struct perf_sample sample; + +Adding #include "sample.h" fixes it. + +Upstream-Status: Inappropriate + +Signed-off-by: Ryan Eatmon <[email protected]> +--- + tools/perf/util/python.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/tools/perf/util/python.c b/tools/perf/util/python.c +index 3be882b2e845..de64ca3cf2d1 100644 +--- a/tools/perf/util/python.c ++++ b/tools/perf/util/python.c +@@ -1,3 +1,5 @@ ++#include "sample.h" ++ + // SPDX-License-Identifier: GPL-2.0 + #include <Python.h> + #include <structmember.h> +-- +2.17.1 + diff --git a/meta-ti-bsp/recipes-kernel/linux/linux-ti-mainline_git.bb b/meta-ti-bsp/recipes-kernel/linux/linux-ti-mainline_git.bb index 803db1fd..b4ec47bc 100644 --- a/meta-ti-bsp/recipes-kernel/linux/linux-ti-mainline_git.bb +++ b/meta-ti-bsp/recipes-kernel/linux/linux-ti-mainline_git.bb @@ -24,6 +24,7 @@ KERNEL_DEFCONFIG = "" KERNEL_REPRODUCIBILITY_PATCHES = " \ file://0001-drivers-gpu-drm-msm-registers-improve-reproducibilit.patch \ + file://0001-perf-python-Fix-compile-for-32bit-platforms.patch \ " DEFCONFIG_NAME = "multi_v7_defconfig" -- 2.17.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#18124): https://lists.yoctoproject.org/g/meta-ti/message/18124 Mute This Topic: https://lists.yoctoproject.org/mt/110149604/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
