Pádraig Brady wrote: > I'm thinking an AC_LINK_IFELSE check is appropriate > to test for this and possibly other link errors > like already mentioned for LLVM < 18? > > The attached works on cfarm13 at least.
Yes, since on Debian 11 a build with gl_cv_asm_section_o=no ./configure; make; make check succeeds, the best fix is to tweak the autoconfiguration, to not use section flag 'o' if not well supported. The patch to m4/sd-dlopen.m4 looks fine to me. But what's the point of the patch to lib/sd-dlopen.h? It risks that we again run into the problems with LLVM < 18, that Luca already ran into. IMO that's not worth the risk, for a simplification of less than 1 line of code. Bruno
