From 4ea7e2017845fe388ae8bc353175b9a993e66aa5 Mon Sep 17 00:00:00 2001 From: eabdullin Date: Tue, 12 Nov 2024 10:12:00 +0000 Subject: [PATCH] import UBI autoconf-2.69-39.el9 --- ...IBRARY_LDFLAGS-to-oneAPI-HPC-Toolkit.patch | 31 +++++++++++++++++++ SPECS/autoconf.spec | 8 ++++- 2 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 SOURCES/0001-Port-AC_F77_LIBRARY_LDFLAGS-to-oneAPI-HPC-Toolkit.patch diff --git a/SOURCES/0001-Port-AC_F77_LIBRARY_LDFLAGS-to-oneAPI-HPC-Toolkit.patch b/SOURCES/0001-Port-AC_F77_LIBRARY_LDFLAGS-to-oneAPI-HPC-Toolkit.patch new file mode 100644 index 0000000..690d2b5 --- /dev/null +++ b/SOURCES/0001-Port-AC_F77_LIBRARY_LDFLAGS-to-oneAPI-HPC-Toolkit.patch @@ -0,0 +1,31 @@ +From ae26b9b44c183c41b84fc36ff70082713295d621 Mon Sep 17 00:00:00 2001 +From: Paul Eggert +Date: Wed, 22 Jul 2020 12:56:19 -0700 +Subject: [PATCH] Port AC_F77_LIBRARY_LDFLAGS to oneAPI HPC Toolkit +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Problem reported by Bill Dieter in: +https://lists.gnu.org/r/bug-autoconf/2020-07/msg00089.html +* lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): +Defend against ‘clang -mllvm -loopopt=0’. +--- + lib/autoconf/fortran.m4 | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/lib/autoconf/fortran.m4 b/lib/autoconf/fortran.m4 +index 0a0c4168..59a8859b 100644 +--- a/lib/autoconf/fortran.m4 ++++ b/lib/autoconf/fortran.m4 +@@ -698,6 +698,7 @@ while test $[@%:@] != 1; do + -zallextract*| -zdefaultextract) + ac_cv_[]_AC_LANG_ABBREV[]_libs="$ac_cv_[]_AC_LANG_ABBREV[]_libs $ac_arg" + ;; ++ -mllvm) ${2+shift};; # Defend against 'clang -mllvm -loopopt=0'. + # Ignore everything else. + esac + done +-- +2.45.0 + diff --git a/SPECS/autoconf.spec b/SPECS/autoconf.spec index e6bd197..d8f481a 100644 --- a/SPECS/autoconf.spec +++ b/SPECS/autoconf.spec @@ -6,7 +6,7 @@ Summary: A GNU tool for automatically configuring source code Name: autoconf Version: 2.69 -Release: 38%{?dist} +Release: 39%{?dist} License: GPLv2+ and GFDL Source0: https://ftp.gnu.org/gnu/autoconf/autoconf-%{version}.tar.xz Source1: config.site @@ -17,6 +17,9 @@ Patch1: autoconf-2.69-perl-5.22-autoscan.patch Patch2: autoconf-2.69-bash-5-LINENO.patch Patch3: autoconf-2.69-backport-runstatedir-option.patch +# Backport: see RHEL-40739 +Patch4: 0001-Port-AC_F77_LIBRARY_LDFLAGS-to-oneAPI-HPC-Toolkit.patch + BuildArch: noarch @@ -126,6 +129,9 @@ install -p -m 0644 %{SOURCE2} %{buildroot}%{_emacs_sitestartdir} %changelog +* Tue Jun 11 2024 Frederic Berat - 2.69-39 +- Fix issues with Fortran detection and oneAPI HPC Toolkit (RHEL-40739) + * Mon Aug 09 2021 Mohan Boddu - 2.69-38 - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags Related: rhbz#1991688