If the headers don't need them, is the documentation of the -pthread option in gcc(1) accurate (says -D_THREAD_SAFE should be supplied when compiling with -pthread)? I assume not. If not, then this bug becomes just a documentation bug for -current.