You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As in title: Bitcoin Core's sha256 Transform function in hand-written sse4 asm (implementing the algorithm from Intel's whitepaper) is unable to compile with optimizations disabled and address sanitizer enabled: sha256_sse4.cpp. The file is standalone and requires no other files.
As in title: Bitcoin Core's sha256 Transform function in hand-written sse4 asm (implementing the algorithm from Intel's whitepaper) is unable to compile with optimizations disabled and address sanitizer enabled: sha256_sse4.cpp. The file is standalone and requires no other files.
Compile with:
clang++ -std=c++20 -fPIC -O0 -fsanitize=address -c crypto/sha256_sse4.cpp -o out.o
It's no problem with optimizations at >=
-O1
or with asan off. gcc is able to compile it fine with the same options.We intend to work around it by disabling asan for clang with no optimizations: bitcoin/bitcoin#30097
The text was updated successfully, but these errors were encountered: