Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 Jun 2020 13:48:07 +0000
From:      bugzilla-noreply@freebsd.org
To:        powerpc@FreeBSD.org
Subject:   [Bug 246958] net/mpich: Fails to build with current GCC: configure: error: The Fortran compiler gfortran10 will not compile files that call the same routine with arguments of different types.
Message-ID:  <bug-246958-25139@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246958

            Bug ID: 246958
           Summary: net/mpich: Fails to build with current GCC: configure:
                    error: The Fortran compiler gfortran10 will not
                    compile files that call the same routine with
                    arguments of different types.
           Product: Ports & Packages
           Version: Latest
          Hardware: powerpc
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: salvadore@freebsd.org
                CC: gerald@FreeBSD.org, linimon@FreeBSD.org,
                    powerpc@FreeBSD.org, tcberner@freebsd.org
            Blocks: 246700
                CC: powerpc@FreeBSD.org

Please see PR #246700 for details, which is about updating the default vers=
ion
of GCC from 9 to 10.

  checking whether Fortran 77 compiler processes .F files with C
preprocessor... yes
  checking whether gfortran10 allows mismatched arguments... no
  configure: error: The Fortran compiler gfortran10 will not compile files =
that
call the same routine with arguments of different types.
  =3D=3D=3D>  Script "configure" failed unexpectedly.

This error was produced on powerpc64 (see comment 7 in PR #246700).

This issue is probably due to the -fno-common flag set by default. The easy
workaround is adding CFLAGS=3D-fcommon until the code can be fixed (prefera=
bly
upstream) according to https://gcc.gnu.org/gcc-10/porting_to.html#common .


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246700
[Bug 246700] [exp-run] Update GCC_DEFAULT from 9 to 10
--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-246958-25139>