Checking patch elf/Makefile... error: while searching for: tst-dlmopen4 \ tst-dlopen-self \ tst-dlopen-tlsmodid \ tst-dlopenfail \ tst-dlopenfail-2 \ tst-dlopenrpath \ error: patch failed: elf/Makefile:416 error: elf/Makefile: patch does not apply Checking patch elf/dl-open.c... error: while searching for: { bool any_tls = false; for (unsigned int i = 0; i < new->l_searchlist.r_nlist; ++i) { struct link_map *imap = new->l_searchlist.r_list[i]; /* Only add TLS memory if this object is loaded now and therefore is not yet initialized. */ if (! imap->l_init_called && imap->l_tls_blocksize > 0) { _dl_add_to_slotinfo (imap, false); any_tls = true; } } return any_tls; } error: patch failed: elf/dl-open.c:363 error: elf/dl-open.c: patch does not apply Checking patch elf/dl-tls.c... error: while searching for: some platforms use in static programs requires it. */ dtv[map->l_tls_modid].pointer.val = dest; /* Copy the initialization image and clear the BSS part. For audit modules or dependencies with initial-exec TLS, we can not set the initial TLS image on default loader initialization because it would already be set by the audit setup. However, subsequent thread creation would need to follow the default behaviour. */ if (map->l_ns != LM_ID_BASE && main_thread) continue; memset (__mempcpy (dest, map->l_tls_initimage, map->l_tls_initimage_size), '\0', map->l_tls_blocksize - map->l_tls_initimage_size); } total += cnt; error: patch failed: elf/dl-tls.c:588 error: elf/dl-tls.c: patch does not apply Checking patch elf/tst-dlopen-tlsreinit1.c... error: elf/tst-dlopen-tlsreinit1.c: already exists in working directory Checking patch elf/tst-dlopen-tlsreinit2.c... error: elf/tst-dlopen-tlsreinit2.c: already exists in working directory Checking patch elf/tst-dlopen-tlsreinit3.c... error: elf/tst-dlopen-tlsreinit3.c: already exists in working directory Checking patch elf/tst-dlopen-tlsreinit4.c... error: elf/tst-dlopen-tlsreinit4.c: already exists in working directory Checking patch elf/tst-dlopen-tlsreinitmod1.c... error: elf/tst-dlopen-tlsreinitmod1.c: already exists in working directory Checking patch elf/tst-dlopen-tlsreinitmod2.c... error: elf/tst-dlopen-tlsreinitmod2.c: already exists in working directory Checking patch elf/tst-dlopen-tlsreinitmod3.c... error: elf/tst-dlopen-tlsreinitmod3.c: already exists in working directory Checking patch include/link.h... error: while searching for: unsigned int l_find_object_processed:1; /* Zero if _dl_find_object_update needs to process this lt_library map. */ /* NODELETE status of the map. Only valid for maps of type lt_loaded. Lazy binding sets l_nodelete_active directly, error: patch failed: include/link.h:212 error: include/link.h: patch does not apply Checking patch sysdeps/generic/ldsodefs.h... error: while searching for: /* Add module to slot information data. If DO_ADD is false, only the required memory is allocated. Must be called with GL (dl_load_tls_lock) acquired. If the function has already been called for the link map L with !do_add, then this function will not raise an exception, otherwise it is possible that it encounters a memory allocation failure. */ extern void _dl_add_to_slotinfo (struct link_map *l, bool do_add) attribute_hidden; /* Update slot information data for at least the generation of the error: patch failed: sysdeps/generic/ldsodefs.h:1253 error: sysdeps/generic/ldsodefs.h: patch does not apply