Skip to content

Commit

Permalink
security/afl++: enable on riscv64
Browse files Browse the repository at this point in the history
-mno-relax is necessary:
ld: error: afl-fuzz-cmplog.c:(.text+0x0): relocation R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax
  • Loading branch information
pkubaj committed Feb 16, 2022
1 parent 60448a8 commit 4e73dc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion security/afl++/Makefile
Expand Up @@ -11,7 +11,7 @@ COMMENT= Fast instrumented fuzzer
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/docs/COPYING

ONLY_FOR_ARCHS= aarch64 amd64 i386 powerpc powerpc64 powerpc64le
ONLY_FOR_ARCHS= aarch64 amd64 i386 powerpc powerpc64 powerpc64le riscv64
ONLY_FOR_ARCHS_REASON= uses x86-only instrumentation or requires complete LLVM support

BUILD_DEPENDS= ginstall:sysutils/coreutils
Expand Down

0 comments on commit 4e73dc0

Please sign in to comment.