Repository navigation
Conversation
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. Code Coverage & BenchmarksFor details see: https://corecheck.dev/bitcoin/bitcoin/pulls/34116. ReviewsSee the guideline for information on the review process.
If your review is incorrectly listed, please copy-paste ConflictsNo conflicts as of last run. |
1cd3370 to
4d79472
Compare
|
concept ACK [4d79472]
I have also inspected the debug symbols and these changes keeps relative paths as it is recommended on the conversation had on the issues mentioned before: |
| if(WITH_CCACHE) | ||
| try_append_cxx_flags("-fdebug-prefix-map=A=B" TARGET core_interface SKIP_LINK | ||
| IF_CHECK_PASSED "-fdebug-prefix-map=${PROJECT_SOURCE_DIR}=." | ||
| ) | ||
| try_append_cxx_flags("-fmacro-prefix-map=A=B" TARGET core_interface SKIP_LINK | ||
| IF_CHECK_PASSED "-fmacro-prefix-map=${PROJECT_SOURCE_DIR}=." | ||
| ) | ||
| endif() |
There was a problem hiding this comment.
Can you explain why this is being added and why it is safe to do so?
- If people are using different build dirs and expect the cache to hit, this won't help, because the build dir difference is not accounted for.
- If people are using the same build dir, this won't help, because everything is already static (fixed src and fixed build dir)
- If people are using different git worktrees, this won't help, because the build dir difference is not accounted for?
Maybe I am missing something obvious, or maybe I am misunderstanding how the logic here works. Though, it would help review if there was a summary of what scenarios you are trying to fix, which scenarios are left as-is, and which scenarios will be broken by this change.
If the goal here is to "fix debugging info", but it remains broken when using ccache, without an obvious rationale, that doesn't seem ideal.
|
Picked up in #34281, due to lack of progress here. |
|
Closing for now. |
#30811 was intended to address #30799. However, it introduced several unforeseen consequences, including #31957 and #31204.
This PR takes an alternative approach to resolving #30799 and reverts #30811.