Checking patch elf/tst-tls_tp_offset.c... error: while searching for: ptrdiff_t block_offset = ((struct link_map *) _r_debug.r_map)->l_tls_offset; printf ("main program TLS block offset: %td\n", block_offset); if ((uintptr_t) &thread_var < (uintptr_t) pthread_self ()) { puts("TLS variables are located before struct pthread."); TEST_COMPARE (((intptr_t) __thread_pointer () - block_offset) error: patch failed: elf/tst-tls_tp_offset.c:37 error: elf/tst-tls_tp_offset.c: patch does not apply