From acd11e20cdc4395af9bec40f37fab40a2c800f85 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 22 Oct 2026 21:28:16 -0700 Subject: [PATCH] samba: Fix riscv32 waf cross answers The riscv32 cross answers were derived from arm, but riscv32 has no legacy 32-bit credential syscalls such as setresuid32, so samba asks "Checking whether we can use Linux thread-specific credentials" instead of the "with 32-bit system calls" variant. With no answer, configure fails: Checking whether we can use Linux thread-specific credentials : not found ... The configuration failed Answer it like riscv64 and aarch64 do. riscv32 also has a 64-bit time_t, so the time_t maximum value check succeeds like on 64-bit targets. Answer it OK so that samba does not limit TIME_T_MAX to INT32_MAX. Signed-off-by: Khem Raj --- .../files/waf-cross-answers/cross-answers-riscv32.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-networking/files/waf-cross-answers/cross-answers-riscv32.txt b/meta-networking/files/waf-cross-answers/cross-answers-riscv32.txt index 5655a65852..23cad95b9f 100644 --- a/meta-networking/files/waf-cross-answers/cross-answers-riscv32.txt +++ b/meta-networking/files/waf-cross-answers/cross-answers-riscv32.txt @@ -28,9 +28,9 @@ Checking whether POSIX capabilities are available: OK Checking if can we convert from CP850 to UCS-2LE: OK Checking if can we convert from UTF-8 to UCS-2LE: OK vfs_fileid checking for statfs() and struct statfs.f_fsid: OK -Checking whether we can use Linux thread-specific credentials with 32-bit system calls: OK +Checking whether we can use Linux thread-specific credentials: OK Checking whether fcntl locking is available: OK -Checking for the maximum value of the 'time_t' type: NO +Checking for the maximum value of the 'time_t' type: OK Checking whether the realpath function allows a NULL argument: OK Checking for ftruncate extend: OK getcwd takes a NULL argument: OK