Checking patch sysdeps/loongarch/nptl/thread_pointer.h... error: while searching for: #ifndef _SYS_THREAD_POINTER_H #define _SYS_THREAD_POINTER_H #include static inline void * __thread_pointer (void) { #if __glibc_has_builtin (__builtin_thread_pointer) return __builtin_thread_pointer (); #else void *__thread_register; __asm__ ("move %0, $tp" : "=r" (__thread_register)); return __thread_register; #endif } #endif /* _SYS_THREAD_POINTER_H */ error: patch failed: sysdeps/loongarch/nptl/thread_pointer.h:19 error: sysdeps/loongarch/nptl/thread_pointer.h: patch does not apply