binutils-gdb/gnulib
Rainer Orth 10a63f80ae [PR build/29791] gnulib: Disable _GL_ATTRIBUTE_DEALLOC on Solaris
gdbsupport compilation badly fails with GCC 12 on Solaris, with errors
like

../gnulib/config.h:1693:72: error: ‘malloc’ attribute argument 1 is ambiguous
 1693 | # define _GL_ATTRIBUTE_DEALLOC(f, i) __attribute__ ((__malloc__ (f, i)))
      |                                                                        ^
../gnulib/config.h:1693:72: note: use a cast to the expected type to disambiguate

We've not yet been able to determine where the ambiguity actually lies,
so this patch works around the issue by disabling _GL_ATTRIBUTE_DEALLOC
on Solaris, at least as a workaround for GDB 13.

As Tom suggested in the PR, this is done using our infrastructure for
local gnulib patches.

Tested on sparcv9-sun-solaris2.11, amd64-pc-solaris2.11, and
x86_64-pc-linux-gnu.

Approved-By: Simon Marchi <simon.marchi@efficios.com>
2022-11-20 14:55:52 +01:00
..
doc Update gnulib 2022-04-18 10:14:04 -06:00
import [PR build/29791] gnulib: Disable _GL_ATTRIBUTE_DEALLOC on Solaris 2022-11-20 14:55:52 +01:00
patches [PR build/29791] gnulib: Disable _GL_ATTRIBUTE_DEALLOC on Solaris 2022-11-20 14:55:52 +01:00
aclocal.m4 Update gnulib 2022-04-18 10:14:04 -06:00
ChangeLog gnulib: define the path to gnulib's parent dir 2021-06-14 18:01:20 -04:00
config.in [PR build/29791] gnulib: Disable _GL_ATTRIBUTE_DEALLOC on Solaris 2022-11-20 14:55:52 +01:00
configure gnulib: update to bd11400942d6 2022-05-02 10:54:19 -04:00
configure.ac Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
Makefile.am Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
Makefile.gnulib.inc.in Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
Makefile.in Update gnulib 2022-04-18 10:14:04 -06:00
README
update-gnulib.sh [PR build/29791] gnulib: Disable _GL_ATTRIBUTE_DEALLOC on Solaris 2022-11-20 14:55:52 +01:00

This is an import of gnulib that is used by gdb and gdbserver.

To send patches, follow the gdb patch submission instructions in
../gdb/CONTRIBUTE.  For maintainers, see ../gdb/MAINTAINERS.

See update-gnulib.sh for instructions on updating gnulib.