< fjahr>
(taking this over from #bitcoin-core-pr-reviews) I am trying to get fuzz tests to run on MacOS with libFuzzer but all the executables get stuck indefinitely without printing any output. Even when running them with '-help=1' nothing happens. Compiled with Catalina and clang9 (via brew). I don't see anything suspicious in the output of config or make. Has anyone had similar problems and solved them?
< jonatack>
fjahr: while trying to run an individual fuzz test (e.g. `src/test/fuzz/base_encode_decode`) or using the runner script (`test/fuzz/test_runner.py`)?
< fjahr>
jonatack: while running individual fuzz tests, the runner script times out quickly because it tries to probe the fuzz test with the '-help=1' parameter
< fjahr>
s/,/./
< jonatack>
ok. i haven't managed to get the runner to work for me yet (on debian). for individual fuzz tests, following the instructions in practicalswift's PRs worked well so far but have not tried with macOS.
< jonatack>
did you begin with `make distclean`?
< jonatack>
i've been building for fuzzing with: make distclean ; ./autogen.sh ; CC=clang CXX=clang++ ./configure --enable-fuzz --with-sanitizers=address,fuzzer,undefined
< jonatack>
followed by your preferred version of make
< fjahr>
Thanks, I can't remember if I had used it before but I tried again with `make distclean` and the result was the same