* Package: app-forensics/afl-2.57b-r2:0 * Repository: gentoo * Maintainer: hanno@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking afl-2.57b.tar.gz to /var/tmp/portage/app-forensics/afl-2.57b-r2/work >>> Source unpacked in /var/tmp/portage/app-forensics/afl-2.57b-r2/work >>> Preparing source in /var/tmp/portage/app-forensics/afl-2.57b-r2/work/AFL-2.57b ... * Applying afl-2.57b-install-readmemd.diff ... [ ok ] * Applying afl-2.57b-implicit-int-clang16.patch ... [ ok ] >>> Source prepared. * Modern C testing: this build is using a /etc/portage/bashrc hook (2023-11-30T22:24)! * Modern C testing: see https://wiki.gentoo.org/wiki/Modern_C_porting for more info. >>> Configuring source in /var/tmp/portage/app-forensics/afl-2.57b-r2/work/AFL-2.57b ... >>> Source configured. >>> Compiling source in /var/tmp/portage/app-forensics/afl-2.57b-r2/work/AFL-2.57b ... make -j4 CC=clang PREFIX=/usr HELPER_PATH=/usr/lib64/afl DOC_PATH=/usr/share/doc/afl-2.57b-r2 [*] Checking for the ability to compile x86 code... [+] Everything seems to be working, ready to compile. clang -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/lib64/afl\" -DDOC_PATH=\"/usr/share/doc/afl-2.57b-r2\" -DBIN_PATH=\"/usr/bin\" afl-gcc.c -o afl-gcc -Wl,-O1 -Wl,--as-needed -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -ldl clang -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/lib64/afl\" -DDOC_PATH=\"/usr/share/doc/afl-2.57b-r2\" -DBIN_PATH=\"/usr/bin\" afl-fuzz.c -o afl-fuzz -Wl,-O1 -Wl,--as-needed -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -ldl clang -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/lib64/afl\" -DDOC_PATH=\"/usr/share/doc/afl-2.57b-r2\" -DBIN_PATH=\"/usr/bin\" afl-showmap.c -o afl-showmap -Wl,-O1 -Wl,--as-needed -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -ldl clang -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/lib64/afl\" -DDOC_PATH=\"/usr/share/doc/afl-2.57b-r2\" -DBIN_PATH=\"/usr/bin\" afl-tmin.c -o afl-tmin -Wl,-O1 -Wl,--as-needed -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -ldl set -e; for i in afl-g++ afl-clang afl-clang++; do ln -sf afl-gcc $i; done clang -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/lib64/afl\" -DDOC_PATH=\"/usr/share/doc/afl-2.57b-r2\" -DBIN_PATH=\"/usr/bin\" afl-gotcpu.c -o afl-gotcpu -Wl,-O1 -Wl,--as-needed -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -ldl afl-gotcpu.c:93:7: warning: variable 'loop_repeats' set but not used [-Wunused-but-set-variable] 93 | s32 loop_repeats = 0; | ^ 1 warning generated. clang -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/lib64/afl\" -DDOC_PATH=\"/usr/share/doc/afl-2.57b-r2\" -DBIN_PATH=\"/usr/bin\" afl-analyze.c -o afl-analyze -Wl,-O1 -Wl,--as-needed -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -ldl clang -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/lib64/afl\" -DDOC_PATH=\"/usr/share/doc/afl-2.57b-r2\" -DBIN_PATH=\"/usr/bin\" afl-as.c -o afl-as -Wl,-O1 -Wl,--as-needed -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -ldl ln -sf afl-as as [*] Testing the CC wrapper and instrumentation output... unset AFL_USE_ASAN AFL_USE_MSAN; AFL_QUIET=1 AFL_INST_RATIO=100 AFL_PATH=. ./afl-clang -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/lib64/afl\" -DDOC_PATH=\"/usr/share/doc/afl-2.57b-r2\" -DBIN_PATH=\"/usr/bin\" test-instr.c -o test-instr -Wl,-O1 -Wl,--as-needed -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -ldl )B [-] PROGRAM ABORT : Incorrect use (not called through afl-gcc?) Location : edit_params(), afl-as.c:197 clang-17: error: assembler command failed with exit code 1 (use -v to see invocation) make: *** [Makefile:91: test_build] Error 1 make: *** Waiting for unfinished jobs.... * ERROR: app-forensics/afl-2.57b-r2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-forensics/afl-2.57b-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-forensics/afl-2.57b-r2::gentoo'`. * The complete build log is located at '/var/log/portage/app-forensics:afl-2.57b-r2:20231202-203656.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-forensics/afl-2.57b-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-forensics/afl-2.57b-r2/temp/environment'. * Working directory: '/var/tmp/portage/app-forensics/afl-2.57b-r2/work/AFL-2.57b' * S: '/var/tmp/portage/app-forensics/afl-2.57b-r2/work/AFL-2.57b'