Messages in this thread | | | Subject | Re: [PATCH] LoongArch: Select ARCH_SUPPORTS_INT128 if CC_HAS_INT128 | From | Xi Ruoyao <> | Date | Fri, 26 Apr 2024 13:53:12 +0800 |
| |
On Fri, 2024-04-26 at 12:00 +0800, Huacai Chen wrote: > Hi, Ruoyao, > > If enable CONFIG_DEBUG_INFO_BTF, we get: > > loongarch64-unknown-linux-gnu-ld: kernel/sched/fair.o: in function > `mul_u64_u32_shr': > /home/chenhuacai/linux-test.git/./include/linux/math64.h:161:(.text+0x5e4): > undefined reference to `__lshrti3' > > So, could you please implement _ashlti3(), __ashrti3(), and > __lshrti3() as commit fbac266f095de92b93e7 ("s390: select > ARCH_SUPPORTS_INT128") does?
It seems not related to DEBUG_INFO_BTF, but related to CC_OPTIMIZE_FOR_SIZE.
I'm making a patch.
-- Xi Ruoyao <xry111@xry111.site> School of Aerospace Science and Technology, Xidian University
| |