Checking patch elf/dl-tls.c... error: while searching for: } /* Allocate initial TLS. RESULT should be a non-NULL pointer to storage for the TLS space. The DTV may be resized, and so this function may call malloc to allocate that space. The loader's GL(dl_load_tls_lock) is taken when manipulating global TLS-related data in the loader. */ void * _dl_allocate_tls_init (void *result, bool init_tls) { if (result == NULL) /* The memory allocation failed. */ error: patch failed: elf/dl-tls.c:514 error: elf/dl-tls.c: patch does not apply Checking patch elf/rtld.c... error: while searching for: into the main thread's TLS area, which we allocated above. Note: thread-local variables must only be accessed after completing the next step. */ _dl_allocate_tls_init (tcbp, false); /* And finally install it for the main thread. */ if (! __rtld_tls_init_tp_called) error: patch failed: elf/rtld.c:2336 error: elf/rtld.c: patch does not apply Checking patch nptl/allocatestack.c... error: while searching for: memset (dtv, '\0', (dtv[-1].counter + 1) * sizeof (dtv_t)); /* Re-initialize the TLS. */ _dl_allocate_tls_init (TLS_TPADJ (result), true); return result; } error: patch failed: nptl/allocatestack.c:139 error: nptl/allocatestack.c: patch does not apply Checking patch sysdeps/generic/ldsodefs.h... error: while searching for: /* These are internal entry points to the two halves of _dl_allocate_tls, only used within rtld.c itself at startup time. */ extern void *_dl_allocate_tls_storage (void) attribute_hidden; extern void *_dl_allocate_tls_init (void *, bool); rtld_hidden_proto (_dl_allocate_tls_init) /* True if the TCB has been set up. */ error: patch failed: sysdeps/generic/ldsodefs.h:1203 error: sysdeps/generic/ldsodefs.h: patch does not apply