Hi Jean, I tried enabling IPO/LTO, and it seems to work fine on all supported platforms. OpenBSD does not seem to support LTO, but all other platforms show no difference in undefined behavior compared to non-LTO builds. I think we should try enabling it again once the undefined behavior fixes are implemented.
You can check the test runs here: - https://github.com/antiguru/ooRexx/actions/runs/30713617550 - https://github.com/antiguru/ooRexx/actions/runs/30713617554 - https://github.com/antiguru/ooRexx/actions/runs/30713617566 I plan to merge the fixes sometime next week. Cheers, Moritz On Thu, Jul 30, 2026 at 9:33 PM Jean Louis Faucher <[email protected]> wrote: > > > On 27 Jul 2026, at 16:23, Moritz Hoffmann <[email protected]> wrote: > > I ran all tests on GitHub CI, see > https://github.com/antiguru/ooRexx/actions. With a few more fixes Linux, > Windows, Mac, Free/OpenBSD all run the test suite successfully. (The last > ones are still running, so let's see.) > > >> > Moritz, > > Since you have tests running on GitHub CI, could you ask Claude to enable > IPO? > We tried it last year, but had to revert the change because it caused > segmentation faults on Linux. > Maybe the segmentation faults will no longer occur with your fixes. > > I attach the patch we used, but I guess Claude would use its own patch if > requested. > Attached: IPO-CMakeLists.txt.patch > > > History: > > #863 Make CMake use IPO if available > https://sourceforge.net/p/oorexx/feature-requests/863/ > > Commit [r13047] > https://sourceforge.net/p/oorexx/code-0/13047 > > [Oorexx-devel] Segfaults in many platforms > > https://sourceforge.net/p/oorexx/mailman/oorexx-devel/thread/f48c75e9-3171-4cd8-880e-5b621a771510%40wu.ac.at/#msg59266921 > > Undo Commit [r13047] > Commit [r13049] > https://sourceforge.net/p/oorexx/code-0/13049 > > > _______________________________________________ > Oorexx-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/oorexx-devel > -- Moritz Hoffmann; http://antiguru.de/
_______________________________________________ Oorexx-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/oorexx-devel
