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: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41841>
This commit is contained in:
Daniel Stone 2026-06-02 12:10:26 +01:00 committed by Marge Bot
parent 2a416638a8
commit abdd97e540

View file

@ -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',
]