https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118114
--- Comment #7 from Xi Ruoyao <xry111 at gcc dot gnu.org> --- (In reply to Xi Ruoyao from comment #6) > I'm bisecting on binutils-gdb.git to see when exactly it's fixed. commit 5c3d09c1855b948dd43b9f5f8b3d8aa254d75f43 Author: mengqinggang <mengqingg...@loongson.cn> Date: Thu Oct 10 16:20:52 2024 +0800 LoongArch: Optimize the relaxation process The symbol value is only calculated when the relocation can be relaxed. bfd/elfnn-loongarch.c | 281 +++++++++++++++++++++++++------------------------- 1 file changed, 139 insertions(+), 142 deletions(-) The binutils-2_43-branch is still buggy and it needs a fix.