Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/catalyst:wip/mattst88 commit in: arch/
Date: Thu, 29 Oct 2020 21:00:51
Message-Id: 1603303092.5eb5373bad83374a6c1ab8eef37edda82dd562b7.mattst88@gentoo
1 commit: 5eb5373bad83374a6c1ab8eef37edda82dd562b7
2 Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
3 AuthorDate: Wed Oct 21 04:33:46 2020 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Wed Oct 21 17:58:12 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=5eb5373b
7
8 arch/ppc.toml: don't force -mabi=elfv2 on power subarches.
9
10 -mabi=elfv2 is default on ppc64le in gcc/glibc toolchain for all
11 powerpc64le-*-linux-gnu CHOSTS, so we don't need to pass it.
12
13 forcing -mabi=elfv2 on ppc64(be) is quite risky, as it's not standard
14 configuration and not officialy supported by glibc at all.
15 according to glibc upstream it should be a separate ABI port.
16 Also many apps/tools assume elfv1 on big-endian, and while fixes are
17 being upstreamed, we've observed breakage in: openssl[asm], nodejs,
18 ffmpeg and others.
19
20 If we want to ship elfv2 ppc64be stage,
21 we should define it as separate subarch and strictly put it in experimental.
22
23 to my knowledge those subarch definitions are not used by releng yet, so
24 we will not break anything.
25
26 Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
27 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
28
29 arch/ppc.toml | 8 ++++----
30 1 file changed, 4 insertions(+), 4 deletions(-)
31
32 diff --git a/arch/ppc.toml b/arch/ppc.toml
33 index 870c7647..6f74789d 100644
34 --- a/arch/ppc.toml
35 +++ b/arch/ppc.toml
36 @@ -23,22 +23,22 @@ CHOST = "powerpc64-unknown-linux-gnu"
37 USE = [ "altivec", "ibm",]
38
39 [ppc64.power7]
40 -COMMON_FLAGS = "-O2 -pipe -mcpu=power7 -mtune=power7 -mabi=elfv2"
41 +COMMON_FLAGS = "-O2 -pipe -mcpu=power7 -mtune=power7"
42 CHOST = "powerpc64-unknown-linux-gnu"
43 USE = [ "altivec", "ibm",]
44
45 [ppc64.power7le]
46 -COMMON_FLAGS = "-O2 -pipe -mcpu=power7 -mtune=power7 -mabi=elfv2"
47 +COMMON_FLAGS = "-O2 -pipe -mcpu=power7 -mtune=power7"
48 CHOST = "powerpc64le-unknown-linux-gnu"
49 USE = [ "altivec", "ibm",]
50
51 [ppc64.power8]
52 -COMMON_FLAGS = "-O2 -pipe -mcpu=power8 -mtune=power8 -mabi=elfv2"
53 +COMMON_FLAGS = "-O2 -pipe -mcpu=power8 -mtune=power8"
54 CHOST = "powerpc64-unknown-linux-gnu"
55 USE = [ "altivec", "ibm",]
56
57 [ppc64.power8le]
58 -COMMON_FLAGS = "-O2 -pipe -mcpu=power8 -mtune=power8 -mabi=elfv2"
59 +COMMON_FLAGS = "-O2 -pipe -mcpu=power8 -mtune=power8"
60 CHOST = "powerpc64le-unknown-linux-gnu"
61 USE = [ "altivec", "ibm",]