lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Fri, 26 Apr 2024 13:53:12 +0800
From: Xi Ruoyao <xry111@...111.site>
To: Huacai Chen <chenhuacai@...nel.org>
Cc: WANG Xuerui <kernel@...0n.name>, loongarch@...ts.linux.dev, 
	linux-kernel@...r.kernel.org, Tiezhu Yang <yangtiezhu@...ngson.cn>
Subject: Re: [PATCH] LoongArch: Select ARCH_SUPPORTS_INT128 if CC_HAS_INT128

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@...111.site>
School of Aerospace Science and Technology, Xidian University

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