[PATCH glibc] nptl_db: different libpthread/ld.so load orders (bug 27744)

Florian Weimer fweimer@redhat.com
Fri Apr 16 18:35:21 GMT 2021


* Simon Marchi:

> Is it possible to have a completely static executable that doesn't use
> ld.so but uses pthreads?

Absolutely, the new nptl/tst-pthread-gdb-attach-static shows that TLS is
already supported in GDB.

(In v2 of the patch, the test will actually run …)

Thanks,
Florian



More information about the Libc-alpha mailing list