diff mbox series

[meta-oe] pahole: upgrade 1.25 -> 1.27

Message ID 20240930050232.1702649-1-yi.zhao@windriver.com
State New
Headers show
Series [meta-oe] pahole: upgrade 1.25 -> 1.27 | expand

Commit Message

Yi Zhao Sept. 30, 2024, 5:02 a.m. UTC
ChangeLog:
https://git.kernel.org/pub/scm/devel/pahole/pahole.git/tree/changes-v1.26?h=v1.27
https://git.kernel.org/pub/scm/devel/pahole/pahole.git/tree/changes-v1.27?h=v1.27

Add more architectures to COMPATIBLE_HOST, as libbpf is now allowed to
be built on more architectures[1].

[1] https://git.openembedded.org/meta-openembedded/commit/?id=bb8049afe96db57707afc259743e288bec456117

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
---
 ...-usr-bin-env-python3-instead-of-just-usr-bin-pyth.patch} | 1 -
 .../pahole/{pahole_1.25.bb => pahole_1.27.bb}               | 6 +++---
 2 files changed, 3 insertions(+), 4 deletions(-)
 rename meta-oe/recipes-devtools/pahole/files/{0002-Use-usr-bin-env-python3-instead-of-just-usr-bin-pyth.patch => 0001-Use-usr-bin-env-python3-instead-of-just-usr-bin-pyth.patch} (99%)
 rename meta-oe/recipes-devtools/pahole/{pahole_1.25.bb => pahole_1.27.bb} (81%)

Comments

Khem Raj Sept. 30, 2024, 5:04 a.m. UTC | #1
On Sun, Sep 29, 2024 at 10:02 PM Yi Zhao via lists.openembedded.org
<yi.zhao=eng.windriver.com@lists.openembedded.org> wrote:
>
> ChangeLog:
> https://git.kernel.org/pub/scm/devel/pahole/pahole.git/tree/changes-v1.26?h=v1.27
> https://git.kernel.org/pub/scm/devel/pahole/pahole.git/tree/changes-v1.27?h=v1.27
>
> Add more architectures to COMPATIBLE_HOST, as libbpf is now allowed to
> be built on more architectures[1].
>
> [1] https://git.openembedded.org/meta-openembedded/commit/?id=bb8049afe96db57707afc259743e288bec456117
>
> Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
> ---
>  ...-usr-bin-env-python3-instead-of-just-usr-bin-pyth.patch} | 1 -
>  .../pahole/{pahole_1.25.bb => pahole_1.27.bb}               | 6 +++---
>  2 files changed, 3 insertions(+), 4 deletions(-)
>  rename meta-oe/recipes-devtools/pahole/files/{0002-Use-usr-bin-env-python3-instead-of-just-usr-bin-pyth.patch => 0001-Use-usr-bin-env-python3-instead-of-just-usr-bin-pyth.patch} (99%)
>  rename meta-oe/recipes-devtools/pahole/{pahole_1.25.bb => pahole_1.27.bb} (81%)
>
> diff --git a/meta-oe/recipes-devtools/pahole/files/0002-Use-usr-bin-env-python3-instead-of-just-usr-bin-pyth.patch b/meta-oe/recipes-devtools/pahole/files/0001-Use-usr-bin-env-python3-instead-of-just-usr-bin-pyth.patch
> similarity index 99%
> rename from meta-oe/recipes-devtools/pahole/files/0002-Use-usr-bin-env-python3-instead-of-just-usr-bin-pyth.patch
> rename to meta-oe/recipes-devtools/pahole/files/0001-Use-usr-bin-env-python3-instead-of-just-usr-bin-pyth.patch
> index 4f7dfd4cc..7dc18d7aa 100644
> --- a/meta-oe/recipes-devtools/pahole/files/0002-Use-usr-bin-env-python3-instead-of-just-usr-bin-pyth.patch
> +++ b/meta-oe/recipes-devtools/pahole/files/0001-Use-usr-bin-env-python3-instead-of-just-usr-bin-pyth.patch
> @@ -4,7 +4,6 @@ Date: Wed, 15 Sep 2021 17:54:01 +0200
>  Subject: [PATCH] Use /usr/bin/env python3 instead of just /usr/bin/python3
>
>  Upstream-Status: Inappropriate [OE specific]
> -
>  ---
>   ostra/ostra-cg        | 2 +-
>   ostra/python/ostra.py | 2 +-
> diff --git a/meta-oe/recipes-devtools/pahole/pahole_1.25.bb b/meta-oe/recipes-devtools/pahole/pahole_1.27.bb
> similarity index 81%
> rename from meta-oe/recipes-devtools/pahole/pahole_1.25.bb
> rename to meta-oe/recipes-devtools/pahole/pahole_1.27.bb
> index 1334c850e..902b0e61b 100644
> --- a/meta-oe/recipes-devtools/pahole/pahole_1.25.bb
> +++ b/meta-oe/recipes-devtools/pahole/pahole_1.27.bb
> @@ -7,11 +7,11 @@ DEPENDS = "elfutils zlib libbpf"
>
>  # Depends on MACHINE_ARCH libbpf
>  PACKAGE_ARCH = "${MACHINE_ARCH}"
> -COMPATIBLE_HOST = "(x86_64|i.86|aarch64).*-linux"
> +COMPATIBLE_HOST = "(x86_64|i.86|arm|aarch64|riscv64|powerpc|powerpc64|mips64).*-linux"

