FS#62566 - [afl] 2.52b-2 incompatible with llvm 8.0.0-2
Attached to Project:
Community Packages
Opened by oneup40 (oneup40) - Tuesday, 07 May 2019, 16:06 GMT
Last edited by Levente Polyak (anthraxx) - Monday, 12 August 2019, 09:22 GMT
Opened by oneup40 (oneup40) - Tuesday, 07 May 2019, 16:06 GMT
Last edited by Levente Polyak (anthraxx) - Monday, 12 August 2019, 09:22 GMT
|
Details
Description:
Trying to compile a program with afl-clang-fast causes the following fatal linking error: error: unable to load plugin '/usr/lib/afl/afl-llvm-pass.so': '/usr/lib/afl/afl-llvm-pass.so: undefined symbol: _ZN4llvm8LoadInstC2EPNS_4TypeEPNS_5ValueEPKcbPNS_11InstructionE' I believe the afl package got built against an older version of LLVM that wasn't forward compatible with 8.0.0-2, which is the current version in extra. Rebuilding afl from the PKGBUILD with llvm 8.0.0-2 fixed the problem locally. Additional info: * package version(s) afl 2.52b-2 llvm 8.0.0-2 * config and/or log files etc. $ afl-clang-fast test.c afl-clang-fast 2.52b by <lszekeres@google.com> error: unable to load plugin '/usr/lib/afl/afl-llvm-pass.so': '/usr/lib/afl/afl-llvm-pass.so: undefined symbol: _ZN4llvm8LoadInstC2EPNS_4TypeEPNS_5ValueEPKcbPNS_11InstructionE' * link to upstream bug report, if any none Steps to reproduce: $ echo 'int main() {}' >test.c $ afl-clang-fast test.c |
This task depends upon
Closed by Levente Polyak (anthraxx)
Monday, 12 August 2019, 09:22 GMT
Reason for closing: Fixed
Additional comments about closing: 2.53b-1
Monday, 12 August 2019, 09:22 GMT
Reason for closing: Fixed
Additional comments about closing: 2.53b-1
i uninstalled afl through pacman, made sure clang and llvm were installed, downloaded afl from github and did make in both folders for the llvm stuff in afl, and then moved the binaries into the appropriate /bin folder and everything worked when i went to use it