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