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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6AF3A138359 for ; Wed, 21 Oct 2020 04:34:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6B7BFE0AE4; Wed, 21 Oct 2020 04:34:13 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 47447E0AE4 for ; Wed, 21 Oct 2020 04:34:13 +0000 (UTC) From: Georgy Yakovlev To: gentoo-catalyst@lists.gentoo.org Cc: Georgy Yakovlev Subject: [gentoo-catalyst] [PATCH 2/3] arch/ppc.toml: don't force -mabi=elfv2 on power subarches. Date: Tue, 20 Oct 2020 21:33:46 -0700 Message-Id: <20201021043347.632763-2-gyakovlev@gentoo.org> X-Mailer: git-send-email 2.29.0 In-Reply-To: <20201021043347.632763-1-gyakovlev@gentoo.org> References: <20201021043347.632763-1-gyakovlev@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-catalyst@lists.gentoo.org Reply-to: gentoo-catalyst@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Archives-Salt: 47c03c06-03d3-4df7-95b1-012883085921 X-Archives-Hash: 776d414169db8d205fc5671974c719ae -mabi=elfv2 is default on ppc64le in gcc/glibc toolchain for all powerpc64le-*-linux-gnu CHOSTS, so we don't need to pass it. forcing -mabi=elfv2 on ppc64(be) is quite risky, as it's not standard configuration and not officialy supported by glibc at all. according to glibc upstream it should be a separate ABI port. Also many apps/tools assume elfv1 on big-endian, and while fixes are being upstreamed, we've observed breakage in: openssl[asm], nodejs, ffmpeg and others. If we want to ship elfv2 ppc64be stage, we should define it as separate subarch and strictly put it in experimental. to my knowledge those subarch definitions are not used by releng yet, so we will not break anything. Signed-off-by: Georgy Yakovlev --- arch/ppc.toml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/ppc.toml b/arch/ppc.toml index 870c7647..6f74789d 100644 --- a/arch/ppc.toml +++ b/arch/ppc.toml @@ -23,22 +23,22 @@ CHOST = "powerpc64-unknown-linux-gnu" USE = [ "altivec", "ibm",] [ppc64.power7] -COMMON_FLAGS = "-O2 -pipe -mcpu=power7 -mtune=power7 -mabi=elfv2" +COMMON_FLAGS = "-O2 -pipe -mcpu=power7 -mtune=power7" CHOST = "powerpc64-unknown-linux-gnu" USE = [ "altivec", "ibm",] [ppc64.power7le] -COMMON_FLAGS = "-O2 -pipe -mcpu=power7 -mtune=power7 -mabi=elfv2" +COMMON_FLAGS = "-O2 -pipe -mcpu=power7 -mtune=power7" CHOST = "powerpc64le-unknown-linux-gnu" USE = [ "altivec", "ibm",] [ppc64.power8] -COMMON_FLAGS = "-O2 -pipe -mcpu=power8 -mtune=power8 -mabi=elfv2" +COMMON_FLAGS = "-O2 -pipe -mcpu=power8 -mtune=power8" CHOST = "powerpc64-unknown-linux-gnu" USE = [ "altivec", "ibm",] [ppc64.power8le] -COMMON_FLAGS = "-O2 -pipe -mcpu=power8 -mtune=power8 -mabi=elfv2" +COMMON_FLAGS = "-O2 -pipe -mcpu=power8 -mtune=power8" CHOST = "powerpc64le-unknown-linux-gnu" USE = [ "altivec", "ibm",] -- 2.29.0