https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120933
--- Comment #12 from H.J. Lu <hjl.tools at gmail dot com> --- (In reply to Sam James from comment #11) > (In reply to H.J. Lu from comment #10) > > Do we need to check both glibc and ld for > > GLIBC_ABI_GNU_TLS/GLIBC_ABI_GNU2_TLS > > support? > > If binutils has the default --enable-gnu-tls-tag or --enable-gnu2-tls-tag > value, or is explicitly enabled by the user, then we can check if a test > program has the tag. If it doesn't have the tag, then either binutils is too > old, or glibc is too old (or both). Sounds good to me.