]> Savannah Git Hosting - gnulib.git/commitdiff
uniname/uniname: Add comments.
authorBruno Haible <bruno@clisp.org>
Sun, 4 Jun 2023 12:08:24 +0000 (14:08 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 4 Jun 2023 12:08:24 +0000 (14:08 +0200)
* modules/uniname/uniname (Makefile.am): Explain how to work around a
GCC bug.

ChangeLog
modules/uniname/uniname

index 72afbccd728fb6f8a817055248d405a5a490f5ea..83763426686c7f9d997bd82cc5fab3db3f367cf5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+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.
+
 2023-06-04  Bruno Haible  <bruno@clisp.org>
 
        uniname/uniname: Fix -Wformat-signedness warning.
index d71fe4ed11133055b07206ba68649aa3f42a629b..826a2290f3d103d1e7b4a34067108fadf6fc0f08 100644 (file)
@@ -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