OpenAFS Master Repository branch, master, updated. openafs-devel-1_9_2-414-gf812601

Gerrit Code Review gerrit@openafs.org
Thu, 15 Jan 2026 11:31:51 -0500


The following commit has been merged in the master branch:
commit f812601f5d7d3f1bf72dcff37436a710a75ad7a7
Author: Mark Vitale <mvitale@sinenomine.net>
Date:   Mon Jan 12 14:40:52 2026 -0500

    SOLARIS: Skip ctfconvert for empty objects
    
    Starting with Solaris 11.4 SRU75, Oracle now includes the CTF utilities
    (ctfconvert, ctfmerge, etc) in the release.  These have been updated
    with some new features, but unfortunately some existing behavior has
    also changed incompatibly.
    
    Specifically, handling of an object file (.o) with an "empty compilation
    unit" (i.e., a .text section of zero length) has changed.  Formerly,
    ctfconvert issued:
        "DEBUG: Compilation unit is empty" and exit code 0
    
    But after 11.4 SRU75, ctfconvert issues:
        "ctfconvert: <object_file>: compilation unit is empty" and exit code 1
    
    The OpenAFS Solaris build normally has a few empty compilation units
    (e.g., src/crypto/hcrypto/evp-cc.o).  If building with debug symbols
    enabled, these fail to build successfully after SRU75.
    
    Modify the cc-wrapper to detect and ignore empty compilation units by
    skipping ctfconvert.  This allows the build to succeed in that case,
    without affecting the CTF debuginfo for the rest of the build.
    Restrict this logic to Solaris 11 only.
    
    Change-Id: Ieb7fa7cd980230be27a3b6e5b7ae05ab134fab9b
    Reviewed-on: https://gerrit.openafs.org/16675
    Reviewed-by: Cheyenne Wills <cwills@sinenomine.net>
    Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
    Tested-by: Andrew Deason <adeason@sinenomine.net>
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Marcio Brito Barbosa <mbarbosa@sinenomine.net>
    Reviewed-by: Andrew Deason <adeason@sinenomine.net>

 src/config/cc-wrapper.in | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

-- 
OpenAFS Master Repository