Skip to content

Conversation

maflcko
Copy link
Member

@maflcko maflcko commented Jan 26, 2022

This is not for 23.0, but for 24.0. It comes with the following benefits:

This should be fine, given that all supported operating systems ship with at least clang-10:

@maflcko maflcko added this to the 24.0 milestone Jan 26, 2022
@hebasto
Copy link
Member

hebasto commented Jan 26, 2022

Concept ACK.

@shaavan
Copy link
Contributor

shaavan commented Jan 26, 2022

Concept ACK

On a side note, I was wondering about one thing. Would this PR remain unmerged until v23.0 finally releases on April 1st?

@hebasto
Copy link
Member

hebasto commented Jan 26, 2022

Would this PR remain unmerged until v23.0 finally releases on April 1st?

Until branching 23.x off, I guess.

@DrahtBot
Copy link
Contributor

DrahtBot commented Jan 26, 2022

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

Conflicts

Reviewers, this pull request conflicts with the following ones:

  • #24322 ([kernel 1/n] Introduce initial libbitcoinkernel by dongcarl)
  • #23565 (doc: rewrite dependencies.md by fanquake)

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.

@maflcko
Copy link
Member Author

maflcko commented Feb 3, 2022

Rebased to get fresh CI.

Fun fact: I couldn't compile current master with clang-7 and system libs on Bionic, so this could theoretically even be merged before 23.0

@hebasto
Copy link
Member

hebasto commented Feb 3, 2022

@MarcoFalke

Fun fact: I couldn't compile current master with clang-7 and system libs on Bionic, so this could theoretically even be merged before 23.0

Is it similar to #21294 (comment)?

Copy link
Member

@fanquake fanquake left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK fae20e6 - I think this is fine to do. I would be surprised if in another 6 months time someone was stuck on a system we supported, needing to compile Core, and only had access to Clang 7 or older. As mentioned in the PR description, all systems we currently support, already support multiple newer versions of Clang.

Copy link
Member

@hebasto hebasto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK fae20e6, I have reviewed the code and it looks OK, I agree it can be merged.

@@ -7,7 +7,7 @@ These are the dependencies currently used by Bitcoin Core. You can find instruct
| --- | --- | --- | --- | --- | --- |
| Berkeley DB | [4.8.30](https://www.oracle.com/technetwork/database/database-technologies/berkeleydb/downloads/index.html) | 4.8.x | No | | |
| Boost | [1.77.0](https://www.boost.org/users/download/) | [1.64.0](https://github.com/bitcoin/bitcoin/pull/22320) | No | | |
| Clang<sup>[ \* ](#note1)</sup> | | [7.0](https://releases.llvm.org/download.html) (C++17 & std::filesystem support) | | | |
| Clang | | [8.0](https://releases.llvm.org/download.html) (C++17 & std::filesystem support) | | | |
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
| Clang | | [8.0](https://releases.llvm.org/download.html) (C++17 & std::filesystem support) | | | |
| Clang | | [8.0](https://releases.llvm.org/download.html) (C++17, std::filesystem, and P0083R3 support) | | | |

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think mentioning a paper in the dependencies will give users any useful information. If they are interested in this, they can use https://en.cppreference.com/w/cpp/compiler_support or the documentation of their compiler. Practically they should only care about the minimum required version.

@maflcko maflcko merged commit e7db4e2 into bitcoin:master Mar 12, 2022
@maflcko maflcko deleted the 2201-clangRoll branch March 12, 2022 09:42
fanquake added a commit to fanquake/bitcoin that referenced this pull request May 30, 2022
We no-longer support Clang 7 (bitcoin#24164).

This reverts commit e9189a7.
fanquake added a commit to fanquake/bitcoin that referenced this pull request May 30, 2022
We no-longer support Clang 7 (bitcoin#24164).

This reverts commit e9189a7.
fanquake added a commit to fanquake/bitcoin that referenced this pull request May 31, 2022
We no-longer support Clang 7 (bitcoin#24164).

This reverts commit e9189a7.
maflcko pushed a commit that referenced this pull request May 31, 2022
…upport"

a7973bf Revert "build: more robustly check for fcf-protection support" (fanquake)

Pull request description:

  We no-longer support Clang 7 (#24164). Introduced in #20720.

  This reverts commit e9189a7.

ACKs for top commit:
  hebasto:
    re-ACK a7973bf

Tree-SHA512: 82559637f21a97434ab29f908ebda1aada08b0786cbbf0b4d11085241942314c3f04261a624c5cd2cb3c94c99046b56626830da6b9775981ab4ba10d5979f998
sidhujag pushed a commit to syscoin/syscoin that referenced this pull request May 31, 2022
…ction support"

a7973bf Revert "build: more robustly check for fcf-protection support" (fanquake)

Pull request description:

  We no-longer support Clang 7 (bitcoin#24164). Introduced in bitcoin#20720.

  This reverts commit e9189a7.

ACKs for top commit:
  hebasto:
    re-ACK a7973bf

Tree-SHA512: 82559637f21a97434ab29f908ebda1aada08b0786cbbf0b4d11085241942314c3f04261a624c5cd2cb3c94c99046b56626830da6b9775981ab4ba10d5979f998
@bitcoin bitcoin locked and limited conversation to collaborators Mar 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants