I checked in the patch. The problem, at least for libgomp testsuite, is GCC is not correctly emitting the definitions of some variables specified with
#pragma omp threadprivate(XXX) The symptoms are the variable is placed in a TLS section anchor block, which never should happen, or the BSS variable is not visible. - David