New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
depends: add -g to DEBUG=1 flags #29527
Conversation
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. Code CoverageFor detailed information about the code coverage, see the test coverage report. ReviewsSee the guideline for information on the review process.
If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update. |
Concept ACK. As I've mentioned before, I don't have a strong preference for
This I strongly agree with though. Whatever we choose we should use everywhere. |
If I recall, the original reason for keeping |
The CI depends cache is "unlimited" in size, and the CI ccache size can be modified, if needed. |
Concept ACK |
I get an error in the debug windows build:
|
Concept ACK.
Why not Line 353 in 015ac13
|
Because we aren't testing, and -g always works. |
Looks like that error is unrelated to the changes here, and instead the Windows Qt |
The issue is that compilation is done with `x86_64-w64-mingw32-g++-posix`, but then linking is done with `x86_64-w64-mingw32-g++`. I'm guessing this has been broken since bitcoin#24131 (01d1845), but have not checked. Fixes bitcoin#29734. Unblocks bitcoin#29527 (now DEBUG=1 builds can be tested).
fd09ed7
to
4675b2b
Compare
Reabsed on a commit that fixes this. |
b7e7e72 depends: fix mingw-w64 Qt DEBUG=1 build (fanquake) Pull request description: The issue is that compilation is done with `x86_64-w64-mingw32-g++-posix`, but then linking is done with `x86_64-w64-mingw32-g++`. I'm guessing this has been broken since #24131 (01d1845), but have not checked. Fixes #29734. Unblocks #29527 (`DEBUG=1` builds can be tested). ACKs for top commit: hebasto: ACK b7e7e72, tested on Ubuntu 22.04 with the [installed](#29734 (comment)) `g++-mingw-w64-x86-64` package. TheCharlatan: ACK b7e7e72 Tree-SHA512: 9e24e84046c0489c20971bb9c68d1a643c233837193c184f61bff79dfc8d7397a5c5526ac1a205ad423920f2589559cd01cb104ceb7f89515bb6421510d82ca9
7eed316
to
aa78b9a
Compare
aa78b9a
to
84fbf9b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK 84fbf9b
Going to followup with an optimization flags alingment RFC. |
The issue is that compilation is done with `x86_64-w64-mingw32-g++-posix`, but then linking is done with `x86_64-w64-mingw32-g++`. I'm guessing this has been broken since bitcoin#24131 (01d1845), but have not checked. Fixes bitcoin#29734. Unblocks bitcoin#29527 (now DEBUG=1 builds can be tested). Github-Pull: bitcoin#29747 Rebased-From: b7e7e72
The issue is that compilation is done with `x86_64-w64-mingw32-g++-posix`, but then linking is done with `x86_64-w64-mingw32-g++`. I'm guessing this has been broken since bitcoin#24131 (01d1845), but have not checked. Fixes bitcoin#29734. Unblocks bitcoin#29527 (now DEBUG=1 builds can be tested). Github-Pull: bitcoin#29747 Rebased-From: b7e7e72
The issue is that compilation is done with `x86_64-w64-mingw32-g++-posix`, but then linking is done with `x86_64-w64-mingw32-g++`. I'm guessing this has been broken since bitcoin#24131 (01d1845), but have not checked. Fixes bitcoin#29734. Unblocks bitcoin#29527 (now DEBUG=1 builds can be tested). Github-Pull: bitcoin#29747 Rebased-From: b7e7e72
Add
-g
to the base DEBUG=1 flags in depends.Avoids the need to specify it per-package.
More alignment with
--enable-debug
behaviour in configure.We also want to align the optimization flags, currently -O1 vs -O0, however that can be it's own PR.