OpenAFS Master Repository branch, master, updated. openafs-devel-1_9_2-390-g2cc075d

Gerrit Code Review gerrit@openafs.org
Wed, 19 Nov 2025 21:11:17 -0500


The following commit has been merged in the master branch:
commit 2cc075d66bdff47197321d900be06a30f12b2134
Author: Ben Huntsman <ben@huntsmans.net>
Date:   Fri Jan 17 21:39:02 2025 -0800

    AIX: Use -fno-builtin for clang kernel objects
    
    When building our kernel extensions using the new clang-based Open XL C
    17.1+ compilers on AIX 7.2+, by default the compiler will include
    references to various clang builtin functions that are normally provided
    by the libclang_rt.builtins-powerpc.a support library. But when we link
    the kernel extension, we use the non-clang $(LD) linker, which doesn't
    include the clang support libraries, causing a linker error.
    
    To avoid this, tell clang to not use its builtin functions by passing
    -fno-builtin for all of our kernel objects. To do this, introduce a new
    AC_SUBST var called AIX_CC_KOPTS (similar to SOLARIS_CC_KOPTS), and use
    those flags for all of our objects built for the kernel.
    
    Change-Id: I91f4d3dd2a43f850c9abef7a1c1765cb9a3aec1b
    Reviewed-on: https://gerrit.openafs.org/16575
    Reviewed-by: Ben Huntsman <ben@huntsmans.net>
    Reviewed-by: Cheyenne Wills <cwills@sinenomine.net>
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Andrew Deason <adeason@sinenomine.net>

 src/cf/osconf.m4                | 2 ++
 src/export/Makefile.in          | 6 +++---
 src/libafs/MakefileProto.AIX.in | 2 +-
 3 files changed, 6 insertions(+), 4 deletions(-)

-- 
OpenAFS Master Repository