Checking patch elf/circleload1.c... error: while searching for: for (lm = MAPS; lm != NULL; lm = l_next (lm)) { if (lm->l_public.l_name && lm->l_public.l_name[0]) printf(" %s, count = %d\n", lm->l_public.l_name, (int) lm->l_direct_opencount); if (lm->l_type == lt_loaded && lm->l_public.l_name) { int match = 0; error: patch failed: elf/circleload1.c:29 error: elf/circleload1.c: patch does not apply Checking patch elf/dl-call_fini.c... error: while searching for: map->l_public.l_name, map->l_ns); /* Make sure nothing happens if we are called twice. */ map->l_init_called = 0; ElfW(Dyn) *fini_array = map->l_info[DT_FINI_ARRAY]; if (fini_array != NULL) error: patch failed: elf/dl-call_fini.c:30 error: elf/dl-call_fini.c: patch does not apply Checking patch elf/dl-close.c... error: while searching for: _dl_close_worker (struct link_map_private *map, bool force) { /* One less direct use. */ --map->l_direct_opencount; /* If _dl_close is called recursively (some destructor call dlclose), just record that the parent _dl_close will need to do garbage collection again and return. */ static enum { not_pending, pending, rerun } dl_close_state; if (map->l_direct_opencount > 0 || map->l_type != lt_loaded || dl_close_state != not_pending) { if (map->l_direct_opencount == 0 && map->l_type == lt_loaded) dl_close_state = rerun; /* There are still references to this object. Do nothing more. */ if (__glibc_unlikely (GLRO(dl_debug_mask) & DL_DEBUG_FILES)) _dl_debug_printf ("\nclosing file=%s; direct_opencount=%u\n", map->l_public.l_name, map->l_direct_opencount); return; } error: patch failed: elf/dl-close.c:109 error: elf/dl-close.c: patch does not apply Checking patch elf/dl-deps.c... error: while searching for: /* Maybe we can remove some relocation dependencies now. */ struct link_map_reldeps *l_reldeps = NULL; if (map->l_reldeps != NULL) { for (i = 0; i < nlist; ++i) map->l_searchlist.r_list[i]->l_reserved = 1; /* Avoid removing relocation dependencies of the main binary. */ map->l_reserved = 0; struct link_map_private **list = &map->l_reldeps->list[0]; for (i = 0; i < map->l_reldeps->act; ++i) if (list[i]->l_reserved) { /* Need to allocate new array of relocation dependencies. */ l_reldeps = malloc (sizeof (*l_reldeps) + map->l_reldepsmax * sizeof (struct link_map_private *)); if (l_reldeps == NULL) /* Bad luck, keep the reldeps duplicated between error: patch failed: elf/dl-deps.c:483 error: elf/dl-deps.c: patch does not apply Checking patch elf/dl-find_object.c... Hunk #1 succeeded at 509 (offset 1 line). Checking patch elf/dl-fini.c... error: while searching for: { struct link_map_private *l = maps[i]; if (l->l_init_called) { _dl_call_fini (l); #ifdef SHARED error: patch failed: elf/dl-fini.c:109 error: elf/dl-fini.c: patch does not apply Checking patch elf/dl-init.c... error: while searching for: need relocation.) */ assert (l->l_relocated || l->l_type == lt_executable); if (l->l_init_called) /* This object is all done. */ return; /* Avoid handling this constructor again in case we have a circular dependency. */ l->l_init_called = 1; /* Check for object which constructors we do not run here. */ if (__builtin_expect (l->l_public.l_name[0], 'a') == '\0' error: patch failed: elf/dl-init.c:34 error: elf/dl-init.c: patch does not apply Checking patch elf/dl-lookup.c... error: while searching for: mark_nodelete (struct link_map_private *map, int flags) { if (flags & DL_LOOKUP_FOR_RELOCATE) map->l_nodelete_pending = true; else map->l_nodelete_active = true; } /* Return true if MAP is marked as NODELETE according to the lookup error: patch failed: elf/dl-lookup.c:175 error: elf/dl-lookup.c: patch does not apply Checking patch elf/dl-object.c... error: while searching for: + sizeof (*newname) + libname_len, 1); if (new == NULL) return NULL; new->l_real = new; new->l_symbolic_searchlist.r_list error: patch failed: elf/dl-object.c:94 error: elf/dl-object.c: patch does not apply Checking patch elf/dl-open.c... Hunk #1 succeeded at 262 (offset -1 lines). error: while searching for: struct link_map_private *imap = new->l_searchlist.r_list[i]; int from_scope = 0; if (imap->l_init_called && imap->l_type == lt_loaded) { if (scope_has_map (imap, new)) /* Avoid duplicates. */ error: patch failed: elf/dl-open.c:327 error: elf/dl-open.c: patch does not apply Checking patch elf/dl-sort-maps.c... error: while searching for: goto next; } if (__glibc_unlikely (for_fini && maps[k]->l_reldeps != NULL)) { unsigned int m = maps[k]->l_reldeps->act; struct link_map_private **relmaps = &maps[k]->l_reldeps->list[0]; /* Look through the relocation dependencies of the object. */ while (m-- > 0) error: patch failed: elf/dl-sort-maps.c:87 error: elf/dl-sort-maps.c: patch does not apply Checking patch elf/dl-support.c... error: while searching for: static struct link_map_private _dl_main_map = { .l_public = { .l_name = (char *) "", }, .l_real = &_dl_main_map, .l_ns = LM_ID_BASE, .l_libname = &(struct libname_list) { .name = "", .dont_free = 1 }, error: patch failed: elf/dl-support.c:81 error: elf/dl-support.c: patch does not apply Checking patch elf/get-dynamic-info.h... Checking patch elf/loadtest.c... error: while searching for: { \ for (map = MAPS; map != NULL; map = l_next (map)) \ if (map->l_type == lt_loaded) \ printf ("name = \"%s\", direct_opencount = %d\n", \ map->l_public.l_name, \ (int) map->l_direct_opencount); \ fflush (stdout); \ } \ while (0) error: patch failed: elf/loadtest.c:77 error: elf/loadtest.c: patch does not apply Checking patch elf/neededtest.c... error: while searching for: for (lm = MAPS; lm; lm = l_next (lm)) { if (lm->l_public.l_name && lm->l_public.l_name[0]) printf(" %s, count = %d\n", lm->l_public.l_name, (int) lm->l_direct_opencount); if (lm->l_type == lt_loaded && lm->l_public.l_name) { int match = 0; error: patch failed: elf/neededtest.c:29 error: elf/neededtest.c: patch does not apply Checking patch elf/neededtest2.c... error: while searching for: for (lm = MAPS; lm; lm = l_next (lm)) { if (lm->l_public.l_name && lm->l_public.l_name[0]) printf(" %s, count = %d\n", lm->l_public.l_name, (int) lm->l_direct_opencount); if (lm->l_type == lt_loaded && lm->l_public.l_name) { int match = 0; error: patch failed: elf/neededtest2.c:29 error: elf/neededtest2.c: patch does not apply Checking patch elf/neededtest3.c... error: while searching for: for (lm = MAPS; lm; lm = l_next (lm)) { if (lm->l_public.l_name && lm->l_public.l_name[0]) printf(" %s, count = %d\n", lm->l_public.l_name, (int) lm->l_direct_opencount); if (lm->l_type == lt_loaded && lm->l_public.l_name) { int match = 0; error: patch failed: elf/neededtest3.c:29 error: elf/neededtest3.c: patch does not apply Checking patch elf/neededtest4.c... error: while searching for: for (lm = MAPS; lm; lm = l_next (lm)) { if (lm->l_public.l_name && lm->l_public.l_name[0]) printf(" %s, count = %d\n", lm->l_public.l_name, (int) lm->l_direct_opencount); if (lm->l_type == lt_loaded && lm->l_public.l_name) { int match = 0; error: patch failed: elf/neededtest4.c:29 error: elf/neededtest4.c: patch does not apply Checking patch elf/rtld.c... Hunk #1 succeeded at 460 (offset 2 lines). Hunk #2 succeeded at 1124 (offset -1 lines). Checking patch elf/unload.c... error: while searching for: #define OUT \ for (map = MAPS; map != NULL; map = l_next (map)) \ if (map->l_type == lt_loaded) \ printf ("name = \"%s\", direct_opencount = %d\n", \ map->l_public.l_name, \ (int) map->l_direct_opencount); \ fflush (stdout) typedef struct error: patch failed: elf/unload.c:14 error: elf/unload.c: patch does not apply Checking patch elf/unload2.c... error: while searching for: #define OUT \ for (map = MAPS; map != NULL; map = l_next (map)) \ if (map->l_type == lt_loaded) \ printf ("name = \"%s\", direct_opencount = %d\n", \ map->l_public.l_name, \ (int) map->l_direct_opencount); \ fflush (stdout) int error: patch failed: elf/unload2.c:11 error: elf/unload2.c: patch does not apply Checking patch include/link.h... Hunk #1 succeeded at 83 (offset 8 lines). error: while searching for: than one namespace. */ struct link_map_private *l_real; /* Number of the namespace this link map belongs to. */ Lmid_t l_ns; error: patch failed: include/link.h:98 error: include/link.h: patch does not apply Checking patch stdlib/cxa_thread_atexit_impl.c... Checking patch sysdeps/x86/dl-prop.h...