From abdd97e540edeb0d61b6598e789b2536d8c271db Mon Sep 17 00:00:00 2001 From: Daniel Stone Date: Tue, 2 Jun 2026 12:10:26 +0100 Subject: [PATCH] symbols-check: Ignore more pthread symbols We have yet more pthread-related symbols to be marked as weak, as well as statx as a fallback for older systems. Add these to the list along with the rest of the related symbols, since we can't stop glibc from exporting them. Part-of: --- bin/symbols-check.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/bin/symbols-check.py b/bin/symbols-check.py index 3338db16017..5a14fa8b24e 100644 --- a/bin/symbols-check.py +++ b/bin/symbols-check.py @@ -42,6 +42,7 @@ PLATFORM_SYMBOLS = [ '__cxa_uncaught_exception', '__cxa_uncaught_exceptions', '__cxa_unexpected_handler', + '__cxa_thread_atexit_impl', '__deregister_frame_info', '__deregister_frame_info_bases', '__dynamic_cast', @@ -61,9 +62,16 @@ PLATFORM_SYMBOLS = [ '_fini', '_ftext', '_init', + 'copy_file_range', + 'gettid', + 'pidfd_getpid', + 'pidfd_spawnp', + 'posix_spawn_file_actions_addchdir', + 'posix_spawn_file_actions_addchdir_np', 'pthread_mutexattr_destroy', 'pthread_mutexattr_init', 'pthread_mutexattr_settype', + 'statx', ]