]> git.proxmox.com Git - mirror_zfs.git/commitdiff
Ask libtool to stop hiding some errors
authorRich Ercolani <214141+rincebrain@users.noreply.github.com>
Thu, 31 Mar 2022 17:09:18 +0000 (13:09 -0400)
committerTony Hutter <hutter2@llnl.gov>
Wed, 21 Sep 2022 23:12:14 +0000 (16:12 -0700)
For #13083, curiously, it did not print the actual error, just
that the compile failed with "Error 1".

In theory, this flag should cause it to report errors twice sometimes.
In practice, I'm pretty okay with reporting some twice if it avoids
reporting some never.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Damian Szuberski <szuberskidamian@gmail.com>
Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
Closes #13086

15 files changed:
lib/libavl/Makefile.am
lib/libefi/Makefile.am
lib/libicp/Makefile.am
lib/libnvpair/Makefile.am
lib/libshare/Makefile.am
lib/libspl/Makefile.am
lib/libtpool/Makefile.am
lib/libunicode/Makefile.am
lib/libuutil/Makefile.am
lib/libzfs/Makefile.am
lib/libzfs_core/Makefile.am
lib/libzfsbootenv/Makefile.am
lib/libzpool/Makefile.am
lib/libzstd/Makefile.am
lib/libzutil/Makefile.am

index 2e0a431c77fb35373e953f827216bc2f9f241d9e..de8ba34d5ba0a59244b7188a6a4330e06b722702 100644 (file)
@@ -5,6 +5,9 @@ VPATH = $(top_srcdir)/module/avl/
 # Includes kernel code, generate warnings for large stack frames
 AM_CFLAGS += $(FRAME_LARGER_THAN)
 
+# See https://debbugs.gnu.org/cgi/bugreport.cgi?bug=54020
+AM_CFLAGS += -no-suppress
+
 noinst_LTLIBRARIES = libavl.la
 
 KERNEL_C = \
index b26f7a6dcd5bd4e198132adb7358acaedd5d4540..5f77ac480a9fcf0e960552fa58c6d508a8fafcda 100644 (file)
@@ -2,6 +2,9 @@ include $(top_srcdir)/config/Rules.am
 
 AM_CFLAGS += $(LIBUUID_CFLAGS) $(ZLIB_CFLAGS)
 
+# See https://debbugs.gnu.org/cgi/bugreport.cgi?bug=54020
+AM_CFLAGS += -no-suppress
+
 noinst_LTLIBRARIES = libefi.la
 
 USER_C = \
index e4a9ee862101b0d916ad8e0c65151530fda57a48..9a2510d0d22223f877bd99879fe390922d450bc4 100644 (file)
@@ -6,6 +6,8 @@ VPATH = \
 
 # Includes kernel code, generate warnings for large stack frames
 AM_CFLAGS += $(FRAME_LARGER_THAN)
+# See https://debbugs.gnu.org/cgi/bugreport.cgi?bug=54020
+AM_CFLAGS += -no-suppress
 
 noinst_LTLIBRARIES = libicp.la
 
index a3e1fa307f7c66930b4abc6c56f0bd925f6e22e9..f9f1eb539239c1109c3ea604e06f60a82c7130b4 100644 (file)
@@ -8,6 +8,9 @@ VPATH = \
 # and required CFLAGS for libtirpc
 AM_CFLAGS += $(FRAME_LARGER_THAN) $(LIBTIRPC_CFLAGS)
 
+# See https://debbugs.gnu.org/cgi/bugreport.cgi?bug=54020
+AM_CFLAGS += -no-suppress
+
 lib_LTLIBRARIES = libnvpair.la
 
 include $(top_srcdir)/config/Abigail.am
index 7cef13c3da7c89b818eb0be9d710df21879b9a65..0fce333506ae26e578f4b79158d1e889108d9b76 100644 (file)
@@ -2,6 +2,9 @@ include $(top_srcdir)/config/Rules.am
 
 DEFAULT_INCLUDES += -I$(srcdir)
 
+# See https://debbugs.gnu.org/cgi/bugreport.cgi?bug=54020
+AM_CFLAGS += -no-suppress
+
 noinst_LTLIBRARIES = libshare.la
 
 USER_C = \
index 61432225a70880c6628a75f7d194044bbef3083d..b59919bfb9e9533f26d9277cafce3220a77e6f12 100644 (file)
@@ -2,6 +2,9 @@ include $(top_srcdir)/config/Rules.am
 
 SUBDIRS = include
 
+# See https://debbugs.gnu.org/cgi/bugreport.cgi?bug=54020
+AM_CFLAGS += -no-suppress
+
 noinst_LTLIBRARIES = libspl_assert.la libspl.la
 
 libspl_assert_la_SOURCES = \
index 3aff56f05f1e70ebbf2b23202fde328b80d09cc2..ce9d03a67919a6af599fd25e85f913851bc6e395 100644 (file)
@@ -3,6 +3,9 @@ include $(top_srcdir)/config/Rules.am
 # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61118
 AM_CFLAGS += $(NO_CLOBBERED)
 
