binutils Newspaper
JUNE 15, 2026
binutils_step_compile Committed

Binutils_step_compile: Add all-gprof and all-gprofng.

The build system now builds gprof in binutils_step_compile to avoid check failures in binutils_step_check.

The build system’s configuration is updated so that binutils_step_compile now builds gprof and gprofng. Previously, make check-gprof was added to binutils_step_check, but gprof was only built for binutils_step_compile_minimal. This change ensures that gprof is built before the checks are run, preventing failures due to missing binaries.

In the Thread 1 participant
  1. Mark Wielaard <mark@klomp.org> proposer

    Proposes to modify the binutils build configuration to build `gprof` in `binutils_step_compile` to avoid check failures.

    “make check-gprof was added to binutils_step_check, but only build for binutils_step_compile_minimal. While binutils_step_check_minimal does check gprof. Switch things around so that binutils_step_compile does also build gprog so binutils_step_check doesn't fail because gprof isn't build.”

In Details

binutils_step_compile and binutils_step_check are steps in the buildbot configuration for building and testing binutils. This change ensures that the gprof and gprofng build targets are included in the main compile step, rather than only in the minimal compile step. The all-gprofng target is a no-op on non-Linux systems.

For Context

Build systems automate the process of compiling and linking software. Binutils uses a build system with separate steps for compiling and checking. gprof is a profiling tool, and this change makes sure that it's built as part of the standard compile step. By building gprof during the compile step, the check step can run tests that depend on gprof without failing.

Filed Under: binutilsgprofbuild systembuildbot