It might be time to reverse the check and add an exclusion check
instead here. So set something like

COMPATIBLE_HOST:mips = "null"
...


>
> -SRCREV = "81558a5a996005df0d607dd33f74ec5b7bdb619d"
> +SRCREV = "3e265dac5ec85b956c664464072196c37d2af4f3"
>  SRC_URI = "git://git.kernel.org/pub/scm/devel/pahole/pahole.git;branch=master \
> -           file://0002-Use-usr-bin-env-python3-instead-of-just-usr-bin-pyth.patch"
> +           file://0001-Use-usr-bin-env-python3-instead-of-just-usr-bin-pyth.patch"
>
>  S = "${WORKDIR}/git"
>
> --
> 2.25.1
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#112558): https://lists.openembedded.org/g/openembedded-devel/message/112558
> Mute This Topic: https://lists.openembedded.org/mt/108730689/1997914
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
diff mbox series

Patch

diff --git a/meta-oe/recipes-devtools/pahole/files/0002-Use-usr-bin-env-python3-instead-of-just-usr-bin-pyth.patch b/meta-oe/recipes-devtools/pahole/files/0001-Use-usr-bin-env-python3-instead-of-just-usr-bin-pyth.patch
similarity index 99%
rename from meta-oe/recipes-devtools/pahole/files/0002-Use-usr-bin-env-python3-instead-of-just-usr-bin-pyth.patch
rename to meta-oe/recipes-devtools/pahole/files/0001-Use-usr-bin-env-python3-instead-of-just-usr-bin-pyth.patch
index 4f7dfd4cc..7dc18d7aa 100644
--- a/meta-oe/recipes-devtools/pahole/files/0002-Use-usr-bin-env-python3-instead-of-just-usr-bin-pyth.patch
+++ b/meta-oe/recipes-devtools/pahole/files/0001-Use-usr-bin-env-python3-instead-of-just-usr-bin-pyth.patch
@@ -4,7 +4,6 @@  Date: Wed, 15 Sep 2021 17:54:01 +0200
 Subject: [PATCH] Use /usr/bin/env python3 instead of just /usr/bin/python3
 
 Upstream-Status: Inappropriate [OE specific]
-
 ---
  ostra/ostra-cg        | 2 +-
  ostra/python/ostra.py | 2 +-
diff --git a/meta-oe/recipes-devtools/pahole/pahole_1.25.bb b/meta-oe/recipes-devtools/pahole/pahole_1.27.bb
similarity index 81%
rename from meta-oe/recipes-devtools/pahole/pahole_1.25.bb
rename to meta-oe/recipes-devtools/pahole/pahole_1.27.bb
index 1334c850e..902b0e61b 100644
--- a/meta-oe/recipes-devtools/pahole/pahole_1.25.bb
+++ b/meta-oe/recipes-devtools/pahole/pahole_1.27.bb
@@ -7,11 +7,11 @@  DEPENDS = "elfutils zlib libbpf"
 
 # Depends on MACHINE_ARCH libbpf
 PACKAGE_ARCH = "${MACHINE_ARCH}"
-COMPATIBLE_HOST = "(x86_64|i.86|aarch64).*-linux"
+COMPATIBLE_HOST = "(x86_64|i.86|arm|aarch64|riscv64|powerpc|powerpc64|mips64).*-linux"
 
-SRCREV = "81558a5a996005df0d607dd33f74ec5b7bdb619d"
+SRCREV = "3e265dac5ec85b956c664464072196c37d2af4f3"
 SRC_URI = "git://git.kernel.org/pub/scm/devel/pahole/pahole.git;branch=master \
-           file://0002-Use-usr-bin-env-python3-instead-of-just-usr-bin-pyth.patch"
+           file://0001-Use-usr-bin-env-python3-instead-of-just-usr-bin-pyth.patch"
 
 S = "${WORKDIR}/git"