WIP: build: Bump g++ minimum supported version to 13 #36042

Draft
maflcko wants to merge 10 commits from 2608-gcc-13 into master AGit
maflcko commented 2026-08-20 15:45:55 +00:00 (Migrated from github.com)

At some point, it may be fine to drop support for older vanilla systems not shipping with at least GCC 13.

(For this bump, only C++20 std::format will become available, but this bump should also pave the way for C++23.)

This patch will only be released in version 33.x, or later, next year (2027).

For reference:

On operating systems where the minimum GCC version is not shipped by default, the user would have to use Clang, or install GCC in a different way. For example:

Obviously, downloading pre-compiled releases or compiling previous release branches is unaffected by this change.

At some point, it may be fine to [drop support for older vanilla systems](https://github.com/bitcoin/bitcoin/issues/34979) not shipping with at least GCC 13. (For this bump, only C++20 `std::format` will become available, but this bump should also pave the way for C++23.) This patch will only be released in version 33.x, or later, next year (2027). For reference: * https://packages.ubuntu.com/noble/g++ (g++-13) * https://packages.debian.org/trixie/g++ (g++-14) * CentOS-like 8/9/10 ship recent GCC via appstream (`dnf install -y gcc-toolset-15`) * Free/Open/Net*BSD ship a recent GCC * OpenSuse Leap and Tumbleweed ship with g++ 15 https://software.opensuse.org/package/gcc15-c++ On operating systems where the minimum GCC version is not shipped by default, the user would have to use Clang, or install GCC in a different way. For example: * Debian Bookworm could use https://packages.debian.org/bookworm/clang-22 * Ubuntu 22.04 would have to use a general alternative: * [PPA](https://launchpad.net/~ubuntu-toolchain-r/+archive/ubuntu/test), https://apt.llvm.org/ (for Clang), brew, nix, guix, or compile GCC from source, ... Obviously, downloading pre-compiled releases or compiling previous release branches is unaffected by this change.
DrahtBot commented 2026-08-20 15:46:03 +00:00 (Migrated from github.com)

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

External sites

Reviews

See the guideline and AI policy for information on the review process.

Type Reviewers
Concept ACK hebasto, stickies-v

If your review is incorrectly listed, please copy-paste <!--meta-tag:bot-skip--> into the comment that the bot should ignore.

Conflicts

Reviewers, this pull request conflicts with the following ones:

  • #36147 (ci: add native freeBSD ci job by willcl-ark)
  • #35998 (wallet: Handle or explicitly ignore WalletBatch write failures by achow101)

If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

<!--e57a25ab6845829454e8d69fc972939a--> The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. <!--006a51241073e994b41acfe9ec718e94--> ### External sites * Code coverage & benchmarks: https://corecheck.dev/bitcoin/bitcoin/pulls/36042 * Ralph review <img src=https://review.fish.foo/assets/bitcoin/bitcoin/36042.png alt="Ralph review status"> https://git.fish.foo/bitcoin/bitcoin/pulls/36042#author-ralph <!--021abf342d371248e50ceaed478a90ca--> ### Reviews See [the guideline](https://github.com/bitcoin/bitcoin/blob/master/CONTRIBUTING.md#code-review) and [AI policy](https://github.com/bitcoin/bitcoin/blob/master/doc/AI_POLICY.md) for information on the review process. | Type | Reviewers | | ---- | --------- | | Concept ACK | [hebasto](https://github.com/bitcoin/bitcoin/pull/36042#pullrequestreview-5007301478), [stickies-v](https://github.com/bitcoin/bitcoin/pull/36042#issuecomment-6336663781) | If your review is incorrectly listed, please copy-paste <code>&lt;!--meta-tag:bot-skip--&gt;</code> into the comment that the bot should ignore. <!--174a7506f384e20aa4161008e828411d--> ### Conflicts Reviewers, this pull request conflicts with the following ones: * [#36147](https://github.com/bitcoin/bitcoin/pull/36147) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/36147.svg"></sub> (ci: add native freeBSD ci job by willcl-ark) * [#35998](https://github.com/bitcoin/bitcoin/pull/35998) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/35998.svg"></sub> (wallet: Handle or explicitly ignore `WalletBatch` write failures by achow101) If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. <!--5faf32d7da4f0f540f40219e4f7537a3-->
DrahtBot commented 2026-08-20 15:48:34 +00:00 (Migrated from github.com)

🚧 At least one of the CI tasks failed.
Task NetBSD Cross: https://github.com/bitcoin/bitcoin/actions/runs/32388090156/job/96487376676
LLM reason (✨ experimental): CI failed because CMake’s try-compile for text formatting errored with fatal error: 'format' file not found (missing C++ <format> header).

Hints

Try to run the tests locally, according to the documentation. However, a CI failure may still
happen due to a number of reasons, for example:

  • Possibly due to a silent merge conflict (the changes in this pull request being
    incompatible with the current code in the target branch). If so, make sure to rebase on the latest
    commit of the target branch.

  • A sanitizer issue, which can only be found by compiling with the sanitizer and running the
    affected test.

  • An intermittent issue.

Leave a comment here, if you need help tracking down a confusing failure.

<!--85328a0da195eb286784d51f73fa0af9--> 🚧 At least one of the CI tasks failed. <sub>Task `NetBSD Cross`: https://github.com/bitcoin/bitcoin/actions/runs/32388090156/job/96487376676</sub> <sub>LLM reason (✨ experimental): CI failed because CMake’s try-compile for text formatting errored with `fatal error: 'format' file not found` (missing C++ `<format>` header).</sub> <details><summary>Hints</summary> Try to run the tests locally, according to the documentation. However, a CI failure may still happen due to a number of reasons, for example: * Possibly due to a silent merge conflict (the changes in this pull request being incompatible with the current code in the target branch). If so, make sure to rebase on the latest commit of the target branch. * A sanitizer issue, which can only be found by compiling with the sanitizer and running the affected test. * An intermittent issue. Leave a comment here, if you need help tracking down a confusing failure. </details>
maflcko commented 2026-08-20 16:33:56 +00:00 (Migrated from github.com)

Hmm, looks like netbsd-cross is a CI blocker for this? Not sure how to proceed here, because netbsd ci coverage may be useful, but no real user is doing netbsd-cross (I expect all users are running on native netbsd). But native netbsd isn't an option for CI ... 🤷‍♂️

Hmm, looks like netbsd-cross is a CI blocker for this? Not sure how to proceed here, because netbsd ci coverage may be useful, but no real user is doing netbsd-cross (I expect all users are running on native netbsd). But native netbsd isn't an option for CI ... :man_shrugging:
fanquake commented 2026-08-21 08:30:48 +00:00 (Migrated from github.com)

but no real user is doing netbsd-cross (I expect all users are running on native netbsd). But native netbsd isn't an option for CI ...

Are you saying this does work natively on NetBSD? I'd expect it to fail the same way (given NetBSD 11 ships GCC 12.5.0 which doesn't support std::format), and the CI here is giving us the coverage we want (showing this would break compilation for native NetBSD users)?

