]> git.ipfire.org Git - thirdparty/gcc.git/commit
libsanitizer: Fix build with glibc 2.42
authorFlorian Weimer <fweimer@redhat.com>
Fri, 2 May 2025 15:41:43 +0000 (17:41 +0200)
committerSam James <sam@gentoo.org>
Thu, 31 Jul 2025 00:58:29 +0000 (01:58 +0100)
commitf0feb51ff40553643c582ec9c3ca7f293721ddc8
tree78a9d0117f84e6cfa0e6936873f7ecdf4878df36
parente2b965c44f5059a6f8d56d439e57847517df040b
libsanitizer: Fix build with glibc 2.42

The termio structure will be removed from glibc 2.42.  It has
been deprecated since the late 80s/early 90s.

Cherry-picked from LLVM commit 59978b21ad9c65276ee8e14f26759691b8a65763
("[sanitizer_common] Remove interceptors for deprecated struct termio
(#137403)").

Co-Authored-By: Tom Stellard <tstellar@redhat.com>
libsanitizer/

* sanitizer_common/sanitizer_common_interceptors_ioctl.inc: Cherry
picked from LLVM commit 59978b21ad9c65276ee8e14f26759691b8a65763.
* sanitizer_common/sanitizer_platform_limits_posix.cpp: Likewise.
* sanitizer_common/sanitizer_platform_limits_posix.h: Likewise.

(cherry picked from commit 1789c57dc97ea2f9819ef89e28bf17208b6208e7)
libsanitizer/sanitizer_common/sanitizer_common_interceptors_ioctl.inc
libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp
libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h