+# See https://debbugs.gnu.org/cgi/bugreport.cgi?bug=54020
+AM_CFLAGS += -no-suppress
+
 noinst_LTLIBRARIES = libtpool.la
 
 USER_C = \
index b82975f68efdb0950ffb28f532434f09c66e7dbf..5b12b3e916f3c569819281d53468a4969bc00703 100644 (file)
@@ -5,6 +5,9 @@ VPATH = $(top_srcdir)/module/unicode
 # Includes kernel code, generate warnings for large stack frames
 AM_CFLAGS += $(FRAME_LARGER_THAN)
 
+# See https://debbugs.gnu.org/cgi/bugreport.cgi?bug=54020
+AM_CFLAGS += -no-suppress
+
 noinst_LTLIBRARIES = libunicode.la
 
 KERNEL_C = \
index 16d5023451bba8793ded1433ab9be071a8a041fd..05b7ed0db8cb43f863798811ed9853d04e8f13b3 100644 (file)
@@ -1,5 +1,8 @@
 include $(top_srcdir)/config/Rules.am
 
+# See https://debbugs.gnu.org/cgi/bugreport.cgi?bug=54020
+AM_CFLAGS += -no-suppress
+
 lib_LTLIBRARIES = libuutil.la
 
 include $(top_srcdir)/config/Abigail.am
index 7acaee4183a5bba5c675f5d48d83b9b5fb1d71a3..77e12b9e8d8ad5abf854ea6422e872359c716ff1 100644 (file)
@@ -8,6 +8,9 @@ VPATH = \
 # Suppress unused but set variable warnings often due to ASSERTs
 AM_CFLAGS += $(LIBCRYPTO_CFLAGS) $(ZLIB_CFLAGS)
 
+# See https://debbugs.gnu.org/cgi/bugreport.cgi?bug=54020
+AM_CFLAGS += -no-suppress
+
 pkgconfig_DATA = libzfs.pc
 
 lib_LTLIBRARIES = libzfs.la
index 67e554dc8706627d916e33f38de467fc5b79554c..33a889a09586e3aa3239e525ca81c22d2a26958a 100644 (file)
@@ -2,6 +2,9 @@ include $(top_srcdir)/config/Rules.am
 
 pkgconfig_DATA = libzfs_core.pc
 
+# See https://debbugs.gnu.org/cgi/bugreport.cgi?bug=54020
+AM_CFLAGS += -no-suppress
+
 lib_LTLIBRARIES = libzfs_core.la
 
 include $(top_srcdir)/config/Abigail.am
index 984df0b8a353e6ff743a42665d4e23e22c8d1a84..8a6bb76acfe7c82dcbb3d6482d82e7a5003cf225 100644 (file)
@@ -2,6 +2,9 @@ include $(top_srcdir)/config/Rules.am
 
 pkgconfig_DATA = libzfsbootenv.pc
 
+# See https://debbugs.gnu.org/cgi/bugreport.cgi?bug=54020
+AM_CFLAGS += -no-suppress
+
 lib_LTLIBRARIES = libzfsbootenv.la
 
 include $(top_srcdir)/config/Abigail.am
index db7c376318d556a38b5611e164d70d043bf1ade3..4ce3b4cd2f1de856ef92882713684840ae89c4eb 100644 (file)
@@ -24,6 +24,9 @@ AM_CFLAGS += $(ZLIB_CFLAGS)
 
 AM_CFLAGS += -DLIB_ZPOOL_BUILD
 
+# See https://debbugs.gnu.org/cgi/bugreport.cgi?bug=54020
+AM_CFLAGS += -no-suppress
+
 lib_LTLIBRARIES = libzpool.la
 
 USER_C = \
index c9ed7e2aafbcf906c4935207613a4f19d5432b87..e3bc5c446ee93705107f5e5859b40614e3927488 100644 (file)
@@ -5,6 +5,8 @@ VPATH = $(top_srcdir)/module/zstd
 # -fno-tree-vectorize is set for gcc in zstd/common/compiler.h
 # Set it for other compilers, too.
 AM_CFLAGS += -fno-tree-vectorize
+# See https://debbugs.gnu.org/cgi/bugreport.cgi?bug=54020
+AM_CFLAGS += -no-suppress
 
 noinst_LTLIBRARIES = libzstd.la
 
index 6351e0ebf64bec1655c75d883b2db48cefd5dc10..f55b7798f1c0b340e79dce3064f3eaa8a9cf9376 100644 (file)
@@ -2,6 +2,9 @@ include $(top_srcdir)/config/Rules.am
 
 AM_CFLAGS += $(LIBBLKID_CFLAGS) $(LIBUDEV_CFLAGS)
 
+# See https://debbugs.gnu.org/cgi/bugreport.cgi?bug=54020
+AM_CFLAGS += -no-suppress
+
 DEFAULT_INCLUDES += -I$(srcdir)
 
 noinst_LTLIBRARIES = libzutil.la