Checking patch dlfcn/dlfcn.h... error: while searching for: is returned. */ #define RTLD_DEFAULT ((void *) 0) __BEGIN_DECLS /* Open the shared object FILE and map it in; return a handle that can be error: patch failed: dlfcn/dlfcn.h:49 Checking patch elf/dl-sym.c... error: while searching for: /* Link map of the caller if needed. */ struct link_map *match = NULL; if (handle == RTLD_DEFAULT) { match = _dl_sym_find_caller_link_map (caller); /* Search the global scope. We have the simple case where we look up in the scope of an object which was part of the initial binary. And then the more complex part error: patch failed: elf/dl-sym.c:92 error: while searching for: if (RTLD_SINGLE_THREAD_P) result = GLRO(dl_lookup_symbol_x) (name, match, &ref, match->l_scope, vers, 0, flags | DL_LOOKUP_ADD_DEPENDENCY, NULL); else { error: patch failed: elf/dl-sym.c:104 error: while searching for: args.map = match; args.vers = vers; args.flags = flags | DL_LOOKUP_ADD_DEPENDENCY | DL_LOOKUP_GSCOPE_LOCK; args.refp = &ref; THREAD_GSCOPE_SET_FLAG (); error: patch failed: elf/dl-sym.c:113 Checking patch elf/Makefile... Checking patch elf/tst-dlsym-rtld-probe.c... Applying patch dlfcn/dlfcn.h with 1 reject... Rejected hunk #1. Applying patch elf/dl-sym.c with 3 rejects... Rejected hunk #1. Rejected hunk #2. Rejected hunk #3. Applied patch elf/Makefile cleanly. Applied patch elf/tst-dlsym-rtld-probe.c cleanly.