>>> afl: Checking sanity of /home/buildozer/aports/testing/afl/APKBUILD... >>> afl: Analyzing dependencies... (1/10) Installing clang-libs (3.8.1-r0) (2/10) Installing libxml2 (2.9.4-r0) (3/10) Installing clang (3.8.1-r0) (4/10) Installing libffi (3.2.1-r2) (5/10) Installing llvm-libs (3.8.1-r0) (6/10) Installing llvm (3.8.1-r0) (7/10) Installing perl (5.24.0-r0) (8/10) Installing llvm-dev (3.8.1-r0) (9/10) Installing clang-dev (3.8.1-r0) (10/10) Installing .makedepends-afl (0) Executing busybox-1.25.0-r5.trigger OK: 638 MiB in 109 packages >>> afl: Cleaning temporary build dirs... >>> afl: Checking sha512sums... afl-2.28b.tgz: OK >>> afl: Unpacking /var/cache/distfiles/afl-2.28b.tgz... [!] Note: skipping x86 compilation checks (AFL_NO_X86 set). clang -Os -fomit-frame-pointer -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/local/lib/afl\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -DBIN_PATH=\"/usr/local/bin\" afl-gcc.c -o afl-gcc -Wl,--as-needed -ldl set -e; for i in afl-g++ afl-clang afl-clang++; do ln -sf afl-gcc $i; done clang -Os -fomit-frame-pointer -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/local/lib/afl\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -DBIN_PATH=\"/usr/local/bin\" afl-fuzz.c -o afl-fuzz -Wl,--as-needed -ldl clang -Os -fomit-frame-pointer -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/local/lib/afl\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -DBIN_PATH=\"/usr/local/bin\" afl-showmap.c -o afl-showmap -Wl,--as-needed -ldl clang -Os -fomit-frame-pointer -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/local/lib/afl\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -DBIN_PATH=\"/usr/local/bin\" afl-tmin.c -o afl-tmin -Wl,--as-needed -ldl clang -Os -fomit-frame-pointer -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/local/lib/afl\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -DBIN_PATH=\"/usr/local/bin\" afl-gotcpu.c -o afl-gotcpu -Wl,--as-needed -ldl clang -Os -fomit-frame-pointer -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/local/lib/afl\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -DBIN_PATH=\"/usr/local/bin\" afl-analyze.c -o afl-analyze -Wl,--as-needed -ldl clang -Os -fomit-frame-pointer -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/local/lib/afl\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -DBIN_PATH=\"/usr/local/bin\" afl-as.c -o afl-as -Wl,--as-needed -ldl ln -sf afl-as as [!] Note: skipping build tests (you may need to use LLVM or QEMU mode). [+] LLVM users: see llvm_mode/README.llvm for a faster alternative to afl-gcc. [+] All done! Be sure to review README - it's pretty short and useful. make: Entering directory '/home/buildozer/aports/testing/afl/src/afl-2.28b/llvm_mode' [*] Checking for working 'llvm-config'... [*] Checking for working 'clang'... [*] Checking for '../afl-showmap'... [+] All set and ready to build. clang -Os -fomit-frame-pointer -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/local/lib/afl\" -DBIN_PATH=\"/usr/local/bin\" -DVERSION=\"2.28b\" afl-clang-fast.c -o ../afl-clang-fast -Wl,--as-needed ln -sf afl-clang-fast ../afl-clang-fast++ g++ `llvm-config --cxxflags` -fno-rtti -fpic -Os -fomit-frame-pointer -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DVERSION=\"2.28b\" -Wno-variadic-macros -shared afl-llvm-pass.so.cc -o ../afl-llvm-pass.so `llvm-config --ldflags` -Wl,--as-needed cc1plus: warning: command line option '-Wno-pointer-sign' is valid for C/ObjC but not for C++ afl-llvm-pass.so.cc: In member function 'virtual bool {anonymous}::AFLCoverage::runOnModule(llvm::Module&)': afl-llvm-pass.so.cc:115:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (R(100) >= inst_ratio) continue; clang -Os -fomit-frame-pointer -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/local/lib/afl\" -DBIN_PATH=\"/usr/local/bin\" -DVERSION=\"2.28b\" -fPIC -c afl-llvm-rt.o.c -o ../afl-llvm-rt.o afl-llvm-rt.o.c:178:7: warning: implicitly declaring library function 'memset' with type 'void *(void *, int, unsigned int)' [-Wimplicit-function-declaration] memset(__afl_area_ptr, 0, MAP_SIZE); ^ afl-llvm-rt.o.c:178:7: note: include the header or explicitly provide a declaration for 'memset' 1 warning generated. [*] Building 32-bit variant of the runtime (-m32)... success! [*] Building 64-bit variant of the runtime (-m64)... success! [*] Testing the CC wrapper and instrumentation output... unset AFL_USE_ASAN AFL_USE_MSAN AFL_INST_RATIO; AFL_QUIET=1 AFL_PATH=. AFL_CC=clang ../afl-clang-fast -Os -fomit-frame-pointer -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/local/lib/afl\" -DBIN_PATH=\"/usr/local/bin\" -DVERSION=\"2.28b\" ../test-instr.c -o test-instr -Wl,--as-needed echo 0 | ../afl-showmap -m none -q -o .test-instr0 ./test-instr echo 1 | ../afl-showmap -m none -q -o .test-instr1 ./test-instr [+] All right, the instrumentation seems to be working! [+] All done! You can now use '../afl-clang-fast' to compile programs. make: Leaving directory '/home/buildozer/aports/testing/afl/src/afl-2.28b/llvm_mode' >>> afl: Entering fakeroot... [!] Note: skipping x86 compilation checks (AFL_NO_X86 set). [!] Note: skipping build tests (you may need to use LLVM or QEMU mode). [+] LLVM users: see llvm_mode/README.llvm for a faster alternative to afl-gcc. [+] All done! Be sure to review README - it's pretty short and useful. mkdir -p -m 755 ${DESTDIR}/usr/bin ${DESTDIR}/usr/lib/afl ${DESTDIR}/usr/share/doc/afl ${DESTDIR}/usr/share/afl rm -f ${DESTDIR}/usr/bin/afl-plot.sh install -m 755 afl-gcc afl-fuzz afl-showmap afl-tmin afl-gotcpu afl-analyze afl-plot afl-cmin afl-whatsup ${DESTDIR}/usr/bin rm -f ${DESTDIR}/usr/bin/afl-as if [ -f afl-qemu-trace ]; then install -m 755 afl-qemu-trace ${DESTDIR}/usr/bin; fi if [ -f afl-clang-fast -a -f afl-llvm-pass.so -a -f afl-llvm-rt.o ]; then set -e; install -m 755 afl-clang-fast ${DESTDIR}/usr/bin; ln -sf afl-clang-fast ${DESTDIR}/usr/bin/afl-clang-fast++; install -m 755 afl-llvm-pass.so afl-llvm-rt.o ${DESTDIR}/usr/lib/afl; fi if [ -f afl-llvm-rt-32.o ]; then set -e; install -m 755 afl-llvm-rt-32.o ${DESTDIR}/usr/lib/afl; fi if [ -f afl-llvm-rt-64.o ]; then set -e; install -m 755 afl-llvm-rt-64.o ${DESTDIR}/usr/lib/afl; fi set -e; for i in afl-g++ afl-clang afl-clang++; do ln -sf afl-gcc ${DESTDIR}/usr/bin/$i; done install -m 755 afl-as ${DESTDIR}/usr/lib/afl ln -sf afl-as ${DESTDIR}/usr/lib/afl/as install -m 644 docs/README docs/ChangeLog docs/*.txt ${DESTDIR}/usr/share/doc/afl cp -r testcases/ ${DESTDIR}/usr/share/afl cp -r dictionaries/ ${DESTDIR}/usr/share/afl >>> afl*: Running split function doc... >>> afl-doc*: Preparing subpackage afl-doc... >>> afl*: Running postcheck for afl-doc >>> afl*: Running postcheck for afl >>> afl*: Preparing package afl... >>> afl*: Stripping binaries >>> afl-doc*: Scanning shared objects >>> afl*: Scanning shared objects >>> afl-doc*: Tracing dependencies... >>> afl-doc*: Package size: 228.0 KB >>> afl-doc*: Compressing data... >>> afl-doc*: Create checksum... >>> afl-doc*: Create afl-doc-2.28b-r0.apk >>> afl*: Tracing dependencies... clang clang-libs llvm llvm-libs so:libc.musl-x86.so.1 so:libstdc++.so.6 >>> afl*: Package size: 772.0 KB >>> afl*: Compressing data... >>> afl*: Create checksum... >>> afl*: Create afl-2.28b-r0.apk >>> afl: Cleaning up srcdir >>> afl: Cleaning up pkgdir >>> afl: Uninstalling dependencies... >>> afl: Updating the cached abuild repository index... >>> afl: Signing the index...