OpenAFS Master Repository branch, openafs-stable-1_8_x, updated. openafs-stable-1_8_3-13-g74054de

Gerrit Code Review
Mon, 10 Jun 2019 07:38:01 -0400

The following commit has been merged in the openafs-stable-1_8_x branch:
commit 74054de1bc30cee1bdc9d0c350230231663bcd85
Author: Andrew Deason <>
Date:   Thu Sep 6 13:42:11 2018 -0500

    Run ctfconvert/ctfmerge for all objects
    Commit 88cb536f (autoconf: detect ctf-tools and add ctf to libafs)
    introduced running ctfconvert and ctfmerge for libafs on Solaris, but
    didn't add any CTF data for userspace code. This commit causes the
    same commands to be run for every binary that we build (if the ctf
    tools are available).
    To accomplish this, also refactor how we run ctfconvert and ctfmerge.
    The approach in commit 88cb536f would require us to modify the
    makefile rule for every executable to run RUN_CTFCONVERT and
    RUN_CTFMERGE, which is somewhat impractical. So instead in this
    commit, we modify all of our *_CCRULE and *_LDRULE variables to wrap
    the compiler invocation with the new CC_WRAPPER script. This means our
    *RULE variables change from something like this:
        FOO_CCRULE = $(RUN_CC) $(CC) $(XXX_FLAGS) -o $@
    to something like this:
        FOO_CCRULE = $(RUN_CC) $(CC_WRAPPER) $(CC) $(XXX_FLAGS) -o $@
    CC_WRAPPER expands to the script src/config/cc-wrapper, which just
    runs ctfconvert or ctfmerge on the relevant files after the
    compiler/linker runs. If the CTF tools are not configured, CC_WRAPPER
    expands to nothing, to limit our impact on other platforms.
    This commit was developed in collaboration with
    Tested-by: BuildBot <>
    Reviewed-by: Benjamin Kaduk <>
    (cherry picked from commit c1d39153da00d5525b2f7874b2d214a7f1b1bb86)
    Change-Id: Ic357293a946f0759aa032f7c93b4b56e74e9209a
    Reviewed-by: Andrew Deason <>
    Reviewed-by: Mark Vitale <>
    Reviewed-by: Michael Meffie <>
    Reviewed-by: Marcio Brito Barbosa <>
    Reviewed-by: Cheyenne Wills <>
    Tested-by: BuildBot <>
    Reviewed-by: Stephan Wiesand <>                        |    4 +-
 src/cf/ctf-tools.m4                 |    8 +++
 src/config/.gitignore               |    1 +
 src/config/       |   67 ++++++---------------
 src/config/      |    4 +-
 src/config/            |  112 +++++++++++++++++++++++++++++++++++
 src/libafs/       |    6 +-
 src/libafs/ |   12 ++--
 src/tsalvaged/           |    2 +-
 9 files changed, 154 insertions(+), 62 deletions(-)

OpenAFS Master Repository