The following commit has been merged in the openafs-stable-1_8_x branch:
commit 8db1ef3eee67e40643eaf017a62d7f2c23473e9b
Author: Mark Vitale <[email protected]>
Date:   Mon May 18 17:20:26 2020 -0400

    LINUX 5.6: define osi_timeval32_t for 32-bit Linux
    
    For 32-bit Linux (e.g., arch i586), AFS_LINUX_64BIT_KERNEL is not
    defined, so osi_timeval32_t is defined as a typedef of the native
    'timeval'.  However, as of commit
    c766d1472c70d25ad475cf56042af1652e792b23 "y2038: hide
    timeval/timespec/itimerval/itimerspec types" (Linux 5.6), the native
    timeval struct is no longer available.  On such a kernel, the OpenAFS
    build will fail because osi_timeval32_t is not properly defined.
    
    Instead, add new conditionals to properly define osi_timeval32_t for
    this platform.
    
    Reviewed-on: https://gerrit.openafs.org/14216
    Reviewed-by: Cheyenne Wills <[email protected]>
    Tested-by: BuildBot <[email protected]>
    Reviewed-by: Benjamin Kaduk <[email protected]>
    (cherry picked from commit 9a5790cfbb8e7b1a4a2e832911c71da49f604c20)
    
    Change-Id: I223d8407bf28e91ffb2669013c089053ae93feb3
    Reviewed-on: https://gerrit.openafs.org/14234
    Tested-by: BuildBot <[email protected]>
    Reviewed-by: Mark Vitale <[email protected]>
    Reviewed-by: Stephan Wiesand <[email protected]>

 src/afs/LINUX/osi_machdep.h |    2 +-
 src/afs/afs_osi.h           |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

-- 
OpenAFS Master Repository
_______________________________________________
OpenAFS-cvs mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-cvs

Reply via email to