[Buildroot] [git commit] package/pahole: bump to version 1.28

Julien Olivain ju.o at free.fr
Tue Apr 15 17:16:25 UTC 2025


commit: https://git.buildroot.net/buildroot/commit/?id=50c1331720ec388e7a7cf9876ee55dadd8626090
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

On hosts with a recent version of cmake (eg: 4.0.0), builds involving
host-pahole fail with the following error:

CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.

The issue can be reproduced on hosts with cmake >= 4.0.0 with commands:

    cat <<EOF >.config
    BR2_arm=y
    BR2_cortex_a7=y
    BR2_TOOLCHAIN_EXTERNAL=y
    BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
    BR2_LINUX_KERNEL=y
    BR2_LINUX_KERNEL_DEFCONFIG="versatile"
    BR2_LINUX_KERNEL_NEEDS_HOST_PAHOLE=y
    EOF
    make olddefconfig
    make

The issue has already fixed in the upstream project with commit
12ca11281912 ("CMakeLists.txt: Require cmake 3.5 or higher"), which is
part of version 1.28.

Upgrade pahole to get rid of this error.

https://git.kernel.org/pub/scm/devel/pahole/pahole.git/tree/NEWS?h=v1.28

Signed-off-by: Alexis Lothoré <alexis.lothore at bootlin.com>
[Julien: add commands to reproduce the issue in commit log]
Signed-off-by: Julien Olivain <ju.o at free.fr>
---
 package/pahole/pahole.hash | 2 +-
 package/pahole/pahole.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/pahole/pahole.hash b/package/pahole/pahole.hash
index a2d3d044da..efa1218468 100644
--- a/package/pahole/pahole.hash
+++ b/package/pahole/pahole.hash
@@ -1,3 +1,3 @@
 # Locally computed
-sha256  87223298d4f8f9ada9b3cc5cef1bedd7aeb447cd8295abc466e009a26accff13  pahole-1.27.tar.gz
+sha256  9a319c214b38554be8430a672043d85735564e8e1e78db5a41cba7a03d038056  pahole-1.28.tar.gz
 sha256  ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6  COPYING
diff --git a/package/pahole/pahole.mk b/package/pahole/pahole.mk
index ffbe4ff925..150373fd7e 100644
--- a/package/pahole/pahole.mk
+++ b/package/pahole/pahole.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-PAHOLE_VERSION = 1.27
+PAHOLE_VERSION = 1.28
 PAHOLE_SITE = https://git.kernel.org/pub/scm/devel/pahole/pahole.git/snapshot
 HOST_PAHOLE_DEPENDENCIES = \
 	host-elfutils \


More information about the buildroot mailing list