-
Notifications
You must be signed in to change notification settings - Fork 112
Open
Description
---> Building fortran-polyroots
xinstall: mkdir /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_fortran_fortran-polyroots/fortran-polyroots/work/bin
Executing: cd "/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_fortran_fortran-polyroots/fortran-polyroots/work/polyroots-fortran-1.3.0" && /opt/local/bin/fpm install --verbose --prefix="/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_fortran_fortran-polyroots/fortran-polyroots/work/opt/local" --profile="release" --flag="-I /opt/local/lib/gcc12/gcc/powerpc-apple-darwin10/12.2.0/finclude/"
+ mkdir -p build/dependencies
<INFO> BUILD_NAME: build/gfortran
<INFO> COMPILER: gfortran
<INFO> C COMPILER: gcc
<INFO> CXX COMPILER: g++
<INFO> COMPILER OPTIONS: -I /opt/local/lib/gcc12/gcc/powerpc-apple-darwin10/12.2.0/finclude/ -O3 -funroll-loops -Wimplicit-interface -fPIC -fmax-errors=1 -fcoarray=single
<INFO> C COMPILER OPTIONS:
<INFO> CXX COMPILER OPTIONS:
<INFO> LINKER OPTIONS:
<INFO> INCLUDE DIRECTORIES: []
+ mkdir -p build/gfortran_8BA9CBA4E214DAD5
[ 0%] polyroots_module.F90
+ mkdir -p build/gfortran_8BA9CBA4E214DAD5/polyroots-fortran/
+ gfortran -c ././src/polyroots_module.F90 -I /opt/local/lib/gcc12/gcc/powerpc-apple-darwin10/12.2.0/finclude/ -O3 -funroll-loops -Wimplicit-interface -fPIC -fmax-errors=1 -fcoarray=single -J build/gfortran_8BA9CBA4E214DAD5 -Ibuild/gfortran_8BA9CBA4E214DAD5 -o build/gfortran_8BA9CBA4E214DAD5/polyroots-fortran/src_polyroots_module.F90.o
././src/polyroots_module.F90:24:8:
use ieee_arithmetic
1
Fatal Error: Cannot read module file 'ieee_arithmetic.mod' opened at (1), because it was created by a different version of GNU Fortran
compilation terminated.
[ 50%] polyroots_module.F90 done.
././src/polyroots_module.F90:24:8:
use ieee_arithmetic
1
Fatal Error: Cannot read module file 'ieee_arithmetic.mod' opened at (1), because it was created by a different version of GNU Fortran
compilation terminated.
<ERROR> Compilation failed for object " src_polyroots_module.F90.o "
<ERROR>stopping due to failed compilation
STOP 1
Yet the module is sitting there:
/opt/local/lib/gcc12/gcc/powerpc-apple-darwin10/12.2.0/finclude/ieee_arithmetic.mod
It also seems to work fine with non-fpm
builds (without passing any specific flags, GCC handles it automatically).
Metadata
Metadata
Assignees
Labels
No labels