1*4b169a6bSchristosdiff --git a/gnulib/import/m4/gnulib-common.m4 b/gnulib/import/m4/gnulib-common.m4 2*4b169a6bSchristos--- a/gnulib/import/m4/gnulib-common.m4 3*4b169a6bSchristos+++ b/gnulib/import/m4/gnulib-common.m4 4*4b169a6bSchristos@@ -182,7 +182,8 @@ AC_DEFUN([gl_COMMON_BODY], [ 5*4b169a6bSchristos _GL_ATTRIBUTE_DEALLOC_FREE declares that the function returns pointers that 6*4b169a6bSchristos can be freed via 'free'; it can be used only after declaring 'free'. */ 7*4b169a6bSchristos /* Applies to: functions. Cannot be used on inline functions. */ 8*4b169a6bSchristos-#if _GL_GNUC_PREREQ (11, 0) 9*4b169a6bSchristos+/* Disable on Solaris to avoid GDB PR build/29791. */ 10*4b169a6bSchristos+#if _GL_GNUC_PREREQ (11, 0) && !(defined(__sun__) && defined(__svr4__)) 11*4b169a6bSchristos # define _GL_ATTRIBUTE_DEALLOC(f, i) __attribute__ ((__malloc__ (f, i))) 12*4b169a6bSchristos #else 13*4b169a6bSchristos # define _GL_ATTRIBUTE_DEALLOC(f, i) 14