gfortran | 9.3.1 missing FINDLOC?

Evan Cooch evan.cooch@gmail.com
Tue Mar 30 18:26:01 GMT 2021



On 3/30/2021 1:55 PM, Jonathan Wakely wrote:
> On Tue, 30 Mar 2021 at 17:42, Evan Cooch <evan.cooch@gmail.com> wrote:
>>
>>
>> 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.
> I'm told that this is already fixed in devtoolset-10.

...which, I've heard, won't be available for CentOS 7. And probably not 
CentOS 8 since its gone to a rolling distro model.

Ah well.

Thanks for the update.




More information about the Gcc-help mailing list