[scl.org] devtoolset-9 | missing findloc intrinsic?
Evan Cooch
evan.cooch at gmail.com
Sun Mar 28 18:44:12 UTC 2021
Weird one (perhaps). Colleague and I trade back a large slug of FORTRAN
code -- he is on a Windows machine, running mingw gfortran 9.2. He
recently made a small code update that calls the findloc intrinsic,
which is suppoted in 9.x.x. Code compiles fine on his end.
But, on my end, no such luck -- I'm on Linux boxes (CentOS 7), running
gfortran 9.3.1 under scl devtoolset. When I try to compile the _exact_
same code, I get a fail at the end -- a few lines referring to a call to
FINDLOC in one of the modules (something called estmat).
/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/ld:
estmat.o: in function `filldm.3876': estmat.f90:(.text+0x1201):
undefined reference to `_gfortran_findloc0_s1'
Was wondering if anyone can give me some advice? Is there a way to 'look
for' FINDLOC on my box (irony accidental), or (perhaps) if there is a
packaging issue with devtoolkit for CentOS, is there something I can do
to correct the problem?
Many thanks in advance...
If it matters, this is what 'gfortran -v' returns on my machine:
Using built-in specs.
COLLECT_GCC=gfortran
COLLECT_LTO_WRAPPER=/opt/rh/devtoolset-9/root/usr/libexec/gcc/x86_64-redhat-linux/9/lto-wrapper
Target: x86_64-redhat-linux
Configured with: ../configure --enable-bootstrap
--enable-languages=c,c++,fortran,lto
--prefix=/opt/rh/devtoolset-9/root/usr
--mandir=/opt/rh/devtoolset-9/root/usr/share/man
--infodir=/opt/rh/devtoolset-9/root/usr/share/info
--with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared
--enable-threads=posix --enable-checking=release --enable-multilib
--with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions
--enable-gnu-unique-object --enable-linker-build-id
--with-gcc-major-version-only --with-linker-hash-style=gnu
--with-default-libstdcxx-abi=gcc4-compatible --enable-plugin
--enable-initfini-array
--with-isl=/builddir/build/BUILD/gcc-9.3.1-20200408/obj-x86_64-redhat-linux/isl-install
--disable-libmpx --enable-gnu-indirect-function --with-tune=generic
--with-arch_32=x86-64 --build=x86_64-redhat-linux
Thread model: posix
gcc version 9.3.1 20200408 (Red Hat 9.3.1-2) (GCC)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/sclorg/attachments/20210328/24df91bd/attachment.htm>
More information about the SCLorg
mailing list