On 6/29/24 02:48, Bruno Haible wrote:
1. Install a toolchain for creating binaries linked against musl-libc:
$ sudo apt install musl-gcc
2. Create a testdir for the module 'pthread-rwlock'.
3. Build it with CC="gcc". You should still see the test failure after
10 minutes.
4. Build it with CC="musl-gcc". Run
$ time gltests/test-pthread-rwlock
If 4. takes more than 30 seconds, your OS is probably running on top of
a hypervisor, and that is causing the problem.
If 4. takes just a few seconds, it looks like a glibc bug.
4. takes just a few seconds on my platform.