-
Jan Kiszka authored
glibx 2.34 and newer annotated pthread_setspecific in a way that gcc-11 complains about non-NULL pointers that are outside of what is considered valid. So use dummy addresses instead. namely the related pthread keys. Those pointers will never be dereferenced in both use cases. See also https://sourceware.org/bugzilla/show_bug.cgi?id=28458 . Reported-by: Vitaly Chikunov <vt@altlinux.org> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
627d488d