Thread stack size issue related to glibc TLS bug

Jiangli Zhou jianglizhou at
Fri May 24 20:29:11 UTC 2019

Hi Florian,

On Fri, May 24, 2019 at 2:46 AM Florian Weimer <fweimer at> wrote:
> * Jiangli Zhou:
> > [3] change:
> > (contributed by Jeremy Manson)
> _dl_get_tls_static_info is an internal symbol (it carries a
> GLIBC_PRIVATE symbol version).  Its implementation can change at any
> time.  Please do not do this.

Point taken. Thanks.

It appears that asan is already carrying the same type of fix:

As the issue has not been able to be addressed in the glibc layer, all
the others have to workaround it (and possibly by using the glibc
private APIs, _dl_get_tls_static_info or __pthread_get_minstack). That
would cause more dependencies on the private APIs.

One alternative (besides fixing glibc) may be making
_dl_get_tls_static_info public. Would that be possible?


> Thanks,
> Florian

More information about the core-libs-dev mailing list