On Fri, Jun 27 2025 at 17:08, Ben Zong-You Xie wrote:
glibc does not define SYS_futex for 32-bit architectures using 64-bit
Kinda. The kernel does not provide sys_futex() on 32-bit architectures, which do not support 32-bit time representations. As a consequence glibc obviously cannot define SYS_futex either.
time_t e.g. riscv32, therefore this test fails to compile since it does not find SYS_futex in C library headers. Define SYS_futex as SYS_futex_time64 in this situation to ensure successful compilation and compatibility.
Signed-off-by: Cynthia Huang cynthia@andestech.com Signed-off-by: Ben Zong-You Xie ben717@andestech.com
Changes since v1:
- Fix the SOB chain
Mostly.
If Cynthia authored the patch, then this still lacks a 'From: Cynthia...' at the top of the change log so she can be identified as the author. Otherwise tooling will attribute autorship to you.
Thanks,
tglx