afl.rs: Compile failure

When I try to compile the ‘regex-afl’ crate in https://github.com/SeanRBurton/regex/tree/afl, I get the following error:

/home/usr/documents/regex/src/lib.rs:453:42: 453:52 error: /home/usr/documents/regex/regex-afl/target/debug/deps/libafl_plugin-86c859d7ecd403fc.so: undefined symbol: _ZNK4llvm10ModulePass17createPrinterPassERNS_11raw_ostreamERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE /home/sean/usr/documents/regex/src/lib.rs:453 #![cfg_attr(feature = "afl-fuzz", plugin(afl_plugin))]

Can you please help me debug this?

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Reactions: 2
  • Comments: 35 (18 by maintainers)

Commits related to this issue

Most upvoted comments

Could the non-Docker instructions please be restored? We dynamically link Rust against LLVM in Debian so there should be no ABI issues there. This is easy once you figure out how to do it, but other distros probably haven’t done this yet.