On Sun, Nov 16, 2025 at 10:52:52AM +0000, Gavin Smith wrote: > On Sun, Nov 16, 2025 at 12:52:49AM +0100, Patrice Dumas wrote: > > On Sun, Nov 16, 2025 at 12:16:35AM +0100, Patrice Dumas wrote: > > > I will try to remove PERL_EXTUTILS_EMBED_ccopts to see if it builds in > > > opencsw without this. > > > > Seems like it does. > > That's great! An easy fix, although one that took many hours to discover.
> Weren't there other failures on AlmaLinux that this flag was added for? Yes, there were. In the ChangeLog I wrote 'Could be needed on AlmaLinux'. But it is not actually could, it is needed. I remember that I found the information in a bug report or in a forum post. The flags in PERL_EXTUTILS_EMBED_ldopts have some flags in them that require corresponding "source fortification" flags in CFLAGS, otherwise there is an error of result not being relocatable. > Maybe there are other ways to fix the problem on AlmaLinux other than > adding this flag. Probably not so easy to determine, I couldn't reproduce the issue on cfarm. We probably have to decide ourselves if we want to prefer * consistency between CFLAGS and LDFLAGS * avoiding mixing Perl headers and gnulib/autoconf generated config.h and code -- Pat
