[committed] hppa: undef __ASSUME_SET_ROBUST_LIST
John David Anglin
dave.anglin@bell.net
Wed Sep 21 14:11:41 GMT 2022
On 2022-09-21 10:05 a.m., Andreas Schwab wrote:
> On Sep 21 2022, John David Anglin wrote:
>
>> tst-cancel24 triggered my interest, so I checked what's doing:
>> #> QEMU_LOG=strace ./glibc-2.34/build-tree/hppa-libc/nptl/tst-cancel24
>> ...
>> 2080424 set_robust_list(-105721680,12,0,-105720464,-100671382,1) = -1 errno=251 (Function not implemented)
> This test doesn't fail for me for riscv64 with qemu. Others on your
> list also do not fail here.
It depends on the kernel version reported by qemu on riscv:
/* No support for PI mutexes or robust futexes before 4.20. */
#if __LINUX_KERNEL_VERSION < 0x041400
# undef __ASSUME_SET_ROBUST_LIST
#endif
--
John David Anglin dave.anglin@bell.net
More information about the Libc-alpha
mailing list