The branch stable/15 has been updated by olce:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=1e0de6ef6334ac266b4b61eaa4c2ce0169d732de

commit 1e0de6ef6334ac266b4b61eaa4c2ce0169d732de
Author:     Olivier Certner <[email protected]>
AuthorDate: 2026-02-13 16:37:21 +0000
Commit:     Olivier Certner <[email protected]>
CommitDate: 2026-03-05 14:43:24 +0000

    sys/compat/freebsd32: Fix i386 compilation
    
    The compile assertion now failing is due to the change '__int64_t' =>
    '__int32_t' as the type of 'time32_t' on i386, which is the correct
    value.  The use of 'freebsd32.h' on i386 may seem strange, but it comes
    from 'kern_umtx.c' including it unconditionally as it needs 'struct
    umutex32'.
    
    Fixes:          87632ddf67b0 ("openzfs sys/types32.h: use abi_compat.h for 
time32_t")
    Sponsored by:   The FreeBSD Foundation
    
    (cherry picked from commit 07c4eb506be45a4b836665e14ad63034ef3d573a)
---
 sys/compat/freebsd32/freebsd32.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/compat/freebsd32/freebsd32.h b/sys/compat/freebsd32/freebsd32.h
index d742139f9dd0..13fe77228684 100644
--- a/sys/compat/freebsd32/freebsd32.h
+++ b/sys/compat/freebsd32/freebsd32.h
@@ -71,7 +71,7 @@ struct ffclock_estimate32 {
 __attribute__((packed))
 #endif
 ;
-#if defined(__amd64__)
+#if defined(__amd64__) || defined(__i386__)
 _Static_assert(sizeof(struct ffclock_estimate32) == 52, "ffclock_estimate32 
size");
 #else
 _Static_assert(sizeof(struct ffclock_estimate32) == 56, "ffclock_estimate32 
size");

Reply via email to