bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

uniname/uniname: Add comments


From: Bruno Haible
Subject: uniname/uniname: Add comments
Date: Sun, 04 Jun 2023 14:10:36 +0200

This patch adds comments, how to avoid excessive compilation times due to
"gcc -fanalyzer".


2023-06-04  Bruno Haible  <bruno@clisp.org>

        uniname/uniname: Add comments.
        * modules/uniname/uniname (Makefile.am): Explain how to work around a
        GCC bug.

diff --git a/modules/uniname/uniname b/modules/uniname/uniname
index d71fe4ed11..826a2290f3 100644
--- a/modules/uniname/uniname
+++ b/modules/uniname/uniname
@@ -18,6 +18,13 @@ gl_LIBUNISTRING_MODULE([1.1], [uniname/uniname])
 
 Makefile.am:
 if LIBUNISTRING_COMPILE_UNINAME_UNINAME
+# Note: Compilation of this file takes a long time with gcc ≥ 11 and option
+# -fanalyzer. See <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110112>.
+# The best workaround is to install GNU libunistring first, and use module
+# 'libunistring-optional' in your package.
+# An alternative workaround would be to pass the option -fno-analyzer, using
+# the technique from
+# 
https://www.gnu.org/software/automake/manual/html_node/Per_002dObject-Flags.html
 lib_SOURCES += uniname/uniname.c
 endif
 






reply via email to

[Prev in Thread] Current Thread [Next in Thread]