]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Revert fix for oss-fuzz, error is in that build script that
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Thu, 9 May 2019 15:07:01 +0000 (17:07 +0200)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Thu, 9 May 2019 15:07:01 +0000 (17:07 +0200)
  unconditionally includes .o files detected by configure, also
  when the machine architecture uses different LIBOBJS files.

configure
configure.ac
doc/Changelog

index 86fe81293d147e1fb0a17462c59ba1c8ecdb4c93..777649c666b40fd860d31128222ea2ce810fb1f2 100755 (executable)
--- a/configure
+++ b/configure
 
 
 
-if echo "$CFLAGS" | grep 'FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION' >/dev/null; then
-       :
-       # do not strip flags, so they are on the command line for fuzzer builds.
-       # because otherwise reallocarray looks like it can link in the
-       # configure test, but doesn't really link at link time.
-       # this is, by the way, safe for production, and keeps the
-       # commandline more explicitly with the compile defines for
-       # special compile settings.
-else
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: Stripping extension flags..." >&5
 $as_echo "$as_me: Stripping extension flags..." >&6;}
@@ -21174,7 +21165,6 @@ $as_echo "#define OMITTED__D_LARGEFILE_SOURCE_1 1" >>confdefs.h
   fi
 
 
-fi
 if test -n "$LATE_LDFLAGS"; then
   LDFLAGS="$LATE_LDFLAGS $LDFLAGS"
 fi
index c4f1231845ebaad18de576a97d8d661ecf24dedb..abbecf0bad0b8ef4634cbcd0447f44cb2a5d56b3 100644 (file)
@@ -1644,17 +1644,7 @@ fi
 AC_SUBST(ALLTARGET)
 AC_SUBST(INSTALLTARGET)
 
-if echo "$CFLAGS" | grep 'FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION' >/dev/null; then
-       :
-       # do not strip flags, so they are on the command line for fuzzer builds.
-       # because otherwise reallocarray looks like it can link in the
-       # configure test, but doesn't really link at link time.
-       # this is, by the way, safe for production, and keeps the
-       # commandline more explicitly with the compile defines for
-       # special compile settings.
-else
-       ACX_STRIP_EXT_FLAGS
-fi
+ACX_STRIP_EXT_FLAGS
 if test -n "$LATE_LDFLAGS"; then
   LDFLAGS="$LATE_LDFLAGS $LDFLAGS"
 fi
index 82ed8db51c555dede540de652d4460a491b91759..fb5ee2423d9f4567492e45b3e88bca102322011b 100644 (file)
@@ -1,3 +1,8 @@
+9 May 2019: Wouter
+       - Revert fix for oss-fuzz, error is in that build script that
+         unconditionally includes .o files detected by configure, also
+         when the machine architecture uses different LIBOBJS files.
+
 8 May 2019: Wouter
        - Attempt to fix build failure in oss-fuzz because of reallocarray.
          https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=14648.