A few things still need to be addressed:
- The minimum supported version 3.1 is too low and raises a warning.
- Some compiler flags (hardening, sanitizers etc) have to be passed to the subtree build system.
- https://github.com/google/crc32c/pull/61.
A few things still need to be addressed:
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
For detailed information about the code coverage, see the test coverage report.
See the guideline for information on the review process. A summary of reviews will appear here.
Reviewers, this pull request conflicts with the following ones:
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.
🚧 At least one of the CI tasks failed. Debug: https://github.com/bitcoin/bitcoin/runs/30150430662
Make sure to run all tests locally, according to the documentation.
The failure may 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.
A few things still need to be addressed:
This PR is also changing the flags used for code generation. Is that intentional? If yes, would be good to mention in the PR description (and why).
This PR is also changing the flags used for code generation.
Yes. The crc32c
upstream build system modifies flags in many places, for example:
0 # Disable C++ exceptions.
1 string(REGEX REPLACE "-fexceptions" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
2 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-exceptions")
3
4
5 # Disable RTTI.
6 string(REGEX REPLACE "-frtti" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
7 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-rtti")
Is that intentional?
The intention isn’t mine.
This change allows overriding the cached value with local variables when
building in subtrees.
Labels
Build system