From d226a72dc9bfa3939c39bc0eeaedd50db35c9fb1 Mon Sep 17 00:00:00 2001 From: linjiaxin Date: Mon, 2 Aug 2021 08:06:28 +0000 Subject: [PATCH] update mpich.spec. Mismatches between actual and dummy argument lists in a single file are now rejected with an error. Use the new option -fallow-argument-mismatch to turn these errors into warnings; this option is implied with -std=legacy. -Wargument-mismatch has been removed. refer to: https://gcc.gnu.org/gcc-10/changes.html --- mpich.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/mpich.spec b/mpich.spec index bd0e7dd..2889c78 100644 --- a/mpich.spec +++ b/mpich.spec @@ -1,7 +1,7 @@ Summary: A high-performance implementation of MPI Name: mpich Version: 3.2.1 -Release: 12 +Release: 13 License: MIT URL: http://www.mpich.org/ Source0: http://www.mpich.org/static/downloads/%{version}/mpich-%{version}.tar.gz @@ -101,7 +101,7 @@ mpich support for Python 3. CFLAGS="%{m_option} -O2 %{?XFLAGS}" \ CXXFLAGS="%{m_option} -O2 %{?XFLAGS}" \ FCFLAGS="%{m_option} -O2 %{?XFLAGS}" \ - FFLAGS="%{m_option} -O2 %{?XFLAGS}" \ + FFLAGS="%{m_option} -O2 %{?XFLAGS} -fallow-argument-mismatch" \ LDFLAGS='-Wl,-z,noexecstack' \ MPICHLIB_CFLAGS="%{?opt_cc_cflags}" \ MPICHLIB_CXXFLAGS="%{optflags}" \ @@ -202,6 +202,9 @@ make check V=1 %{python3_sitearch}/mpich.pth %changelog +* Mon Aug 02 2021 linjiaxin5 - 3.2.1-13 +- Fix failure caused by GCC upgrade to 10 + * Fri Oct 30 2020 wangxiao - 3.2.1-12 - delete unnessary file -- Gitee