Hi Florian, On Fri, May 24, 2019 at 2:46 AM Florian Weimer <[email protected]> wrote: > > * Jiangli Zhou: > > > [3] change: http://cr.openjdk.java.net/~jiangli/tls_size/webrev/ > > (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: https://github.com/gcc-mirror/gcc/blob/master/libsanitizer/sanitizer_common/sanitizer_linux_libcdep.cc 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? Best, Jiangli > > Thanks, > Florian
