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/>

index | next in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246958

            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 version
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.
  ===>  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=-fcommon until the code can be fixed (preferably
upstream) according to https://gcc.gnu.org/gcc-10/porting_to.html#common .


Referenced Bugs:

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

home | help

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