Received: by 2002:ab2:3c46:0:b0:1f5:f2ab:c469 with SMTP id x6csp73028lqf; Thu, 25 Apr 2024 23:02:19 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUB44CtA7h/c+uV7/OGR1mVmAIPumnuGpSLc9AL/p/udtEguGO9tyupoIHPi5e91gKN7pxhUnGshgTn0No2mCqDh0LqVZUcL2JzgjspKw== X-Google-Smtp-Source: AGHT+IHOXxGR+54AAAEWprRuwIFW9GehSUFEyILeG7HYl/H6C8gvNwRahbclifW1sd3VXT/u9D92 X-Received: by 2002:a50:9359:0:b0:56e:2a0a:c133 with SMTP id n25-20020a509359000000b0056e2a0ac133mr1159090eda.22.1714111338900; Thu, 25 Apr 2024 23:02:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714111338; cv=pass; d=google.com; s=arc-20160816; b=JgfN+nI0QjtyrKMtBqcu8grB6KU1tbsZzruupkWqpxcRFZ619p0yWFb3kfTqaorZFD r/iz2WbzdI6VqlvXEA70FBloXI80vKAvEMDKxeoteoZAazzbPZrTM8WUQOvQMd8mI03M ted+juS3ItoLRN5QHkFLmj0imIPnVELTjbvQoCetI8u3XNycl7lDghhUGjylWcERVDyV +tSHr5wRRYjzCBuBu4oj720apUlfPAHHCz9+PtEbfsQg/PcovRRs42LrnzA478bSFJMV Tg/6AESSDWf+MSSR8a5u+mHKVn1ZolHh4xW4BlVJxnIMhyWnBkBVz4XgGM+noFQ1Pj3V 8gxg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:content-transfer-encoding:references:in-reply-to:date:cc :to:from:subject:message-id:dkim-signature; bh=3fagGxrg2kRluE5PpRIDkgUUaRTsE7xofY0NLRaL75A=; fh=snhKlX7XHt6q2sim2OSEqWRWsZF0IN4JResaPd8RRzw=; b=fPf54jjvRTbCKcn+1IV91PLPTxCmuZNVSDDLfMbhyB+a/nuA9KWhtihLtc6Ol2TNA2 odALex2yHXMhFJG1m3ROZ3gPzcuOqfP78JZe9UXifzDaPuRJEGhbhxQr26fFdICg9T6T MaZno3UuXzzaZU/TmSpkBZTIw2nZqzVwSGCALfcnOmj7hiozOS07AjfVFeOnEquZISz/ lO9ZAX6SBdpSNLdvHwqaMjUZrOu+eWhJzdPVFR1gFTtET2B06/He0HeGnJzKdbUW91KQ 1iTtRWoiD7M1xWlimtLcukG/kBoVKJgNtGGWt0nCgMYqAKxKqKViv0pCb2ySfatrN3Hq oorQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@xry111.site header.s=default header.b=nLeRzSY3; arc=pass (i=1 spf=pass spfdomain=xry111.site dkim=pass dkdomain=xry111.site dmarc=pass fromdomain=xry111.site); spf=pass (google.com: domain of linux-kernel+bounces-159545-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-159545-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=xry111.site Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id j1-20020aa7c401000000b0056dfbd9a57fsi10794626edq.116.2024.04.25.23.02.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Apr 2024 23:02:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-159545-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@xry111.site header.s=default header.b=nLeRzSY3; arc=pass (i=1 spf=pass spfdomain=xry111.site dkim=pass dkdomain=xry111.site dmarc=pass fromdomain=xry111.site); spf=pass (google.com: domain of linux-kernel+bounces-159545-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-159545-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=xry111.site Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 9B6421F22562 for ; Fri, 26 Apr 2024 06:02:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B7D3013A40C; Fri, 26 Apr 2024 06:02:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=xry111.site header.i=@xry111.site header.b="nLeRzSY3" Received: from xry111.site (xry111.site [89.208.246.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id ADC4543ADC for ; Fri, 26 Apr 2024 06:02:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=89.208.246.23 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714111330; cv=none; b=CPs+OpYOcNEaY2F5ZVCHS8zFHJKAWmMOz+bMTuXNQbx7WNH6TM6hUJcg9CCiHMW3jnWH63pIuh5N6YOmT4YWEOn2BM2E2399LzxyPafNepRMuUUfdBPtOM8vTn6yeiWlLQRsjwgo4xH/ESdRRfrUlGg5zXCzlQsQE2NhlKBnljY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714111330; c=relaxed/simple; bh=3fagGxrg2kRluE5PpRIDkgUUaRTsE7xofY0NLRaL75A=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=U5bRoZcFpmrqUHjENCh5zMhSvlmodHbPiD201alhb5kF3a25qxRAV3hn4yPMJQBQDmDJR3RRAKHrF5vPAMWhwQkJn1LmqqWQB/YhUNngUYJjCA3khMUMqsEZ5jsBJBJOMZy1WuGnXsqn+pN5Pdjrr8WfCIkMEIJ9aVLPcVxcqsE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=xry111.site; spf=pass smtp.mailfrom=xry111.site; dkim=pass (1024-bit key) header.d=xry111.site header.i=@xry111.site header.b=nLeRzSY3; arc=none smtp.client-ip=89.208.246.23 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=xry111.site Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=xry111.site DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xry111.site; s=default; t=1714110803; bh=3fagGxrg2kRluE5PpRIDkgUUaRTsE7xofY0NLRaL75A=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=nLeRzSY3go+34A4lqIcsPe8yV4jdgTo1yaQyfaOGcjkd3/Hu9cReMDgE+1taZ5iQu K/ZZQEozsHVIZLzemDuzgWolgHHl3XY7yPZk64Wtgaa/jHDqcvkOUIgv3Gz76V4hCs BlA7UCgyfLkSXrLBpsFR+NSLTs9gE9yhJZYOPuoY= Received: from [IPv6:240e:358:1105:4a00:dc73:854d:832e:3] (unknown [IPv6:240e:358:1105:4a00:dc73:854d:832e:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-384) server-digest SHA384) (Client did not present a certificate) (Authenticated sender: xry111@xry111.site) by xry111.site (Postfix) with ESMTPSA id DD9E666C6B; Fri, 26 Apr 2024 01:53:19 -0400 (EDT) Message-ID: Subject: Re: [PATCH] LoongArch: Select ARCH_SUPPORTS_INT128 if CC_HAS_INT128 From: Xi Ruoyao To: Huacai Chen Cc: WANG Xuerui , loongarch@lists.linux.dev, linux-kernel@vger.kernel.org, Tiezhu Yang Date: Fri, 26 Apr 2024 13:53:12 +0800 In-Reply-To: References: <20240327171737.27622-1-xry111@xry111.site> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.52.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 On Fri, 2024-04-26 at 12:00 +0800, Huacai Chen wrote: > Hi, Ruoyao, >=20 > If enable CONFIG_DEBUG_INFO_BTF, we get: >=20 > 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' >=20 > 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. --=20 Xi Ruoyao School of Aerospace Science and Technology, Xidian University