]> git.ipfire.org Git - thirdparty/glibc.git/commit
Enable --enable-fortify-source with clang
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 20 Nov 2025 18:30:11 +0000 (15:30 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Fri, 21 Nov 2025 16:13:11 +0000 (13:13 -0300)
commit8d26bed1ebcefd5d2059fd7d7462bdf6593d77fa
treec48233a37c87ba56389fed5c6d2871a27e9318f4
parent25de0771ecac240a54f03ab55247d92457e4c310
Enable --enable-fortify-source with clang

clang generates internal calls for some _chk symbol, so add internal
aliases for them, and stub some with rtld-stubbed-symbols to avoid
ld.so linker issues.

Reviewed-by: Sam James <sam@gentoo.org>
20 files changed:
debug/vasprintf_chk.c
debug/vfprintf_chk.c
elf/Makefile
include/arpa/inet.h
include/bits/inet-fortified-decl.h
include/bits/stdio2-decl.h
include/bits/string_fortified.h
include/bits/syslog-decl.h
include/bits/unistd-decl.h
include/bits/wchar2-decl.h
include/stdio.h
include/unistd.h
include/wchar.h
inet/bits/inet-fortified.h
libio/Makefile
misc/syslog.c
string/Makefile
sysdeps/generic/symbol-hacks.h
sysdeps/ieee754/ldbl-128ibm-compat/ieee128-snprintf.c
sysdeps/ieee754/ldbl-128ibm-compat/ieee128-syslog.c