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
Compilation failure with -O0
+ -fsanitize=address
due to inline asm
#29801
Comments
Recalling the IRC discussion, I presume this happens since |
Ref:
https://www.erisian.com.au/bitcoin-core-dev/log-2024-04-02.html |
The broken combination is |
I guess the next step is to followup / file an issue with LLVM. I've got #29796 open which may "fix" this by just dropping |
FWIW, unable to reproduce on arm64 macOS 14.4.1 with Homebrew clang 17.0.6. |
It only happens on x86-64, because the asm is in that format. |
In addition to the discussion in #29781, I'll PR a change to make this work with |
--enable-fuzz
and --enable-debug
due to inline asm-O0
+ -fsanitize=address
due to inline asm
Is there an existing issue for this?
Current behaviour
Configure with
Compile fails:
Expected behaviour
It should successfully compile with the debug symbols so that fuzz crashes can be debugged.
Previously, it was possible to work around this issue by using
--disable-asm
however that was removed in #29407Steps to reproduce
See above configure .
--enable-debug
and--enable-fuzz
individually do not result in compilation failure. I am only seeing this when using them together.Relevant log output
config.log
How did you obtain Bitcoin Core
Compiled from source
What version of Bitcoin Core are you using?
master@0d509bab45d292caeaf34600e57b5928757c6005
Operating system and version
Arch w/ linux kernel 6.8.2
Machine specifications
No response
The text was updated successfully, but these errors were encountered: