https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99984
--- Comment #6 from Martin Sebor <msebor at gcc dot gnu.org> --- The same change should be made there (in uclibc). FWIW, I looked for a bug database to report the problem there but, AFAICS, uclibc-ng is the currently maintained fork, but it has no bug database (https://bugs.uclibc.org looks like the old one). If you know where to report bugs I'd suggest you open a request there. Short of changing the upstream headers, the two alternatives to avoid this problem in GCC that come to mind are: 1) add a pthread_setspecific declaration with the attribute to GCC source code, or 2) add a pthread_setspecific built-in to GCC. (But I mention all this to raise awareness of the problem and the available suppression mechanism, not to lecture anyone. If you don't find it helpful feel free to disregard it.)