On 9/28/23 07:33, Thomas Koenig wrote:
Hi Toon,
[ I wrote: ]
The full question of "lto-ing" run time libraries is more complicated
than just "whether it works" as those who attended the BoF will recall.
I didn't attend the Cauldron (but that discussion would have been
very interesting). I think for libgfortran, a first step would be
additional work to get declarations on both sides to agree (which is
worth doing anyway).
Best regards
Thomas
The big problem in *distributing* GCC (i.e., the collection) with lto'd
run-time libraries is that the format of the lto structure changes with
releases. If a compiler (by accident) picks up a run time library with
non-matching lto objects, it might crash (or "introduce subtle errors in
a once working program").
I.e., like the problem the gfortran community had with the changing
format of our .mod files.
But it would be a big win for Fortran ...
Kind regards,
--
Toon Moene - e-mail: t...@moene.org - phone: +31 346 214290
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands