Volunteer needed! In a gnulib testdir of module 'mtx' ./gnulib-tool --create-testdir --dir=../testdir --single-configure mtx on FreeBSD 12.0, when configured with --enable-threads=isoc, the test 'test-mtx' hangs and only terminates by timeout. The test function that hangs is test_once.
Without --enable-threads=isoc, i.e. with --enable-threads=pthread, it works fine. On a glibc system with ISO C threads (e.g. Fedora 30), it works fine as well. Anyone wants to debug this and report a bug to the FreeBSD people? Bruno