Checking patch elf/dl-close.c... Hunk #1 succeeded at 702 (offset 11 lines). Checking patch elf/dl-load.c... Hunk #1 succeeded at 949 (offset -1 lines). Hunk #2 succeeded at 969 (offset -1 lines). error: while searching for: } } /* On most platforms presume that PT_GNU_STACK is absent and the stack is * executable. Other platforms default to a nonexecutable stack and don't * need PT_GNU_STACK to do so. */ unsigned int stack_flags = DEFAULT_STACK_PERMS; { /* Scan the program header table, collecting its load commands. */ struct loadcmd loadcmds[l->l_phnum]; size_t nloadcmds = 0; bool empty_dynamic = false; ElfW(Addr) p_align_max = 0; /* The struct is initialized to zero so this is not necessary: l->l_ld = 0; l->l_phdr = 0; error: patch failed: elf/dl-load.c:1080 error: elf/dl-load.c: patch does not apply Checking patch elf/dl-load.h... error: while searching for: Its details have been expanded out and converted. */ struct loadcmd { ElfW(Addr) mapstart, mapend, dataend, allocend, mapalign, maphole; ElfW(Off) mapoff; int prot; /* PROT_* bits. */ }; error: patch failed: elf/dl-load.h:75 error: elf/dl-load.h: patch does not apply Checking patch elf/dl-map-segments.h... error: while searching for: - MAP_BASE_ADDR (l)); /* Remember which part of the address space this object uses. */ l->l_map_start = _dl_map_segment (mappref, maplength, c->mapalign); if (__glibc_unlikely ((void *) l->l_map_start == MAP_FAILED)) return DL_MAP_SEGMENTS_ERROR_MAP_SEGMENT; error: patch failed: elf/dl-map-segments.h:100 error: elf/dl-map-segments.h: patch does not apply Checking patch elf/dl-open.c... error: while searching for: for (unsigned int i = last; i-- > first; ) { l = new->l_initfini[i]; if (l->l_real->l_relocated) error: patch failed: elf/dl-open.c:543 error: elf/dl-open.c: patch does not apply Checking patch include/link.h... error: while searching for: /* Start and finish of memory map for this object. l_map_start need not be the same as l_addr. */ ElfW(Addr) l_map_start, l_map_end; /* End of the executable part of the mapping. */ ElfW(Addr) l_text_end; error: patch failed: include/link.h:252 error: include/link.h: patch does not apply