OpenAFS Master Repository branch, openafs-stable-1_8_x, updated. openafs-stable-1_8_9-3-gb176259

Gerrit Code Review gerrit@openafs.org
Wed, 18 Jan 2023 05:23:03 -0500


The following commit has been merged in the openafs-stable-1_8_x branch:
commit b17625959386459059f6f43875d8817383554481
Author: Cheyenne Wills <cwills@sinenomine.net>
Date:   Thu Dec 1 14:18:36 2022 -0700

    cf: Handle autoconf linux checks with -Werror
    
    When the linux kernel has been configured with CONFIG_WERROR=y, several
    autoconf configure checks used to detect linux features fail due to the
    compiler performing additional coding checks (e.g. unused variables,
    uninitialized variables, etc.).  Typically these additional coding
    checks produce compiler warnings, but with CONFIG_WERROR=y these
    warnings are reported as compiler errors, resulting in a misconfigured
    build environment.
    
    When testing for kernel features, turn off -Werror in the autoconf
    functions AC_CHECK_LINUX_BUILD and AC_CHECK_LINUX_FUNC by explicitly
    setting the compiler '-Wno-error' flag.
    
    In addition, fix the commented description for AC_CHECK_LINUX_BUILD to
    match the actual parameters
    
    Reviewed-on: https://gerrit.openafs.org/15191
    Reviewed-by: Andrew Deason <adeason@sinenomine.net>
    Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    (cherry picked from commit e2ad1ca5f7355062e808f1717e7410b7ae893371)
    
    Change-Id: I2c8ba4c421ed751aa6ff2899ea173c1e84053322
    Reviewed-on: https://gerrit.openafs.org/15231
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
    Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>

 src/cf/linux-test1.m4 | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

-- 
OpenAFS Master Repository