All of lore.kernel.org
 help / color / mirror / Atom feed
From: Xi Ruoyao <xry111@xry111.site>
To: Huacai Chen <chenhuacai@kernel.org>
Cc: WANG Xuerui <kernel@xen0n.name>,
	loongarch@lists.linux.dev,  linux-kernel@vger.kernel.org,
	Tiezhu Yang <yangtiezhu@loongson.cn>
Subject: Re: [PATCH] LoongArch: Select ARCH_SUPPORTS_INT128 if CC_HAS_INT128
Date: Fri, 26 Apr 2024 13:53:12 +0800	[thread overview]
Message-ID: <ca10b9c005361e87dbebfd71c004f3aaf07e42ba.camel@xry111.site> (raw)
In-Reply-To: <CAAhV-H5EZ=7OF7CSiYyZ8_+wWuenpo=K2WT8-6mAT4CvzUC_4g@mail.gmail.com>

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

      reply	other threads:[~2024-04-26  6:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-27 17:17 [PATCH] LoongArch: Select ARCH_SUPPORTS_INT128 if CC_HAS_INT128 Xi Ruoyao
2024-03-29  2:09 ` Huacai Chen
2024-04-26  4:00 ` Huacai Chen
2024-04-26  5:53   ` Xi Ruoyao [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ca10b9c005361e87dbebfd71c004f3aaf07e42ba.camel@xry111.site \
    --to=xry111@xry111.site \
    --cc=chenhuacai@kernel.org \
    --cc=kernel@xen0n.name \
    --cc=linux-kernel@vger.kernel.org \
    --cc=loongarch@lists.linux.dev \
    --cc=yangtiezhu@loongson.cn \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.