The current path will only work for clang installed via brew on x86_64 macOS.
doc: use arch agnostic clang path in fuzzing doc (macOS) #27056
pull fanquake wants to merge 1 commits into bitcoin:master from fanquake:macos_fuzzing_doc_arch_agnostic changing 1 files +2 −2-
fanquake commented at 4:56 PM on February 7, 2023: member
-
DrahtBot commented at 4:56 PM on February 7, 2023: contributor
<!--e57a25ab6845829454e8d69fc972939a-->
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.
<!--021abf342d371248e50ceaed478a90ca-->
Reviews
See 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.
- DrahtBot added the label Docs on Feb 7, 2023
-
in doc/fuzzing.md:142 in 8b16f7b7c2 outdated
138 | @@ -139,7 +139,7 @@ You may also need to take care of giving the correct path for `clang` and 139 | Full configure that was tested on macOS Catalina with `brew` installed `llvm`: 140 | 141 | ```sh 142 | -./configure --enable-fuzz --with-sanitizers=fuzzer,address,undefined CC=/usr/local/opt/llvm/bin/clang CXX=/usr/local/opt/llvm/bin/clang++ --disable-asm 143 | +./configure --enable-fuzz --with-sanitizers=fuzzer,address,undefined --disable-asm CC=$(brew --prefix llvm)/bin/clang CXX=$(brew --prefix llvm)/bin/clang++
jonatack commented at 5:29 PM on February 7, 2023:Tested with brew-installed llvm 15.0.7, is there a workaround or open pull for the boost issues?
In file included from wallet/test/fuzz/notifications.cpp:11: In file included from ./wallet/receive.h:11: In file included from ./wallet/wallet.h:27: ./wallet/scriptpubkeyman.h:21:10: fatal error: 'boost/signals2/signal.hpp' file not found #include <boost/signals2/signal.hpp> ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. In file included from test/fuzz/block.cpp:14: In file included from ./validation.h:29: ./txmempool.h:35:10: fatal error: 'boost/multi_index/hashed_index.hpp' file not found #include <boost/multi_index/hashed_index.hpp> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated.
jonatack commented at 5:39 PM on February 7, 2023:Nice.
jonatack commented at 5:34 PM on February 7, 2023: contributorConcept ACK, as it looks like the path changed from
/usr/local/opt/for x86_64 to/opt/homebrew/opt/for ARM64.jonatack commented at 5:49 PM on February 7, 2023: contributorACK 8b16f7b7c2fa7407ec4023f4581ea9dd1758eec0
doc: use arch agnostic clang path in fuzzing doc (macOS) b49e19ccd9in doc/fuzzing.md:139 in 8b16f7b7c2 outdated
138 | @@ -139,7 +139,7 @@ You may also need to take care of giving the correct path for `clang` and 139 | Full configure that was tested on macOS Catalina with `brew` installed `llvm`:
jonatack commented at 6:51 PM on February 7, 2023:Full configure that was tested on macOS with `brew` installed `llvm`:
fanquake commented at 9:45 AM on February 8, 2023:Dropped.
fanquake force-pushed on Feb 8, 2023hebasto approvedhebasto commented at 11:47 AM on February 8, 2023: memberACK b49e19ccd9a50053c69cd42bae1b44df07890cfd, similar to 702836530ffa351e863b1b1300fd2e559a14ef23.
I've also verified our code base for other similar cases:
$ git grep -e "/usr/local/opt" | wc -l 0maflcko merged this on Feb 8, 2023maflcko closed this on Feb 8, 2023fanquake deleted the branch on Feb 8, 2023sidhujag referenced this in commit 9ab60528db on Feb 8, 2023bitcoin locked this on Feb 8, 2024
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-22 18:13 UTC
More mirrored repositories can be found on mirror.b10c.me