From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CB58A158086 for ; Sat, 25 Dec 2021 23:39:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 96E242BC01E; Sat, 25 Dec 2021 23:39:31 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CE0662BC009 for ; Sat, 25 Dec 2021 23:39:30 +0000 (UTC) From: "Andreas K. Huettel" To: gentoo-dev@lists.gentoo.org Cc: WANG Xuerui , WANG Xuerui Subject: Re: [gentoo-dev] [PATCH] multilib.eclass: add initial defaults for ARCH=loong Date: Sun, 26 Dec 2021 00:39:21 +0100 Message-ID: <4497124.vXUDI8C0e8@noumea> Organization: Gentoo Linux In-Reply-To: <20211225042341.1687502-1-i.gentoo@xen0n.name> References: <20211225042341.1687502-1-i.gentoo@xen0n.name> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2040528.9o76ZdvQCi"; micalg="pgp-sha256"; protocol="application/pgp-signature" X-Archives-Salt: ad0cb96f-e100-4b76-a9c8-d3a3f7e4fa16 X-Archives-Hash: 6481a3b0342766df9d486fc2c139bebb --nextPart2040528.9o76ZdvQCi Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1"; protected-headers="v1" From: "Andreas K. Huettel" To: gentoo-dev@lists.gentoo.org Cc: WANG Xuerui , WANG Xuerui Subject: Re: [gentoo-dev] [PATCH] multilib.eclass: add initial defaults for ARCH=loong Date: Sun, 26 Dec 2021 00:39:21 +0100 Message-ID: <4497124.vXUDI8C0e8@noumea> Organization: Gentoo Linux In-Reply-To: <20211225042341.1687502-1-i.gentoo@xen0n.name> References: <20211225042341.1687502-1-i.gentoo@xen0n.name> Thank you! Pushed. Am Samstag, 25. Dezember 2021, 05:23:41 CET schrieb WANG Xuerui: > From: WANG Xuerui >=20 > There is only full support for the LP64D ABI in the initial upstream > submissions for the various low-level pieces, so full multilib > combinations are not pursued at the moment; but the expected library > search path of gcc (`lib64`) means the default of `lib` does not work > in our case. >=20 > Signed-off-by: WANG Xuerui > --- > eclass/multilib.eclass | 9 +++++++++ > 1 file changed, 9 insertions(+) >=20 > diff --git a/eclass/multilib.eclass b/eclass/multilib.eclass > index 483f8d10c72..b14b0ef7785 100644 > --- a/eclass/multilib.eclass > +++ b/eclass/multilib.eclass > @@ -368,6 +368,15 @@ multilib_env() { > ;; > esac > ;; > + loongarch64*) > + export CFLAGS_lp64d=3D${CFLAGS_lp64d--mabi=3Dlp64d} > + export CHOST_lp64d=3D${CTARGET} > + export CTARGET_lp64d=3D${CTARGET} > + export LIBDIR_lp64d=3D${LIBDIR_lp64d-lib64} > + > + : ${MULTILIB_ABIS=3Dlp64d} > + : ${DEFAULT_ABI=3Dlp64d} > + ;; > mips64*|mipsisa64*) > export CFLAGS_o32=3D${CFLAGS_o32--mabi=3D32} > export CHOST_o32=3D${CTARGET/mips64/mips} =2D-=20 Andreas K. H=FCttel dilfridge@gentoo.org Gentoo Linux developer=20 (council, qa, toolchain, base-system, perl, libreoffice) --nextPart2040528.9o76ZdvQCi Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE6W4INB9YeKX6Qpi1TEn3nlTQogYFAmHHq6kACgkQTEn3nlTQ ogZf7g/8CydyAXo06urChKyuCrOi15m60kqpCC8g8uPxh1TsSLHW7P4YkjEorLz6 h0feBfSw5HJqdvRcDE1Jf0/SJ8CuYkSX73Mf9k4uWqI+3hSS/nxoFms3WoqJbQ5q sx8N1Q1+cwe0R1JPYyzYao3dtAGsA/sAc35p4u1rlAsp3RszHkcIKaH2rGX4VrHi FXMmyT4GYyiZpC7uAint5AxFF60xir3vasRB/0OJNtybSC0vocnUMyuNsvF1RmKC YxpDybkaXsIi2HA2179oOGckIFHM9TbKbvpVpJNhJjUY21C32WNa01TVC2R1ooc0 kaHN6Z683vn/9s7NI37jGbqHqmtRsq46i8zXnKWMzRc7HEJLMQOfkagcRPgOxpni NUarOkzG+V1DjuwzgNz5EmaXdSVNgBnuhniuS1oswqyl0jlOdGqCtzIwBK5gAvth uUZHKLsNSgDtztIP/WHYL/IL8LVBgIk0mvegrTou36cOCszXgqql26RV0h2UNB43 Ht52vZmP1q7amBJny3Arwy2mSA2oF5ftoIfDQNQu0CoKLdX/s4p8SDek0YQjdA5J Fs5IXp/Y9fXQ+navq4F6kSn3ROJHzkZy66RR2uAHlpOROmuqs+VaFuMW5DYnyuc1 Es2dY4iwXAqCQ2/ctvAGHL6IICrXSVkhAv9yfRhoD4Hs2yF0AOA= =7eMo -----END PGP SIGNATURE----- --nextPart2040528.9o76ZdvQCi--