Checking patch csu/libc-tls.c... Checking patch elf/dl-close.c... Hunk #1 succeeded at 511 (offset -2 lines). Hunk #2 succeeded at 520 (offset -2 lines). Hunk #3 succeeded at 541 (offset -2 lines). Hunk #4 succeeded at 563 (offset -2 lines). Checking patch elf/dl-object.c... Hunk #1 succeeded at 131 (offset -6 lines). Checking patch elf/dl-reloc.c... error: while searching for: __attribute_noinline__ _dl_allocate_static_tls (struct link_map_private *map) { if (map->l_tls_offset == FORCED_DYNAMIC_TLS_OFFSET || _dl_try_allocate_static_tls (map, false)) { _dl_signal_error (0, map->l_public.l_name, NULL, N_("\ error: patch failed: elf/dl-reloc.c:134 error: elf/dl-reloc.c: patch does not apply Checking patch elf/dl-static-tls.h... error: while searching for: } while (0) #define TRY_STATIC_TLS(map, sym_map) \ (__builtin_expect ((sym_map)->l_tls_offset \ != FORCED_DYNAMIC_TLS_OFFSET, 1) \ && (__builtin_expect ((sym_map)->l_tls_offset != NO_TLS_OFFSET, 1) \ || _dl_try_allocate_static_tls (sym_map, true) == 0)) int _dl_try_allocate_static_tls (struct link_map_private *map, bool optional) error: patch failed: elf/dl-static-tls.h:40 error: elf/dl-static-tls.h: patch does not apply Checking patch elf/dl-support.c... error: while searching for: static struct link_map_private _dl_main_map = { .l_public = { .l_name = (char *) "", }, .l_rw = &(struct link_map_rw) { }, .l_real = &_dl_main_map, .l_ns = LM_ID_BASE, .l_libname = &(struct libname_list) { .name = "", .dont_free = 1 }, error: patch failed: elf/dl-support.c:81 error: elf/dl-support.c: patch does not apply Checking patch elf/dl-tls.c... error: while searching for: init_one_static_tls (struct pthread *curp, struct link_map_private *map) { # if TLS_TCB_AT_TP void *dest = (char *) curp - map->l_tls_offset; # elif TLS_DTV_AT_TP void *dest = (char *) curp + map->l_tls_offset + TLS_PRE_TCB_SIZE; # else # error "Either TLS_TCB_AT_TP or TLS_DTV_AT_TP must be defined" # endif error: patch failed: elf/dl-tls.c:1076 error: elf/dl-tls.c: patch does not apply Checking patch elf/rtld.c... error: while searching for: static struct link_map_rw rtld_map_rw; GL (dl_rtld_map).l_rw = &rtld_map_rw; /* If it hasn't happen yet record the startup time. */ rtld_timer_start (&start_time); error: patch failed: elf/rtld.c:460 error: elf/rtld.c: patch does not apply Checking patch htl/pt-alloc.c... Checking patch include/link.h... error: while searching for: accessor function below. */ unsigned int l_direct_opencount; /* Number of thread_local objects constructed by this DSO. This is atomically accessed and modified and is not always protected by the load lock. See also: CONCURRENCY NOTES in cxa_thread_atexit_impl.c. */ error: patch failed: include/link.h:91 error: include/link.h: patch does not apply Checking patch nptl/Versions... Checking patch nptl_db/db_info.c... error: while searching for: } dtv; typedef struct link_map_private link_map; typedef struct rtld_global rtld_global; typedef struct dtv_slotinfo_list dtv_slotinfo_list; typedef struct dtv_slotinfo dtv_slotinfo; error: patch failed: nptl_db/db_info.c:38 error: nptl_db/db_info.c: patch does not apply Checking patch nptl_db/structs.def... Checking patch nptl_db/td_thr_tlsbase.c... Checking patch sysdeps/aarch64/dl-machine.h... Hunk #1 succeeded at 249 (offset -1 lines). Hunk #2 succeeded at 275 (offset -1 lines). Checking patch sysdeps/alpha/dl-machine.h... Hunk #1 succeeded at 401 (offset -1 lines). Checking patch sysdeps/arc/dl-machine.h... Hunk #1 succeeded at 284 (offset -1 lines). Checking patch sysdeps/arm/dl-machine.h... Hunk #1 succeeded at 404 (offset -2 lines). Hunk #2 succeeded at 434 (offset -2 lines). Checking patch sysdeps/csky/dl-machine.h... Hunk #1 succeeded at 302 (offset -1 lines). Checking patch sysdeps/hppa/dl-machine.h... Hunk #1 succeeded at 715 (offset -1 lines). Checking patch sysdeps/i386/dl-machine.h... Hunk #1 succeeded at 353 (offset -8 lines). Hunk #2 succeeded at 364 (offset -8 lines). Hunk #3 succeeded at 373 (offset -8 lines). Hunk #4 succeeded at 388 (offset -8 lines). Checking patch sysdeps/ia64/dl-machine.h... error: sysdeps/ia64/dl-machine.h: No such file or directory Checking patch sysdeps/loongarch/dl-tls.h... Checking patch sysdeps/m68k/dl-tls.h... Checking patch sysdeps/microblaze/dl-machine.h... Hunk #1 succeeded at 262 (offset -1 lines). Checking patch sysdeps/mips/dl-tls.h... Checking patch sysdeps/nios2/dl-tls.h... Checking patch sysdeps/or1k/dl-machine.h... Hunk #1 succeeded at 250 (offset -1 lines). Checking patch sysdeps/powerpc/dl-tls.h... Checking patch sysdeps/powerpc/powerpc32/dl-machine.h... Hunk #1 succeeded at 354 (offset -1 lines). Hunk #2 succeeded at 368 (offset -1 lines). Checking patch sysdeps/powerpc/powerpc64/dl-machine.h... Hunk #1 succeeded at 729 (offset -3 lines). Hunk #2 succeeded at 743 (offset -3 lines). Checking patch sysdeps/riscv/dl-tls.h... Checking patch sysdeps/s390/s390-32/dl-machine.h... Hunk #1 succeeded at 356 (offset -1 lines). Hunk #2 succeeded at 366 (offset -1 lines). Checking patch sysdeps/s390/s390-64/dl-machine.h... Hunk #1 succeeded at 332 (offset -1 lines). Hunk #2 succeeded at 342 (offset -1 lines). Checking patch sysdeps/sh/dl-machine.h... Hunk #1 succeeded at 363 (offset -1 lines). Hunk #2 succeeded at 373 (offset -1 lines). Checking patch sysdeps/sparc/sparc32/dl-machine.h... Hunk #1 succeeded at 377 (offset -1 lines). Hunk #2 succeeded at 387 (offset -1 lines). Checking patch sysdeps/sparc/sparc64/dl-machine.h... Checking patch sysdeps/x86_64/dl-machine.h... Hunk #1 succeeded at 377 (offset 2 lines). Hunk #2 succeeded at 394 (offset 2 lines).