On 01/29/2016 09:55 AM, Dan HorĂ¡k wrote:
sorry for the late reply, but Fedora PPC team would like keep the
support for Power7 for a while until we will able to replace the
remaining older HW with Power8 one. We have already started the required
actions, but as you can understand it will take some time. I personally
expect we will be able to switch F-25 to pure Power8.
Certainly.
What I will do is a little bit different.
How does the following patch look to you?
diff --git a/glibc.spec b/glibc.spec
index 8fc1617..5910b14 100644
--- a/glibc.spec
+++ b/glibc.spec
@@ -885,11 +885,21 @@ build nosegneg -mno-tls-direct-seg-refs
)
%endif
+#
+# The Fedora POWER community has requested we continue to support doing
+# POWER8 builds on POWER7 hardware.
+# The request is here by Dan Horak:
+#
https://lists.fedoraproject.org/archives/list/ppc@lists.fedoraproject.org...
+#
+# To make the eventual transition to POWER8 easier we change the -mcpu
+# flags and the --with-cpu flag to power7 for the POWER8 build. That means
+# we still only use POWER7 optimized code, but tune for POWER8.
+#
%if %{buildpower8}
(
- AddOns="$AddOns --with-cpu=power8"
- GCC="$GCC -mcpu=power8 -mtune=power8"
- GXX="$GXX -mcpu=power8 -mtune=power8"
+ AddOns="$AddOns --with-cpu=power7"
+ GCC="$GCC -mcpu=power7 -mtune=power8"
+ GXX="$GXX -mcpu=power7 -mtune=power8"
build power8
)
%endif
---
This does not address the 64-bit LE POWER8 issues as pointed out by Florian.
Cheers,
Carlos.