On Tue, 21 Jul 2026 at 23:40, Bruno Haible <[email protected]> wrote: > > Hi Luca, > > I did some testing of your first 2 patches of this series and found a couple > of test errors on various platforms: > > > CentOS 7 > > gcc -std=gnu99 -std=gnu11 -DHAVE_CONFIG_H -I. -I../../gltests -I.. > -DGNULIB_STRICT_CHECKING=1 -DIN_GNULIB_TESTS=1 -I. -I../../gltests -I.. > -I../../gltests/.. -I../gllib -I../../gltests/../gllib -Wall > -DCONTINUE_AFTER_ASSERT -Wno-error -Wno-error -g -O2 -MT test-sd-dlopen.o -MD > -MP -MF .deps/test-sd-dlopen.Tpo -c -o test-sd-dlopen.o > ../../gltests/test-sd-dlopen.c > /tmp/ccsYRr90.s: Assembler messages: > /tmp/ccsYRr90.s:7: Fatal error: bad .section directive: want a,l,w,x,M,S,G,T > in string > make[4]: *** [test-sd-dlopen.o] Error 1 > > > AlmaLinux 9 > > gcc -std=gnu99 -std=gnu11 -DHAVE_CONFIG_H -I. -I../../gltests -I.. > -DGNULIB_STRICT_CHECKING=1 -DIN_GNULIB_TESTS=1 -I. -I../../gltests -I.. > -I../../gltests/.. -I../gllib -I../../gltests/../gllib -Wall > -DCONTINUE_AFTER_ASSERT -Wno-error -Wno-error -g -O2 -MT test-sd-dlopen.o -MD > -MP -MF .deps/test-sd-dlopen.Tpo -c -o test-sd-dlopen.o > ../../gltests/test-sd-dlopen.c > /tmp/ccTZtxDv.s: Assembler messages: > /tmp/ccTZtxDv.s:8: Fatal error: bad .section directive: want a,l,w,x,M,S,G,T > in string > make[4]: *** [Makefile:1494: test-sd-dlopen.o] Error 1 > > > NetBSD 10.0 > > gcc -DHAVE_CONFIG_H -I. -I../../gltests -I.. -DGNULIB_STRICT_CHECKING=1 > -DIN_GNULIB_TESTS=1 -I. -I../../gltests -I.. -I../../gltests/.. -I../gllib > -I../../gltests/../gllib -I/usr/pkg/include -Wall -DCONTINUE_AFTER_ASSERT > -Wno-error -Wno-error -g -O2 -MT test-sd-dlopen.o -MD -MP -MF > .deps/test-sd-dlopen.Tpo -c -o test-sd-dlopen.o ../../gltests/test-sd-dlopen.c > /tmp//ccObcS4r.s: Assembler messages: > /tmp//ccObcS4r.s:7: Fatal error: bad .section directive: want a,l,w,x,M,S,G,T > in string > *** Error code 1 > > > Solaris 11.4 > > gcc -m64 -Wno-error -Wno-error -g -O2 -L/root/lib -o test-sd-dlopen > test-sd-dlopen.o libtests.a ../gllib/libgnu.a libtests.a ../gllib/libgnu.a > libtests.a > ld: fatal: file test-sd-dlopen.o: wrong ELF OSABI: ELFOSABI_GNU > collect2: error: ld returned 1 exit status > *** Error code 1 > > > Therefore, once the copyright assignment paperwork is complete, here is an > augmented set of patches that I plan to commit: the two commits from you > (with GNU-style ChangeLog and a correction in m4/libdl.m4) and 4 commits > (1 for clarity, 3 to avoid the errors above).
Thanks for these, I did another change following a request in another email thread so I've sent a new revision which also incorporates these fixes
