cargo-fuzz icon indicating copy to clipboard operation
cargo-fuzz copied to clipboard

Symbols not found when using cargo-fuzz on MacOS

Open shamatar opened this issue 5 years ago • 1 comments

I'm running a cloud instance of fuzzing with cargo-fuzz and tried to build the same fuzzer target on local MacOS 10.15.1. XCode and tools are installed. Cargo-fuzz requires nightly so it was tested on the latest (cd1ef390e 2020-01-31 as a time of writing) and on 2020-01-06 (matches Linux could instance version).

For both toolchains there are lot of "symbol not found" error for symbols like ___sanitizer_cov_trace_pc_indir or ___asan_handle_no_return that may hint that the corresponding library is not linked.

Before an upgrade to 0.2 same scripts were working on MacOS.

shamatar avatar Feb 01 '20 13:02 shamatar

I'm still seeing this issue on 2021-12-13, but only with --sanitizer=none. If I leave off the sanitizer flags and use asan everything works.

saethlin avatar Dec 15 '21 17:12 saethlin