gfortran | 9.3.1 missing FINDLOC?

Jonathan Wakely jwakely.gcc@gmail.com
Tue Mar 30 15:22:49 GMT 2021


On Tue, 30 Mar 2021 at 16:14, Evan Cooch wrote:
> Many thanks. That gave me a clue. Turns out that if I statically link
> libgfortran (-static-libgfortran), findloc is found (unavoidable irony).
> But, if I use a dynamic link, it is not staying with the scl env, and is
> using the libgfortran that CentOS 7 (and RHEL 7) defaults to, which is
> << gcc 9. Which, if I'd stoped to think about it, sort of makes sense.

If you're using gfortran from devtoolset then linking to the
libgfortran.so from the base OS is the whole point of devtoolset. New
symbols that aren't in the base libgfortran.so are supposed to be
statically linked into the executable. Please open a bug at
bugzilla.redhat.com about this.


More information about the Gcc-help mailing list