Closed frewsxcv closed 6 years ago
Thanks for the report! I've already been struggling with this issue for some time but it's very difficult for me to debug it because I don't own a Mac... I tried some things with Travis but it's really not a debugging tool ;-) (https://travis-ci.org/PaulGrandperrin/honggfuzz-rs) However I still very much want things to work on macOS so I just installed a High Sierra VM, and I'll try to figure things out even though I don't know anything about macOS. There are, however, many issues about building honggfuzz on mac so I've not very hopeful... https://github.com/google/honggfuzz/issues/189 https://github.com/google/honggfuzz/issues/176 https://github.com/google/honggfuzz/issues/182 https://github.com/google/honggfuzz/issues/169
We'll see
Reopening still doesn't work... I think upstream will need some fixes before we can do anything here. I'll try to look a little bit more into that.
I submitted a PR upstream which fixes the problem: https://github.com/google/honggfuzz/pull/192
Thanks Paul!
I've added https://github.com/google/honggfuzz/commit/df02b9d41e6518b3f0a61c07849babe33ec89ba3 which should make it possible to use hfuzz-cc under macos (it has a bit odd linking stage, but well..:)
On a mac mini from it achieves >150k iterations per second, which seems quite good.
just confirmed it works on mac now, thanks everyone!!
Just tried this out on macOS 10.13.3, but running into this compiler error when I build the crate:
Not sure if this is a problem upstream, or if there's something that needs to be changed in the build logic in this crate, or if there's something wrong with my setup. Hmm