binutils-gdb/gnulib/import
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
..
extra Update gnulib 2022-04-18 10:14:04 -06:00
glthread Update gnulib 2022-04-18 10:14:04 -06:00
m4 [PR build/29791] gnulib: Disable _GL_ATTRIBUTE_DEALLOC on Solaris 2022-11-20 14:55:52 +01:00
malloc Update gnulib 2022-04-18 10:14:04 -06:00
_Noreturn.h Update gnulib 2022-04-18 10:14:04 -06:00
accept.c Update gnulib 2022-04-18 10:14:04 -06:00
alloca.c Update gnulib 2022-04-18 10:14:04 -06:00
alloca.in.h Update gnulib 2022-04-18 10:14:04 -06:00
arg-nonnull.h Update gnulib 2022-04-18 10:14:04 -06:00
arpa_inet.in.h Update gnulib 2022-04-18 10:14:04 -06:00
assure.h Update gnulib 2022-04-18 10:14:04 -06:00
at-func.c Update gnulib 2022-04-18 10:14:04 -06:00
attribute.h Update gnulib 2022-04-18 10:14:04 -06:00
basename-lgpl.c Update gnulib 2022-04-18 10:14:04 -06:00
basename-lgpl.h Update gnulib 2022-04-18 10:14:04 -06:00
bind.c Update gnulib 2022-04-18 10:14:04 -06:00
btowc.c Update gnulib 2022-04-18 10:14:04 -06:00
c++defs.h Update gnulib 2022-04-18 10:14:04 -06:00
canonicalize-lgpl.c Update gnulib 2022-04-18 10:14:04 -06:00
cdefs.h Update gnulib 2022-04-18 10:14:04 -06:00
chdir-long.c Update gnulib 2022-04-18 10:14:04 -06:00
chdir-long.h Update gnulib 2022-04-18 10:14:04 -06:00
chown.c Update gnulib 2022-04-18 10:14:04 -06:00
cloexec.c Update gnulib 2022-04-18 10:14:04 -06:00
cloexec.h Update gnulib 2022-04-18 10:14:04 -06:00
close.c Update gnulib 2022-04-18 10:14:04 -06:00
closedir.c Update gnulib 2022-04-18 10:14:04 -06:00
connect.c Update gnulib 2022-04-18 10:14:04 -06:00
count-one-bits.c Update gnulib 2022-04-18 10:14:04 -06:00
count-one-bits.h Update gnulib 2022-04-18 10:14:04 -06:00
ctype.in.h Update gnulib 2022-04-18 10:14:04 -06:00
dirent-private.h Update gnulib 2022-04-18 10:14:04 -06:00
dirent.in.h Update gnulib 2022-04-18 10:14:04 -06:00
dirfd.c Update gnulib 2022-04-18 10:14:04 -06:00
dirname-lgpl.c Update gnulib 2022-04-18 10:14:04 -06:00
dirname.h Update gnulib 2022-04-18 10:14:04 -06:00
dup2.c Update gnulib 2022-04-18 10:14:04 -06:00
dup-safer-flag.c Update gnulib 2022-04-18 10:14:04 -06:00
dup-safer.c Update gnulib 2022-04-18 10:14:04 -06:00
dup.c Update gnulib 2022-04-18 10:14:04 -06:00
eloop-threshold.h Update gnulib 2022-04-18 10:14:04 -06:00
errno.in.h Update gnulib 2022-04-18 10:14:04 -06:00
error.c Update gnulib 2022-04-18 10:14:04 -06:00
error.h Update gnulib 2022-04-18 10:14:04 -06:00
exitfail.c Update gnulib 2022-04-18 10:14:04 -06:00
exitfail.h Update gnulib 2022-04-18 10:14:04 -06:00
fchdir.c Update gnulib 2022-04-18 10:14:04 -06:00
fchown-stub.c Update gnulib 2022-04-18 10:14:04 -06:00
fcntl.c Update gnulib 2022-04-18 10:14:04 -06:00
fcntl.in.h Update gnulib 2022-04-18 10:14:04 -06:00
fd-hook.c Update gnulib 2022-04-18 10:14:04 -06:00
fd-hook.h Update gnulib 2022-04-18 10:14:04 -06:00
fd-safer-flag.c Update gnulib 2022-04-18 10:14:04 -06:00
fd-safer.c Update gnulib 2022-04-18 10:14:04 -06:00
fdopendir.c Update gnulib 2022-04-18 10:14:04 -06:00
ffs.c Update gnulib 2022-04-18 10:14:04 -06:00
filename.h Update gnulib 2022-04-18 10:14:04 -06:00
filenamecat-lgpl.c Update gnulib 2022-04-18 10:14:04 -06:00
filenamecat.h Update gnulib 2022-04-18 10:14:04 -06:00
flexmember.h Update gnulib 2022-04-18 10:14:04 -06:00
float.c Update gnulib 2022-04-18 10:14:04 -06:00
float.in.h Update gnulib 2022-04-18 10:14:04 -06:00
float+.h Update gnulib 2022-04-18 10:14:04 -06:00
fnmatch_loop.c Update gnulib 2022-04-18 10:14:04 -06:00
fnmatch.c Update gnulib 2022-04-18 10:14:04 -06:00
fnmatch.in.h Update gnulib 2022-04-18 10:14:04 -06:00
fpucw.h Update gnulib 2022-04-18 10:14:04 -06:00
free.c Update gnulib 2022-04-18 10:14:04 -06:00
frexp.c Update gnulib 2022-04-18 10:14:04 -06:00
frexpl.c Update gnulib 2022-04-18 10:14:04 -06:00
fstat.c Update gnulib 2022-04-18 10:14:04 -06:00
fstatat.c Update gnulib 2022-04-18 10:14:04 -06:00
getcwd-lgpl.c Update gnulib 2022-04-18 10:14:04 -06:00
getcwd.c Update gnulib 2022-04-18 10:14:04 -06:00
getdelim.c Update gnulib 2022-04-18 10:14:04 -06:00
getdtablesize.c Update gnulib 2022-04-18 10:14:04 -06:00
getline.c Update gnulib 2022-04-18 10:14:04 -06:00
getlogin_r.c Update gnulib 2022-04-18 10:14:04 -06:00
getprogname.c Update gnulib 2022-04-18 10:14:04 -06:00
getprogname.h Update gnulib 2022-04-18 10:14:04 -06:00
getrandom.c Update gnulib 2022-04-18 10:14:04 -06:00
gettext.h Update gnulib 2022-04-18 10:14:04 -06:00
gettimeofday.c Update gnulib 2022-04-18 10:14:04 -06:00
glob_internal.h Update gnulib 2022-04-18 10:14:04 -06:00
glob_pattern_p.c Update gnulib 2022-04-18 10:14:04 -06:00
glob-libc.h Update gnulib 2022-04-18 10:14:04 -06:00
glob.c gnulib: update to bd11400942d6 2022-05-02 10:54:19 -04:00
glob.in.h Update gnulib 2022-04-18 10:14:04 -06:00
globfree.c Update gnulib 2022-04-18 10:14:04 -06:00
hard-locale.c Update gnulib 2022-04-18 10:14:04 -06:00
hard-locale.h Update gnulib 2022-04-18 10:14:04 -06:00
idx.h Update gnulib 2022-04-18 10:14:04 -06:00
inet_ntop.c Update gnulib 2022-04-18 10:14:04 -06:00
intprops.h Update gnulib 2022-04-18 10:14:04 -06:00
inttypes.in.h Update gnulib 2022-04-18 10:14:04 -06:00
isblank.c Update gnulib 2022-04-18 10:14:04 -06:00
isnan.c Update gnulib 2022-04-18 10:14:04 -06:00
isnand-nolibm.h Update gnulib 2022-04-18 10:14:04 -06:00
isnand.c Update gnulib 2022-04-18 10:14:04 -06:00
isnanl-nolibm.h Update gnulib 2022-04-18 10:14:04 -06:00
isnanl.c Update gnulib 2022-04-18 10:14:04 -06:00
itold.c Update gnulib 2022-04-18 10:14:04 -06:00
lc-charset-dispatch.c Update gnulib 2022-04-18 10:14:04 -06:00
lc-charset-dispatch.h Update gnulib 2022-04-18 10:14:04 -06:00
libc-config.h Update gnulib 2022-04-18 10:14:04 -06:00
limits.in.h Update gnulib 2022-04-18 10:14:04 -06:00
listen.c Update gnulib 2022-04-18 10:14:04 -06:00
localcharset.c Update gnulib 2022-04-18 10:14:04 -06:00
localcharset.h Update gnulib 2022-04-18 10:14:04 -06:00
locale.in.h Update gnulib 2022-04-18 10:14:04 -06:00
lstat.c Update gnulib 2022-04-18 10:14:04 -06:00
Makefile.am Update gnulib 2022-04-18 10:14:04 -06:00
Makefile.in Update gnulib 2022-04-18 10:14:04 -06:00
malloc.c Update gnulib 2022-04-18 10:14:04 -06:00
malloca.c Update gnulib 2022-04-18 10:14:04 -06:00
malloca.h Update gnulib 2022-04-18 10:14:04 -06:00
math.c Update gnulib 2022-04-18 10:14:04 -06:00
math.in.h Update gnulib 2022-04-18 10:14:04 -06:00
mbrtowc-impl-utf8.h Update gnulib 2022-04-18 10:14:04 -06:00
mbrtowc-impl.h Update gnulib 2022-04-18 10:14:04 -06:00
mbrtowc.c Update gnulib 2022-04-18 10:14:04 -06:00
mbsinit.c Update gnulib 2022-04-18 10:14:04 -06:00
mbsrtowcs-impl.h Update gnulib 2022-04-18 10:14:04 -06:00
mbsrtowcs-state.c Update gnulib 2022-04-18 10:14:04 -06:00
mbsrtowcs.c Update gnulib 2022-04-18 10:14:04 -06:00
mbtowc-impl.h Update gnulib 2022-04-18 10:14:04 -06:00
mbtowc-lock.c Update gnulib 2022-04-18 10:14:04 -06:00
mbtowc-lock.h Update gnulib 2022-04-18 10:14:04 -06:00
mbtowc.c Update gnulib 2022-04-18 10:14:04 -06:00
memchr.c Update gnulib 2022-04-18 10:14:04 -06:00
memchr.valgrind Update gnulib 2022-04-18 10:14:04 -06:00
memmem.c Update gnulib 2022-04-18 10:14:04 -06:00
mempcpy.c Update gnulib 2022-04-18 10:14:04 -06:00
memrchr.c Update gnulib 2022-04-18 10:14:04 -06:00
minmax.h Update gnulib 2022-04-18 10:14:04 -06:00
mkdir.c Update gnulib 2022-04-18 10:14:04 -06:00
mkdtemp.c Update gnulib 2022-04-18 10:14:04 -06:00
mkostemp.c Update gnulib 2022-04-18 10:14:04 -06:00
msvc-inval.c Update gnulib 2022-04-18 10:14:04 -06:00
msvc-inval.h Update gnulib 2022-04-18 10:14:04 -06:00
msvc-nothrow.c Update gnulib 2022-04-18 10:14:04 -06:00
msvc-nothrow.h Update gnulib 2022-04-18 10:14:04 -06:00
netdb.in.h Update gnulib 2022-04-18 10:14:04 -06:00
netinet_in.in.h Update gnulib 2022-04-18 10:14:04 -06:00
open.c Update gnulib 2022-04-18 10:14:04 -06:00
openat-die.c Update gnulib 2022-04-18 10:14:04 -06:00
openat-priv.h Update gnulib 2022-04-18 10:14:04 -06:00
openat-proc.c Update gnulib 2022-04-18 10:14:04 -06:00
openat.c Update gnulib 2022-04-18 10:14:04 -06:00
openat.h Update gnulib 2022-04-18 10:14:04 -06:00
opendir.c Update gnulib 2022-04-18 10:14:04 -06:00
pathmax.h Update gnulib 2022-04-18 10:14:04 -06:00
pipe-safer.c Update gnulib 2022-04-18 10:14:04 -06:00
pipe.c Update gnulib 2022-04-18 10:14:04 -06:00
rawmemchr.c Update gnulib 2022-04-18 10:14:04 -06:00
rawmemchr.valgrind Update gnulib 2022-04-18 10:14:04 -06:00
readdir.c Update gnulib 2022-04-18 10:14:04 -06:00
readlink.c Update gnulib 2022-04-18 10:14:04 -06:00
realloc.c Update gnulib 2022-04-18 10:14:04 -06:00
rename.c Update gnulib 2022-04-18 10:14:04 -06:00
rewinddir.c Update gnulib 2022-04-18 10:14:04 -06:00
rmdir.c Update gnulib 2022-04-18 10:14:04 -06:00
same-inode.h Update gnulib 2022-04-18 10:14:04 -06:00
save-cwd.c Update gnulib 2022-04-18 10:14:04 -06:00
save-cwd.h Update gnulib 2022-04-18 10:14:04 -06:00
scratch_buffer.h Update gnulib 2022-04-18 10:14:04 -06:00
select.c Update gnulib 2022-04-18 10:14:04 -06:00
setenv.c Update gnulib 2022-04-18 10:14:04 -06:00
setlocale_null.c Update gnulib 2022-04-18 10:14:04 -06:00
setlocale_null.h Update gnulib 2022-04-18 10:14:04 -06:00
setlocale-lock.c Update gnulib 2022-04-18 10:14:04 -06:00
setsockopt.c Update gnulib 2022-04-18 10:14:04 -06:00
signal.in.h Update gnulib 2022-04-18 10:14:04 -06:00
socket.c Update gnulib 2022-04-18 10:14:04 -06:00
sockets.c Update gnulib 2022-04-18 10:14:04 -06:00
sockets.h Update gnulib 2022-04-18 10:14:04 -06:00
stat-time.c Update gnulib 2022-04-18 10:14:04 -06:00
stat-time.h Update gnulib 2022-04-18 10:14:04 -06:00
stat-w32.c Update gnulib 2022-04-18 10:14:04 -06:00
stat-w32.h Update gnulib 2022-04-18 10:14:04 -06:00
stat.c Update gnulib 2022-04-18 10:14:04 -06:00
stdalign.in.h Update gnulib 2022-04-18 10:14:04 -06:00
stdbool.in.h Update gnulib 2022-04-18 10:14:04 -06:00
stddef.in.h Update gnulib 2022-04-18 10:14:04 -06:00
stdint.in.h Update gnulib 2022-04-18 10:14:04 -06:00
stdio-read.c Update gnulib 2022-04-18 10:14:04 -06:00
stdio-write.c Update gnulib 2022-04-18 10:14:04 -06:00
stdio.in.h Update gnulib 2022-04-18 10:14:04 -06:00
stdlib.in.h gnulib: update to bd11400942d6 2022-05-02 10:54:19 -04:00
str-two-way.h Update gnulib 2022-04-18 10:14:04 -06:00
strchrnul.c Update gnulib 2022-04-18 10:14:04 -06:00
strchrnul.valgrind Update gnulib 2022-04-18 10:14:04 -06:00
strdup.c Update gnulib 2022-04-18 10:14:04 -06:00
streq.h Update gnulib 2022-04-18 10:14:04 -06:00
strerror_r.c Update gnulib 2022-04-18 10:14:04 -06:00
strerror-override.c Update gnulib 2022-04-18 10:14:04 -06:00
strerror-override.h Update gnulib 2022-04-18 10:14:04 -06:00
strerror.c Update gnulib 2022-04-18 10:14:04 -06:00
string.in.h gnulib: update to bd11400942d6 2022-05-02 10:54:19 -04:00
strings.in.h Update gnulib 2022-04-18 10:14:04 -06:00
stripslash.c Update gnulib 2022-04-18 10:14:04 -06:00
strnlen1.c Update gnulib 2022-04-18 10:14:04 -06:00
strnlen1.h Update gnulib 2022-04-18 10:14:04 -06:00
strnlen.c Update gnulib 2022-04-18 10:14:04 -06:00
strstr.c Update gnulib 2022-04-18 10:14:04 -06:00
strtok_r.c Update gnulib 2022-04-18 10:14:04 -06:00
sys_random.in.h Update gnulib 2022-04-18 10:14:04 -06:00
sys_select.in.h Update gnulib 2022-04-18 10:14:04 -06:00
sys_socket.c Update gnulib 2022-04-18 10:14:04 -06:00
sys_socket.in.h Update gnulib 2022-04-18 10:14:04 -06:00
sys_stat.in.h Update gnulib 2022-04-18 10:14:04 -06:00
sys_time.in.h Update gnulib 2022-04-18 10:14:04 -06:00
sys_types.in.h Update gnulib 2022-04-18 10:14:04 -06:00
sys_uio.in.h Update gnulib 2022-04-18 10:14:04 -06:00
sys_wait.in.h Update gnulib 2022-04-18 10:14:04 -06:00
tempname.c Update gnulib 2022-04-18 10:14:04 -06:00
tempname.h Update gnulib 2022-04-18 10:14:04 -06:00
time_r.c Update gnulib 2022-04-18 10:14:04 -06:00
time.in.h Update gnulib 2022-04-18 10:14:04 -06:00
unistd--.h Update gnulib 2022-04-18 10:14:04 -06:00
unistd-safer.h Update gnulib 2022-04-18 10:14:04 -06:00
unistd.c Update gnulib 2022-04-18 10:14:04 -06:00
unistd.in.h Update gnulib 2022-04-18 10:14:04 -06:00
unsetenv.c Update gnulib 2022-04-18 10:14:04 -06:00
verify.h gnulib: update to bd11400942d6 2022-05-02 10:54:19 -04:00
w32sock.h Update gnulib 2022-04-18 10:14:04 -06:00
warn-on-use.h Update gnulib 2022-04-18 10:14:04 -06:00
wchar.in.h Update gnulib 2022-04-18 10:14:04 -06:00
wctype-h.c Update gnulib 2022-04-18 10:14:04 -06:00
wctype.in.h Update gnulib 2022-04-18 10:14:04 -06:00
windows-initguard.h Update gnulib 2022-04-18 10:14:04 -06:00
windows-mutex.c Update gnulib 2022-04-18 10:14:04 -06:00
windows-mutex.h Update gnulib 2022-04-18 10:14:04 -06:00
windows-once.c Update gnulib 2022-04-18 10:14:04 -06:00
windows-once.h Update gnulib 2022-04-18 10:14:04 -06:00
windows-recmutex.c Update gnulib 2022-04-18 10:14:04 -06:00
windows-recmutex.h Update gnulib 2022-04-18 10:14:04 -06:00
windows-rwlock.c Update gnulib 2022-04-18 10:14:04 -06:00
windows-rwlock.h Update gnulib 2022-04-18 10:14:04 -06:00
wmemchr-impl.h Update gnulib 2022-04-18 10:14:04 -06:00
wmemchr.c Update gnulib 2022-04-18 10:14:04 -06:00
wmempcpy.c Update gnulib 2022-04-18 10:14:04 -06:00
xalloc-oversized.h Update gnulib 2022-04-18 10:14:04 -06:00