Checking patch elf/dl-load.c... Hunk #1 succeeded at 1088 (offset -1 lines). Hunk #2 succeeded at 1139 (offset -1 lines). Hunk #3 succeeded at 1152 (offset -1 lines). error: while searching for: l_map_start, l_map_end, l_addr, l_contiguous, l_text_end, l_phdr */ errstring = _dl_map_segments (l, fd, header, type, loadcmds, nloadcmds, maplength, has_holes, loader); if (__glibc_unlikely (errstring != NULL)) { /* Mappings can be in an inconsistent state: avoid unmap. */ error: patch failed: elf/dl-load.c:1256 error: elf/dl-load.c: patch does not apply Checking patch elf/dl-load.h... Hunk #2 succeeded at 115 (offset -3 lines). Checking patch elf/dl-map-segments.h... Hunk #1 succeeded at 75 (offset -2 lines). error: while searching for: l->l_map_end = l->l_map_start + maplength; l->l_addr = l->l_map_start - c->mapstart; if (has_holes) { /* Change protection on the excess portion to disallow all access; the portions we do not remap later will be inaccessible as if unallocated. Then jump into the normal segment-mapping loop to handle the portion of the segment past the end of the file mapping. */ if (__glibc_unlikely (loadcmds[nloadcmds - 1].mapstart < c->mapend)) return N_("ELF load command address/offset not page-aligned"); if (__glibc_unlikely (__mprotect ((caddr_t) (l->l_addr + c->mapend), loadcmds[nloadcmds - 1].mapstart - c->mapend, PROT_NONE) < 0)) return DL_MAP_SEGMENTS_ERROR_MPROTECT; } l->l_contiguous = 1; } else { error: patch failed: elf/dl-map-segments.h:106 error: elf/dl-map-segments.h: patch does not apply