-
Notifications
You must be signed in to change notification settings - Fork 2k
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
./configure updates #4222
./configure updates #4222
Conversation
This reverts commit c4379e3.
This enables the use of different compiler sanitizers, coresponding to the -fsanitize option in GCC and Clang.
Various changes: * Don't check $GCC and $GXX * Prefer -Og instead of -O0 * If -g3 isn't available, use -g This also incidentally fixes compiler warnings with GCC and glibc when using --enable-debug, as the old default values mixed poorly with the hardening flags.
Don't optimize at all when --enable-debug is supplied. This makes sure that nothing is optimized out.
Re-adds flags that were removed in 72aa644.
Best reviewed commit-by-commit. I backported these while doing more work on #58. |
The second commit for https://github.com/bitcoin/bitcoin/pull/12686/commits is not here. Any reason for it ? |
We don't use Travis CI, and those patches generally don't apply to the |
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.
Didn't tested all the new features introduced but it is compiling, all tests are passing, commits from bitcoin are exactly the same code, removing and readding sanitizer features look good to me.
Remove travis As per #4222 (comment) deleting travis file.
Thanks! @zkbot r+ |
📌 Commit bbdba3b has been approved by |
./configure updates Includes code cherry-picked from the following upstream Bitcoin Core PRs: - bitcoin/bitcoin#6748 - bitcoin/bitcoin#12373 - bitcoin/bitcoin#12692 - bitcoin/bitcoin#12901 - bitcoin/bitcoin#13005 - bitcoin/bitcoin#13445 - bitcoin/bitcoin#12686 - bitcoin/bitcoin#16435 Part of #2074.
I thought we used Edit: it's actually |
Per this Automake FAQ, the ordering will be |
Includes code cherry-picked from the following upstream Bitcoin Core PRs:
--enable-debug
defaults. bitcoin/bitcoin#16435Part of #2074.