Browse Source

tools/dwarves: update to v1.29

Update to include the latest upstream improvements and bugfixes, including
pahole now always encoding reproducibly.

Drop the local patch:
     100-reproducible-builds.patch

Release Notes: https://lore.kernel.org/bpf/Z4-TDt42dTKZvCo6@x1/
Signed-off-by: Tony Ambardar <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/17705
Signed-off-by: Robert Marko <[email protected]>
Tony Ambardar 1 year ago
parent
commit
22d1e6cd26
2 changed files with 2 additions and 14 deletions
  1. 2 2
      tools/dwarves/Makefile
  2. 0 12
      tools/dwarves/patches/100-reproducible-builds.patch

+ 2 - 2
tools/dwarves/Makefile

@@ -3,12 +3,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=dwarves
-PKG_VERSION:=1.28
+PKG_VERSION:=1.29
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=https://fedorapeople.org/~acme/dwarves/
-PKG_HASH:=826efc0fc9237d3c1e9c01553ea387a8cb46e8dc119ff863889043f4ed54b2ae
+PKG_HASH:=59c597d4e953c714d6f3ff36aeed2ac30cba85c1d7b94d0c87ca91d611d98a56
 
 PKG_MAINTAINER:=Tony Ambardar <[email protected]>
 PKG_LICENSE:=GPL-2.0-only

+ 0 - 12
tools/dwarves/patches/100-reproducible-builds.patch

@@ -1,12 +0,0 @@
---- a/pahole.c
-+++ b/pahole.c
-@@ -3681,6 +3681,9 @@ int main(int argc, char *argv[])
- 		goto out;
- 	}
- 
-+	if (getenv("SOURCE_DATE_EPOCH") || getenv("KBUILD_BUILD_TIMESTAMP"))
-+		conf_load.reproducible_build = true;
-+
- 	if (dwarves__init()) {
- 		fputs("pahole: insufficient memory\n", stderr);
- 		goto out;