Checking patch sysdeps/loongarch/Makefile... error: while searching for: sysdep_headers += sys/asm.h endif # LoongArch's assembler also needs to know about PIC as it changes the # definition of some assembler macros. ASFLAGS-.os += $(pic-ccflag) error: patch failed: sysdeps/loongarch/Makefile:2 error: sysdeps/loongarch/Makefile: patch does not apply Checking patch sysdeps/loongarch/dl-link.sym... error: sysdeps/loongarch/dl-link.sym: already exists in working directory Checking patch sysdeps/loongarch/dl-machine.h... error: while searching for: /* If using PLTs, fill in the first two entries of .got.plt. */ if (l->l_info[DT_JMPREL]) { extern void _dl_runtime_resolve (void) __attribute__ ((visibility ("hidden"))); ElfW (Addr) *gotplt = (ElfW (Addr) *) D_PTR (l, l_info[DT_PLTGOT]); gotplt[0] = (ElfW (Addr)) & _dl_runtime_resolve; gotplt[1] = (ElfW (Addr)) l; } #endif error: patch failed: sysdeps/loongarch/dl-machine.h:270 error: sysdeps/loongarch/dl-machine.h: patch does not apply Checking patch sysdeps/loongarch/dl-trampoline.S... error: while searching for: #include #include /* Assembler veneer called from the PLT header code for lazy loading. The PLT header passes its own args in t0-t2. */ #ifdef __loongarch_soft_float error: patch failed: sysdeps/loongarch/dl-trampoline.S:19 error: sysdeps/loongarch/dl-trampoline.S: patch does not apply Checking patch sysdeps/loongarch/sys/asm.h... error: while searching for: #define SLLI slli.d #define ADDI addi.d #define ADD add.d #define BSTRINS bstrins.d #define LI li.d #define FREG_L fld.d error: patch failed: sysdeps/loongarch/sys/asm.h:31 error: sysdeps/loongarch/sys/asm.h: patch does not apply