On Montag, 7. September 2026 15:45:56 Mitteleuropäische Sommerzeit Pádraig
Brady wrote:
> test-sd-dlopen fails to link (on cfarm13)
For completeness: The error message is:
gcc-10 -Wno-error -Wno-error -g -O2 -o test-sd-dlopen test-sd-dlopen.o
libtests.a ../gllib/libgnu.a libtests.a ../gllib/libgnu.a libtests.a
/usr/bin/ld: .note.dlopen has both ordered
[`.note.dlopen[sd_dlopen_group_test_required]' in test-sd-dlopen.o] and
unordered [`.note.dlopen[sd_dlopen:[{"feature":"test","description":"Test
optional dependency","priority":"suggested","soname":["libtest.so.1"]}]]' in
test-sd-dlopen.o] sections
/usr/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:1424: test-sd-dlopen] Error 1
And things work fine with binutils-2.30 (e.g. on CentOS 8), because
there, configure finds:
checking whether the assembler supports the section flag o... no
Bruno