From 532293bdf427b2881a86ad7a1b9380465db48eac Mon Sep 17 00:00:00 2001 From: Evgeny Vereshchagin Date: Fri, 5 May 2023 21:28:52 +0000 Subject: [PATCH] fuzz: bump elfutils to 0.189 The elfutils project has fixed several issues found by fuzz targets so it should help to prevent the libbpf fuzz target from running into them. Signed-off-by: Evgeny Vereshchagin --- scripts/build-fuzzers.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/build-fuzzers.sh b/scripts/build-fuzzers.sh index a704f47..5171e95 100755 --- a/scripts/build-fuzzers.sh +++ b/scripts/build-fuzzers.sh @@ -44,11 +44,11 @@ rm -rf elfutils git clone git://sourceware.org/git/elfutils.git ( cd elfutils -git checkout e9f3045caa5c4498f371383e5519151942d48b6d +git checkout 67a187d4c1790058fc7fd218317851cb68bb087c git log --oneline -1 # ASan isn't compatible with -Wl,--no-undefined: https://github.com/google/sanitizers/issues/380 -find -name Makefile.am | xargs sed -i 's/,--no-undefined//' +sed -i 's/^\(NO_UNDEFINED=\).*/\1/' configure.ac # ASan isn't compatible with -Wl,-z,defs either: # https://clang.llvm.org/docs/AddressSanitizer.html#usage @@ -62,6 +62,7 @@ fi autoreconf -i -f if ! ./configure --enable-maintainer-mode --disable-debuginfod --disable-libdebuginfod \ + --disable-demangler --without-bzlib --without-lzma --without-zstd \ CC="$CC" CFLAGS="-Wno-error $CFLAGS" CXX="$CXX" CXXFLAGS="-Wno-error $CXXFLAGS" LDFLAGS="$CFLAGS"; then cat config.log exit 1