From 29db0d87cc2d917d9519dc3e127bbaee5cf5d4a3 Mon Sep 17 00:00:00 2001 From: Marek Polacek Date: Mon, 19 Apr 2021 19:21:40 -0400 Subject: [PATCH] Use power7 cpu/tuning and filter out -march=z14 -mtune=z15. Resolves: #1951315 --- compat-libgfortran-48.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/compat-libgfortran-48.spec b/compat-libgfortran-48.spec index 046b56a..be447ed 100644 --- a/compat-libgfortran-48.spec +++ b/compat-libgfortran-48.spec @@ -14,7 +14,7 @@ Summary: Compatibility Fortran runtime library version 4.8.5 Name: compat-libgfortran-48 %global gcc_version 4.8.5 Version: %{gcc_version} -Release: %{gcc_release}.1%{?dist}.1 +Release: %{gcc_release}.2%{?dist} # libgcc, libgfortran, libmudflap, libgomp, libstdc++ and crtstuff have # GCC Runtime Exception. License: GPLv3+ and GPLv3+ with exceptions and GPLv2+ with exceptions and LGPLv2+ and BSD @@ -369,11 +369,11 @@ OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-mbranch-protection=standard//g'` %endif %ifarch s390x # Same here. -OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-march=z13 -mtune=z14//g'` +OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-march=z14 -mtune=z15//g'` %endif %ifarch ppc64le # Same here. GCC 4.8 doesn't grok power8. -OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-mcpu=power8 -mtune=power8/-mcpu=power7 -mtune=power7/g'` +OPT_FLAGS=`echo $OPT_FLAGS|sed -e 's/-mcpu=power9 -mtune=power9/-mcpu=power7 -mtune=power7/g'` %endif OPT_FLAGS=`echo "$OPT_FLAGS" | sed -e 's/[[:blank:]]\+/ /g'` case "$OPT_FLAGS" in @@ -506,6 +506,9 @@ rm -rf testlogs-%{_target_platform}-%{version}-%{release} %{_libdir}/libgfortran.so.3* %changelog +* Mon Apr 19 2021 Marek Polacek - 4.8.5-36.2 +- use power7 cpu/tuning and filter out -march=z14 -mtune=z15 (#1951315) + * Thu Apr 15 2021 Mohan Boddu - 4.8.5-36.1.1 - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937