Checking patch elf/dl-find_object.c... Hunk #1 succeeded at 121 (offset 1 line). Hunk #2 succeeded at 231 (offset 46 lines). Hunk #3 succeeded at 309 (offset 46 lines). Hunk #4 succeeded at 519 (offset 47 lines). error: while searching for: = _dl_protmem_allocate (_dlfo_nodelete_mappings_size * sizeof (*_dlfo_nodelete_mappings)); if (loaded_size > 0) _dlfo_loaded_mappings[0] = _dlfo_mappings_segment_allocate (loaded_size, NULL); if (_dlfo_nodelete_mappings == NULL || (loaded_size > 0 && _dlfo_loaded_mappings[0] == NULL)) _dl_fatal_printf ("\ Fatal glibc error: cannot allocate memory for find-object data\n"); /* Fill in the data with the second call. */ error: patch failed: elf/dl-find_object.c:535 error: elf/dl-find_object.c: patch does not apply Checking patch sysdeps/generic/ldsodefs.h... error: while searching for: # undef __rtld_global_attribute__ #endif #ifdef SHARED /* Implementation structure for the protected memory area. In static builds, the protected memory area is just regular (.data) memory, error: patch failed: sysdeps/generic/ldsodefs.h:523 error: sysdeps/generic/ldsodefs.h: patch does not apply