gfortran | 9.3.1 missing FINDLOC?

Evan Cooch evan.cooch@gmail.com
Tue Mar 30 16:42:44 GMT 2021



On 3/30/2021 11:22 AM, Jonathan Wakely wrote:
> 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.

OK, will do once I've worked out the details.


More information about the Gcc-help mailing list