> but no real user is doing netbsd-cross (I expect all users are running on native netbsd). But native netbsd isn't an option for CI ... Are you saying this does work natively on NetBSD? I'd expect it to fail the same way (given NetBSD 11 ships GCC 12.5.0 which doesn't support std::format), and the CI here is giving us the coverage we want (showing this would break compilation for native NetBSD users)?
maflcko commented 2026-08-21 09:02:41 +00:00 (Migrated from github.com)

NetBSD also has recent GCC in packages, so it should work natively on NetBSD. But I don't really know an answer to the meta question, or how to proceed here, which is why this is in draft and removed from the milestone.

References:

NetBSD also has recent GCC in packages, so it should work natively on NetBSD. But I don't really know an answer to the meta question, or how to proceed here, which is why this is in draft and removed from the milestone. References: * https://www.netbsd.org/docs/software/3rdparty/: "gcc: Version in tree: 12.5.0/14.3.0" * https://wiki.netbsd.org/releng/netbsd-11/ marks "netbsd-11 is not buildable with gcc 14 or newer" as fixed, but https://mail-index.netbsd.org/port-alpha/2026/08/03/msg001496.html ... ? * Edit: https://gcc.gnu.org/gcc-12/: "(This release series is no longer supported.)" ...
fanquake commented 2026-08-21 09:29:16 +00:00 (Migrated from github.com)

I guess somebody (maybe @hebasto?) could test a newer version of GCC natively, to determine which compiler/flag combo is required for std::format, and then update the build instructions. Could be good to do in any case, if NetBSD users are currently using GCC 12.x.

I guess somebody (maybe @hebasto?) could test a newer version of GCC natively, to determine which compiler/flag combo is required for std::format, and then update the build instructions. Could be good to do in any case, if NetBSD users are currently using GCC 12.x.
hebasto commented 2026-08-22 14:26:08 +00:00 (Migrated from github.com)

I guess somebody (maybe @hebasto?) could test a newer version of GCC natively, to determine which compiler/flag combo is required for std::format, and then update the build instructions. Could be good to do in any case, if NetBSD users are currently using GCC 12.x.

Yes, it's possible to install a newer GCC compiler and configure the build system to use it (similar to what was documented prior to 9b85c9814d).

For example, on my NetBSD 11.0 system:

$ sudo pkgin install gcc15
$ cmake --preset dev-mode -DCMAKE_C_COMPILER=/usr/pkg/gcc15/bin/gcc -DCMAKE_CXX_COMPILER=/usr/pkg/gcc15/bin/g++ -DWITH_USDT=OFF -DENABLE_IPC=OFF

However, there is a minor issue caused by the base system and pkgsrc using different versions of libstdc++:

/usr/bin/ld: warning: libstdc++.so.9, needed by /usr/pkg/lib/libzmq.so, may conflict with libstdc++.so.7

and

$ ldd build_dev_mode/bin/bitcoind
build_dev_mode/bin/bitcoind:
	-lzmq.5 => /usr/pkg/lib/libzmq.so.5
	-lrt.1 => /usr/lib/librt.so.1
	-lc.12 => /usr/lib/libc.so.12
	-lpthread.1 => /usr/lib/libpthread.so.1
	-lstdc++.9 => /usr/lib/libstdc++.so.9
	-lm.0 => /usr/lib/libm.so.0
	-lgcc_s.1 => /usr/pkg/gcc15/lib/./libgcc_s.so.1
	/usr/pkg/lib/libsqlite3.so => /usr/pkg/lib/libsqlite3.so
	-lstdc++.7 => /usr/pkg/gcc15/lib/./libstdc++.so.7
> I guess somebody (maybe @hebasto?) could test a newer version of GCC natively, to determine which compiler/flag combo is required for std::format, and then update the build instructions. Could be good to do in any case, if NetBSD users are currently using GCC 12.x. Yes, it's possible to install a newer GCC compiler and configure the build system to use it (similar to what was documented prior to 9b85c9814d1d5b1ef9caedc25dc336dacb887dcc). For example, on my NetBSD 11.0 system: ```console $ sudo pkgin install gcc15 $ cmake --preset dev-mode -DCMAKE_C_COMPILER=/usr/pkg/gcc15/bin/gcc -DCMAKE_CXX_COMPILER=/usr/pkg/gcc15/bin/g++ -DWITH_USDT=OFF -DENABLE_IPC=OFF ``` However, there is a minor issue caused by the base system and `pkgsrc` using different versions of `libstdc++`: ```console /usr/bin/ld: warning: libstdc++.so.9, needed by /usr/pkg/lib/libzmq.so, may conflict with libstdc++.so.7 ``` and ```console $ ldd build_dev_mode/bin/bitcoind build_dev_mode/bin/bitcoind: -lzmq.5 => /usr/pkg/lib/libzmq.so.5 -lrt.1 => /usr/lib/librt.so.1 -lc.12 => /usr/lib/libc.so.12 -lpthread.1 => /usr/lib/libpthread.so.1 -lstdc++.9 => /usr/lib/libstdc++.so.9 -lm.0 => /usr/lib/libm.so.0 -lgcc_s.1 => /usr/pkg/gcc15/lib/./libgcc_s.so.1 /usr/pkg/lib/libsqlite3.so => /usr/pkg/lib/libsqlite3.so -lstdc++.7 => /usr/pkg/gcc15/lib/./libstdc++.so.7 ```
maflcko commented 2026-08-22 14:29:52 +00:00 (Migrated from github.com)

However, there is a minor issue caused by the base system and pkgsrc using different versions of libstdc++:

So the same issue previously existed on NetBSD 10? So the only way to compile on NetBSD is with depends (or self-compiling all deps)?

> However, there is a minor issue caused by the base system and `pkgsrc` using different versions of `libstdc++`: So the same issue previously existed on NetBSD 10? So the only way to compile on NetBSD is with depends (or self-compiling all deps)?
hebasto commented 2026-08-22 14:50:32 +00:00 (Migrated from github.com)

However, there is a minor issue caused by the base system and pkgsrc using different versions of libstdc++:

So the same issue previously existed on NetBSD 10?

Yes.

So the only way to compile on NetBSD is with depends (or self-compiling all deps)?

Those linker warnings seem harmless, though.

As for "self-compiling all deps", only the C++ deps from pkgsrc actually need to be rebuilt. For an example of this, see https://github.com/hebasto/bitcoin-core-nightly/pull/117.

> > However, there is a minor issue caused by the base system and `pkgsrc` using different versions of `libstdc++`: > > So the same issue previously existed on NetBSD 10? Yes. > So the only way to compile on NetBSD is with depends (or self-compiling all deps)? Those linker warnings seem harmless, though. As for "self-compiling all deps", only the C++ deps from `pkgsrc` actually need to be rebuilt. For an example of this, see https://github.com/hebasto/bitcoin-core-nightly/pull/117.
hebasto (Migrated from github.com) reviewed 2026-08-24 11:28:26 +00:00
hebasto (Migrated from github.com) left a comment

Concept ACK.

Concept ACK.
DrahtBot commented 2026-09-08 17:59:59 +00:00 (Migrated from github.com)

🐙 This pull request conflicts with the target branch and needs rebase.

<!--cf906140f33d8803c4a75a2196329ecb--> 🐙 This pull request conflicts with the target branch and [needs rebase](https://github.com/bitcoin/bitcoin/blob/master/CONTRIBUTING.md#rebasing-changes).
hebasto commented 2026-09-11 07:58:28 +00:00 (Migrated from github.com)

Related: https://gcc.gnu.org/pipermail/gcc/2026-September/248875.html:

The GCC 13 branch is now closed, no further changes can be pushed there.

Related: https://gcc.gnu.org/pipermail/gcc/2026-September/248875.html: > The GCC 13 branch is now closed, no further changes can be pushed there.
First-time contributor

Earlier concerns neither republished nor resolved: 3 major findings · 1 minor finding · 2 suggestions. See the Run archive linked from the Review report for their assessments.

🟠 Minor · The std::format diagnostic omits the standard-library requirement

A supported-version Clang paired with libstdc++ lacking <format> fails the new probe, but the diagnostic and linked requirements describe only compiler versions.

Location: cmake/module/CheckCXXFeatures.cmake:48 (head).

🟠 Minor · The NetBSD GCC install guard accepts a partial installation

If gcc14 extracts but installing gcc14-libs fails, a local host-mode rerun skips the package block and leaves the GCC installation incomplete.

Location: ci/test/01_base_install.sh:139 (head).

🔵 Suggestion · The image bump removes minimum-version build and functional-test coverage

Moving previous_releases to Ubuntu 24.04 removes its CMake 3.22 and Python 3.10 functional-test coverage, although both minimums remain supported; lint still uses Python 3.10.

Location: ci/test/00_setup_env_native_previous_releases.sh:9 (head).

🔵 Suggestion · The NetBSD library-switch commit needs the following package-pin correction

The library-switch commit introduces package pins that its immediate follow-up reports were removed upstream, so validating that intermediate change requires the next commit; the final tree already contains the correction.

Location: ci/test/00_setup_env_netbsd_cross.sh:19 (commit).

Review coverage was incomplete.


Reviewed: bf1e88528bc0 · Review report · Previous reports

permalink

<!-- forgejo-review-bot:bitcoin/bitcoin --> <!-- ralph-engine:current:806938d40e279b6d701b2e78128bb1a09b55193a0b697245a1dce6241d3081c1:3607c760b63c01fb7f1f349adfc3fd0614b148a7df02e42f2f0edc2d448925a1 --> <!-- ralph-base:0e8f70a86314bc73539b110d947c41d40c4886fc --> <!-- ralph-head:bf1e88528bc035042ae20732992d38bb58fb6ada --> <!-- ralph-case:12b9bf1f9fba9571270baecfc38c2d10639c847c567dba6d501464c646fc8b13 --> Earlier concerns neither republished nor resolved: 3 major findings · 1 minor finding · 2 suggestions. See the Run archive linked from the Review report for their assessments. **🟠 Minor · The `std::format` diagnostic omits the standard-library requirement** A supported-version Clang paired with `libstdc++` lacking `<format>` fails the new probe, but the diagnostic and linked requirements describe only compiler versions. Location: [`cmake/module/CheckCXXFeatures.cmake:48`](<https://git.fish.foo/bitcoin/bitcoin/src/commit/bf1e88528bc035042ae20732992d38bb58fb6ada/cmake/module/CheckCXXFeatures.cmake#L48>) (head). **🟠 Minor · The NetBSD GCC install guard accepts a partial installation** If `gcc14` extracts but installing `gcc14-libs` fails, a local host-mode rerun skips the package block and leaves the GCC installation incomplete. Location: [`ci/test/01_base_install.sh:139`](<https://git.fish.foo/bitcoin/bitcoin/src/commit/bf1e88528bc035042ae20732992d38bb58fb6ada/ci/test/01_base_install.sh#L139>) (head). **🔵 Suggestion · The image bump removes minimum-version build and functional-test coverage** Moving `previous_releases` to Ubuntu 24.04 removes its CMake 3.22 and Python 3.10 functional-test coverage, although both minimums remain supported; lint still uses Python 3.10. Location: [`ci/test/00_setup_env_native_previous_releases.sh:9`](<https://git.fish.foo/bitcoin/bitcoin/src/commit/bf1e88528bc035042ae20732992d38bb58fb6ada/ci/test/00_setup_env_native_previous_releases.sh#L9>) (head). **🔵 Suggestion · The NetBSD library-switch commit needs the following package-pin correction** The library-switch commit introduces package pins that its immediate follow-up reports were removed upstream, so validating that intermediate change requires the next commit; the final tree already contains the correction. Location: ci/test/00_setup_env_netbsd_cross.sh:19 (commit). Review coverage was incomplete. <!-- Review tier: sensitive --> --- Reviewed: [`bf1e88528bc0`](<https://git.fish.foo/bitcoin/bitcoin/commit/bf1e88528bc035042ae20732992d38bb58fb6ada>) · [Review report](<https://review.fish.foo/report/36042-bf1e88528bc035042ae20732992d38bb58fb6ada-3170-14.html>) · [Previous reports](<https://review.fish.foo/traces/36042/>) [permalink](<https://review.fish.foo/report/36042-bf1e88528bc035042ae20732992d38bb58fb6ada-3170-14.html>)
maflcko commented 2026-10-07 09:02:25 +00:00 (Migrated from github.com)

the older netbsd packages will be nuked, so I am not sure how to proceed here. Possibly this needs full caching for the manual install of the netbsd gcc package, so this is still blocked on netbsd.

the older netbsd packages will be nuked, so I am not sure how to proceed here. Possibly this needs full caching for the manual install of the netbsd gcc package, so this is still blocked on netbsd.
DrahtBot commented 2026-10-08 16:19:33 +00:00 (Migrated from github.com)

🐙 This pull request conflicts with the target branch and needs rebase.

<!--cf906140f33d8803c4a75a2196329ecb--> 🐙 This pull request conflicts with the target branch and [needs rebase](https://github.com/bitcoin/bitcoin/blob/master/CONTRIBUTING.md#rebasing-changes).
DrahtBot commented 2026-10-11 08:27:34 +00:00 (Migrated from github.com)

🐙 This pull request conflicts with the target branch and needs rebase.

<!--cf906140f33d8803c4a75a2196329ecb--> 🐙 This pull request conflicts with the target branch and [needs rebase](https://github.com/bitcoin/bitcoin/blob/master/CONTRIBUTING.md#rebasing-changes).
DrahtBot commented 2026-10-21 16:43:08 +00:00 (Migrated from github.com)

🐙 This pull request conflicts with the target branch and needs rebase.

<!--cf906140f33d8803c4a75a2196329ecb--> 🐙 This pull request conflicts with the target branch and [needs rebase](https://github.com/bitcoin/bitcoin/blob/master/CONTRIBUTING.md#rebasing-changes).
stickies-v commented 2026-10-22 08:47:26 +00:00 (Migrated from github.com)

Concept ACK

Concept ACK
maflcko commented 2026-10-22 09:41:16 +00:00 (Migrated from github.com)

Went ahead and dropped NetBSD-cross from the GHA matrix. While it is possible to keep and maintain it, it would be tedious, with questionable benefit, given that the task hasn't found a meaningful issue unique to the NetBSD-cross task.

Went ahead and dropped NetBSD-cross from the GHA matrix. While it is possible to keep and maintain it, it would be tedious, with questionable benefit, given that the task hasn't found a meaningful issue unique to the NetBSD-cross task.
hebasto commented 2026-10-22 10:54:21 +00:00 (Migrated from github.com)

We already had a situation before the NetBSD 11.0 release where NetBSD’s base compiler did not meet our minimum requirements. Back then, the NetBSD build notes provided instructions for installing a newer compiler. Moreover, due to a bug in capnproto, it seems prudent to recommend GCC 14 and skip GCC 13.

Went ahead and dropped NetBSD-cross from the GHA matrix.

I agree with that. Its value has been moderate recently, as most NetBSD-specific issues have been caught by running the tests elsewhere.

I hope we can proceed with this PR and undraft it, as GCC 12 is currently broken on some platforms anyway.

We already had a situation before the NetBSD 11.0 release where NetBSD’s base compiler did not meet our minimum requirements. Back then, the NetBSD build notes [provided](https://github.com/bitcoin/bitcoin/blob/c4fbd3c72114e3466329ec6f4b0f0a4b7ebce3b1/doc/build-netbsd.md) instructions for installing a newer compiler. Moreover, due to a [bug](https://github.com/capnproto/capnproto/pull/2756) in `capnproto`, it seems prudent to recommend GCC 14 and skip GCC 13. > Went ahead and dropped NetBSD-cross from the GHA matrix. I agree with that. Its value has been moderate recently, as most NetBSD-specific issues have been caught by running the tests elsewhere. I hope we can proceed with this PR and undraft it, as GCC 12 is currently [broken](https://github.com/bitcoin/bitcoin/pull/36271#pullrequestreview-5290081026) on some platforms anyway.
maflcko commented 2026-10-22 11:37:20 +00:00 (Migrated from github.com)

I hope we can proceed with this PR and undraft it

Ok, I'll think if it makes sense to git revert 9b85c9814d (with gcc14), and then undraft

> I hope we can proceed with this PR and undraft it Ok, I'll think if it makes sense to git revert 9b85c9814d1d5b1ef9caedc25dc336dacb887dcc (with gcc14), and then undraft
DrahtBot commented 2026-11-06 11:26:14 +00:00 (Migrated from github.com)

🐙 This pull request conflicts with the target branch and needs rebase.

<!--cf906140f33d8803c4a75a2196329ecb--> 🐙 This pull request conflicts with the target branch and [needs rebase](https://github.com/bitcoin/bitcoin/blob/master/CONTRIBUTING.md#rebasing-changes).
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
bitcoin/bitcoin!36042
No description provided.