https://inbox.sourceware.org/elfutils-devel/cajdtp-qxj15oopbxldu+v1pzkm8ymnse1evy-r2r5xbe7sh...@mail.gmail.com/T/#u
https://inbox.sourceware.org/elfutils-devel/cajdtp-tx60dppn5mtrvvtgn14sjtbbip-v1sx6s0khcf-cy...@mail.gmail.com/T/#u

Also improved the configure arguments based on the output of the
configure_helper.py. Helgrind is explcitly disabled, as elfutils will
search for valgrind if either the valgrind or helgrind option is
enabled.

Signed-off-by: Sven Püschel <[email protected]>
---
 ...Werror-as-it-tends-to-break-with-new-gcc-ver.patch |  0
 .../0002-remove-old-glibc-hack.patch                  |  0
 patches/{elfutils-0.195 => elfutils-0.197}/series     |  0
 rules/libelf.make                                     | 11 ++++++++---
 4 files changed, 8 insertions(+), 3 deletions(-)
 rename patches/{elfutils-0.195 => 
elfutils-0.197}/0001-disable-Werror-as-it-tends-to-break-with-new-gcc-ver.patch 
(100%)
 rename patches/{elfutils-0.195 => 
elfutils-0.197}/0002-remove-old-glibc-hack.patch (100%)
 rename patches/{elfutils-0.195 => elfutils-0.197}/series (100%)

diff --git 
a/patches/elfutils-0.195/0001-disable-Werror-as-it-tends-to-break-with-new-gcc-ver.patch
 
b/patches/elfutils-0.197/0001-disable-Werror-as-it-tends-to-break-with-new-gcc-ver.patch
similarity index 100%
rename from 
patches/elfutils-0.195/0001-disable-Werror-as-it-tends-to-break-with-new-gcc-ver.patch
rename to 
patches/elfutils-0.197/0001-disable-Werror-as-it-tends-to-break-with-new-gcc-ver.patch
diff --git a/patches/elfutils-0.195/0002-remove-old-glibc-hack.patch 
b/patches/elfutils-0.197/0002-remove-old-glibc-hack.patch
similarity index 100%
rename from patches/elfutils-0.195/0002-remove-old-glibc-hack.patch
rename to patches/elfutils-0.197/0002-remove-old-glibc-hack.patch
diff --git a/patches/elfutils-0.195/series b/patches/elfutils-0.197/series
similarity index 100%
rename from patches/elfutils-0.195/series
rename to patches/elfutils-0.197/series
diff --git a/rules/libelf.make b/rules/libelf.make
index ee1ae6f58..efd4b7f50 100644
--- a/rules/libelf.make
+++ b/rules/libelf.make
@@ -15,8 +15,8 @@ PACKAGES-$(PTXCONF_LIBELF) += libelf
 #
 # Paths and names
 #
-LIBELF_VERSION := 0.195
-LIBELF_SHA256  := 
37629fdf7f1f3dc2818e138fca2b8094177d6c2d0f701d3bb650a561218dc026
+LIBELF_VERSION := 0.197
+LIBELF_SHA256  := 
1fdf525f22dcf796d99a99ba3ea00a1f7b1ae5421bc62e8443a708920b99b904
 LIBELF         := elfutils-$(LIBELF_VERSION)
 LIBELF_SUFFIX  := tar.bz2
 LIBELF_URL     := 
https://sourceware.org/elfutils/ftp/$(LIBELF_VERSION)/$(LIBELF).$(LIBELF_SUFFIX)
@@ -43,11 +43,14 @@ LIBELF_CONF_OPT     := \
        $(CROSS_AUTOCONF_USR) \
        --enable-deterministic-archives \
        --disable-thread-safety \
+       --disable-sanitize-memory \
        $(GLOBAL_LARGE_FILE_OPTION) \
        --disable-debugpred \
        --disable-gprof \
        --disable-gcov \
        --disable-sanitize-undefined \
+       --disable-sanitize-address \
+       --disable-helgrind \
        --disable-valgrind \
        --disable-valgrind-annotations \
        --disable-install-elfh \
@@ -57,13 +60,15 @@ LIBELF_CONF_OPT     := \
        --enable-symbol-versioning \
        --disable-nls \
        --disable-rpath \
+       --disable-stackprof \
        --disable-libdebuginfod \
        --disable-debuginfod \
        --with-zlib \
        --without-bzlib \
        --$(call ptx/wwo, PTXCONF_LIBELF_XZ)-lzma \
        --$(call ptx/wwo, PTXCONF_LIBELF_ZSTD)-zstd \
-       --without-biarch
+       --without-biarch \
+       --without-libarchive
 
 LIBELF_ARCH := $(call remove_quotes,$(PTXCONF_ARCH_STRING))
 ifdef PTXCONF_ARCH_ARM64
-- 
2.47.3


Reply via email to