Checking patch elf/dl-load.c... Hunk #1 succeeded at 1262 (offset -1 lines). Checking patch elf/dl-load.h... error: while searching for: const size_t maplength, struct link_map *loader); /* All the error message strings _dl_map_segments might return are listed here so that different implementations in different sysdeps dl-map-segments.h files all use consistent strings that are error: patch failed: elf/dl-load.h:120 error: elf/dl-load.h: patch does not apply Checking patch elf/dl-map-segments.h... error: while searching for: while (c < &loadcmds[nloadcmds]) { ElfW(Addr) hole_start, hole_size; if (c->mapend > c->mapstart /* Map the segment contents from the file. */ && (__mmap ((void *) (l->l_addr + c->mapstart), c->mapend - c->mapstart, c->prot, MAP_FIXED|MAP_COPY|MAP_FILE, fd, c->mapoff) == MAP_FAILED)) error: patch failed: elf/dl-map-segments.h:123 error: elf/dl-map-segments.h: patch does not apply