https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127210

--- Comment #5 from Mikael Morin <mikael at gcc dot gnu.org> ---
(In reply to Marvin Friede from comment #4)
> Because this breaks ABI on routine dependency rebuilds without modifying the
> library's own source, the extension-module fix does not work in binary
> distributions like conda-forge.
Note that the ABI change is signaled by a change of the generated .mod file. 
So it "mostly" works if module files are used as dependencies in the
traditional make-like fashion.  That's probably the reason it has remained
unnoticed for so long.  But of course as you say, it doesn't work with binary
distribution and dependencies maintained independently of .mod files.

> Does this change your view on the ABI break,
> or should we consider workarounds on our side (like exact dependency pins)?
It won't be fixed for the gfortran-16.x series and older, so you should
consider workarounds.  For the unreleased gfortran-17.x series it can still be
fixed, but the decision should be discussed with the other maintainers.

Reply via email to