bench: fix InputType ODR violation

bitcoin/bitcoin: PR #36966

The review is inconclusive; no findings were published.

Coverage details

Background

Ralph's summary of historical context for the behaviour affected by this change. The historical record reviewed here is incomplete.

Documented decisions

The original request for an Alpine CI job explicitly sought libc diversity in main CI, particularly in light of discussion about static musl-based binaries.

The historically documented purpose is musl compatibility coverage, not specifically a non-IPO build. The patch retains the Alpine image and musl development packages, so it does not directly replace that platform coverage. This history does not establish that every relevant behavior is unaffected by IPO.

Source 1

Ralph's inferences

At the job-configuration level, this change adds IPO and fatal linker warnings without removing the existing Debug, dependency-debugging, or functional-test settings.

Both pinned versions select Alpine 3.24, DEBUG=1 dependencies, the development preset, REDUCE_EXPORTS, and a Debug build. Both retain extended functional tests with --usecli and --v2transport, the existing slow-dbcrash exclusion, and the same bitcoin command. Thus the declared platform and test scope are retained, while compilation and linking coverage change. This comparison alone cannot establish acceptable memory use, runtime, or toolchain compatibility.