Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not work with the latest Rust nightlies #101

Closed
frewsxcv opened this issue Oct 25, 2016 · 5 comments
Closed

Does not work with the latest Rust nightlies #101

frewsxcv opened this issue Oct 25, 2016 · 5 comments

Comments

@frewsxcv
Copy link
Member

frewsxcv commented Oct 25, 2016

Stopped working after rust-lang/rust@3fd5fdd

Output I get when I try to compile a Rust version after the change above: https://gist.githubusercontent.com/frewsxcv/ca3ef34cab9fd96edd44fc5de585044d/raw/837b8b6ccbfa682a34977233f535c186e4375c93/gistfile1.txt

A lot of errors like:

/root/.cargo/registry/src/github.com-1ecc6299db9ec823/rayon-0.4.2/src/par_iter/weight.rs:48: undefined reference to `__afl_prev_loc'
@frewsxcv
Copy link
Member Author

For the record, one can reproduce this issue by building this crate: https://github.com/frewsxcv/rust-belt-rust-fuzzing-workshop/tree/master/exercise2/jpeg-decoder

@frewsxcv
Copy link
Member Author

frewsxcv commented Feb 17, 2017

Added a branch with minimal changes to reproduce this issue. Just run ./reproduce-issue.sh

https://github.com/frewsxcv/afl.rs/compare/rust-issue?expand=1

@frewsxcv
Copy link
Member Author

First nightly it fails on: 2016-09-15. Last nightly it works on: 2016-09-13.

@frewsxcv
Copy link
Member Author

Might be related to rust-lang/rust#39782

Might be worth trying to use rustc's LLVM it builds instead of relying on the system one

@frewsxcv
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant