Skip to content

Instantly share code, notes, and snippets.

@hebasto
Last active February 7, 2023 11:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hebasto/19dc0741bf77e6f7d458f1711a8efb72 to your computer and use it in GitHub Desktop.
Save hebasto/19dc0741bf77e6f7d458f1711a8efb72 to your computer and use it in GitHub Desktop.
No longer consider Ubuntu Bionic as a build platform

No longer consider Ubuntu Bionic as a supported build platform

According to https://wiki.ubuntu.com/Releases, Bionic reaches "End of Standard Support" in April.

OTOH, it does not mean "End of Life" as it is expected 5 years later, in April 2028.

In terms of Canonical's support, it makes Bionic the same as Xenial and Trusty releases.

In Bionic both default compilers, GCC and Clang, are too old to compile Bitcoin Core: GCC 7.5 and Clang 6.0. Although, newer compilers are available to install: GCC 8.4 and Clang 8.0.

But even those newer ones are pretty old/buggy/unclever, see: bitcoin/bitcoin#27013.

Also, we have been running no CI tasks using Bionic image since bitcoin/bitcoin#26716.

PROPOSAL

Do not consider Ubuntu Bionic as a build platform for Bitcoin Core v25.0+.

Benefits

The CMake-based build system proposal (bitcoin/bitcoin#25797) is ready for being split into reviewable PRs.

For now it supports Bionic as a build platform, i.e., the minimum required CMake version is 3.10.

Dropping Bionic support allows to increase minimum required CMake version is 3.13 (Debian Buster). See: https://gitlab.kitware.com/cmake/community/-/wikis/CMake-Versions-on-Linux-Distros

It will make CMake code much easier to read and review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment