From owner-svn-ports-head@freebsd.org Tue Nov 17 22:17:28 2020 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5FDE24709BD; Tue, 17 Nov 2020 22:17:28 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CbL0S2K5cz3mCl; Tue, 17 Nov 2020 22:17:28 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4283227642; Tue, 17 Nov 2020 22:17:28 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 0AHMHSVj006072; Tue, 17 Nov 2020 22:17:28 GMT (envelope-from linimon@FreeBSD.org) Received: (from linimon@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 0AHMHSUx006071; Tue, 17 Nov 2020 22:17:28 GMT (envelope-from linimon@FreeBSD.org) Message-Id: <202011172217.0AHMHSUx006071@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: linimon set sender to linimon@FreeBSD.org using -f From: Mark Linimon Date: Tue, 17 Nov 2020 22:17:28 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r555594 - head/math/scalapack X-SVN-Group: ports-head X-SVN-Commit-Author: linimon X-SVN-Commit-Paths: head/math/scalapack X-SVN-Commit-Revision: 555594 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2020 22:17:28 -0000 Author: linimon Date: Tue Nov 17 22:17:27 2020 New Revision: 555594 URL: https://svnweb.freebsd.org/changeset/ports/555594 Log: Add workaround for Fortran frontend to GCC 10. PR: 246700 Modified: head/math/scalapack/Makefile Modified: head/math/scalapack/Makefile ============================================================================== --- head/math/scalapack/Makefile Tue Nov 17 22:15:22 2020 (r555593) +++ head/math/scalapack/Makefile Tue Nov 17 22:17:27 2020 (r555594) @@ -75,6 +75,11 @@ CFLAGS+= ${FPIC} FFLAGS+= ${FPIC} SVERSION= 2 +.if ${GCC_DEFAULT} >= 10 +# workaround for Rank mismatch between actual argument at (1) and actual argument at (2) (scalar and rank-1) +FFLAGS+= -fallow-argument-mismatch +.endif + .if defined(WITH_OPTIMIZED_FLAGS) .if ${ARCH} == "amd64" FFLAGS+= -pipe -O3 -ffast-math -funroll-all-loops -fpeel-loops -ftracer -funswitch-loops -funit-at-a-time