* Package: app-forensics/aflplusplus-3.14c-r2 * Repository: gentoo * Maintainer: sam@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_single_target_python3_9 userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox * Using python3.9 to build >>> Unpacking source... >>> Unpacking aflplusplus-3.14c.tar.gz to /var/tmp/portage/app-forensics/aflplusplus-3.14c-r2/work >>> Source unpacked in /var/tmp/portage/app-forensics/aflplusplus-3.14c-r2/work >>> Preparing source in /var/tmp/portage/app-forensics/aflplusplus-3.14c-r2/work/AFLplusplus-3.14c ... * Applying aflplusplus-3.0c-LDFLAGS.patch ... patching file GNUmakefile.gcc_plugin Hunk #1 succeeded at 142 with fuzz 1 (offset 13 lines). [ ok ] * Applying aflplusplus-3.13c-CFLAGS.patch ... [ ok ] * Applying aflplusplus-3.14c-no-ignore-errors-makefile.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-forensics/aflplusplus-3.14c-r2/work/AFLplusplus-3.14c ... >>> Source configured. >>> Compiling source in /var/tmp/portage/app-forensics/aflplusplus-3.14c-r2/work/AFLplusplus-3.14c ... make -j4 CC=x86_64-pc-linux-gnu-gcc CXX=x86_64-pc-linux-gnu-g++ CFLAGS_FLTO= PREFIX=/usr HELPER_PATH=/usr/lib64/afl DOC_PATH=/usr/share/doc/aflplusplus-3.14c-r2 MAN_PATH=/usr/share/man/man8 [*] Compiling afl++ for OS Linux on ARCH x86_64 [*] Checking for the default compiler cc... [*] Testing the PATH environment variable... [*] Checking for the ability to compile x86 code... [+] shmat seems to be working. [+] Python 3.9.7 support seems to be working. [+] Everything seems to be working, ready to compile. x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -falign-functions=32:25:16 -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wpointer-arith -I include/ -DAFL_PATH=\"/usr/lib64/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/aflplusplus-3.14c-r2\" -D_FORTIFY_SOURCE=2 -c src/afl-common.c -o src/afl-common.o x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -falign-functions=32:25:16 -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wpointer-arith -I include/ -DAFL_PATH=\"/usr/lib64/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/aflplusplus-3.14c-r2\" -D_FORTIFY_SOURCE=2 -c src/afl-sharedmem.c -o src/afl-sharedmem.o x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -falign-functions=32:25:16 -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wpointer-arith -I include/ -DAFL_PATH=\"/usr/lib64/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/aflplusplus-3.14c-r2\" -D_FORTIFY_SOURCE=2 -c src/afl-forkserver.c -o src/afl-forkserver.o x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -falign-functions=32:25:16 -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wpointer-arith -I include/ -DAFL_PATH=\"/usr/lib64/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/aflplusplus-3.14c-r2\" -D_FORTIFY_SOURCE=2 -Iinclude -fno-move-loop-invariants -fdisable-tree-cunrolli -c src/afl-performance.c -o src/afl-performance.o cc1: note: disable pass tree-cunrolli for functions in the range of [0, 4294967295] x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -falign-functions=32:25:16 -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wpointer-arith -I include/ -DAFL_PATH=\"/usr/lib64/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/aflplusplus-3.14c-r2\" -D_FORTIFY_SOURCE=2 src/afl-fuzz-bitmap.c src/afl-fuzz-cmplog.c src/afl-fuzz-extras.c src/afl-fuzz-init.c src/afl-fuzz-mutators.c src/afl-fuzz-one.c src/afl-fuzz-python.c src/afl-fuzz-queue.c src/afl-fuzz-redqueen.c src/afl-fuzz-run.c src/afl-fuzz-state.c src/afl-fuzz-stats.c src/afl-fuzz-statsd.c src/afl-fuzz.c src/afl-common.o src/afl-sharedmem.o src/afl-forkserver.o src/afl-performance.o -o afl-fuzz -DUSE_PYTHON -I/usr/include/python3.9 -I/usr/include/python3.9 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -ldl -lrt -lm -lpython3.9 -lcrypt -ldl -lm -lm -L/usr/lib64 -lpython3.9 -lcrypt -ldl -lm -lm -DPYTHON_VERSION="\"Python 3.9.7\"" -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -ldl -lrt -lm -lm x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -falign-functions=32:25:16 -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wpointer-arith -I include/ -DAFL_PATH=\"/usr/lib64/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/aflplusplus-3.14c-r2\" -D_FORTIFY_SOURCE=2 src/afl-showmap.c src/afl-common.o src/afl-sharedmem.o src/afl-forkserver.o src/afl-performance.o -o afl-showmap -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -ldl -lrt -lm x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -falign-functions=32:25:16 -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wpointer-arith -I include/ -DAFL_PATH=\"/usr/lib64/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/aflplusplus-3.14c-r2\" -D_FORTIFY_SOURCE=2 src/afl-tmin.c src/afl-common.o src/afl-sharedmem.o src/afl-forkserver.o src/afl-performance.o -o afl-tmin -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -ldl -lrt -lm x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -falign-functions=32:25:16 -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wpointer-arith -I include/ -DAFL_PATH=\"/usr/lib64/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/aflplusplus-3.14c-r2\" -D_FORTIFY_SOURCE=2 src/afl-gotcpu.c src/afl-common.o -o afl-gotcpu -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -ldl -lrt -lm x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -falign-functions=32:25:16 -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wpointer-arith -I include/ -DAFL_PATH=\"/usr/lib64/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/aflplusplus-3.14c-r2\" -D_FORTIFY_SOURCE=2 src/afl-analyze.c src/afl-common.o src/afl-sharedmem.o src/afl-performance.o src/afl-forkserver.o -o afl-analyze -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -ldl -lrt -lm x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -falign-functions=32:25:16 -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wpointer-arith -I include/ -DAFL_PATH=\"/usr/lib64/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/aflplusplus-3.14c-r2\" -D_FORTIFY_SOURCE=2 src/afl-as.c -o afl-as -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -ldl -lrt -lm make -j -f GNUmakefile.llvm make[1]: warning: -j0 forced in submake: resetting jobserver mode. make[1]: Entering directory '/var/tmp/portage/app-forensics/aflplusplus-3.14c-r2/work/AFLplusplus-3.14c' [+] llvm_mode detected llvm 10+, enabling neverZero implementation and c++14 [+] llvm_mode detected llvm 11+, enabling afl-lto LTO implementation GNUmakefile.llvm:223: clang option -flto is not working - maybe LLVMgold.so not found - cannot enable LTO mode [+] shmat seems to be working. [*] Checking for working 'llvm-config'... [*] Checking for working 'x86_64-pc-linux-gnu-gcc'... [*] Checking for matching versions of 'x86_64-pc-linux-gnu-gcc' and 'llvm-config' [!] WARNING: we have llvm-config version 12.0.1 and a clang version [*] Checking for './afl-showmap'... [+] All set and ready to build. x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -falign-functions=32:25:16 -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wpointer-arith -I include/ -DAFL_PATH=\"/usr/lib64/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/aflplusplus-3.14c-r2\" -D_FORTIFY_SOURCE=2 -Wall -g -Wno-cast-qual -Wno-variadic-macros -Wno-pointer-sign -I ./include/ -I ./instrumentation/ -DAFL_PATH=\"/usr/lib64/afl\" -DBIN_PATH=\"/usr/bin\" -DLLVM_BINDIR=\"/usr/lib/llvm/12/bin\" -DVERSION=\"++3.14c\" -DLLVM_LIBDIR=\"/usr/lib/llvm/12/lib64\" -DLLVM_VERSION=\"12.0.1\" -Wno-deprecated -DAFL_CLANG_FLTO=\"\" -DAFL_REAL_LD=\"\" -DAFL_CLANG_LDPATH=\"\" -DAFL_CLANG_FUSELD=\"\" -DCLANG_BIN=\"/usr/lib/llvm/12/bin/clang\" -DCLANGPP_BIN=\"/usr/lib/llvm/12/bin/clang++\" -DUSE_BINDIR=1 -Wno-unused-function -fdebug-prefix-map="/var/tmp/portage/app-forensics/aflplusplus-3.14c-r2/work/AFLplusplus-3.14c=llvm_mode" -c src/afl-common.c -o instrumentation/afl-common.o -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -ldl -lrt -lm x86_64-pc-linux-gnu-gcc -I/usr/lib/llvm/12/include -I./../include -pipe -march=native -fno-diagnostics-color -O2 -falign-functions=32:25:16 -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wpointer-arith -I include/ -DAFL_PATH=\"/usr/lib64/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/aflplusplus-3.14c-r2\" -D_FORTIFY_SOURCE=2 -Wall -g -Wno-cast-qual -Wno-variadic-macros -Wno-pointer-sign -I ./include/ -I ./instrumentation/ -DAFL_PATH=\"/usr/lib64/afl\" -DBIN_PATH=\"/usr/bin\" -DLLVM_BINDIR=\"/usr/lib/llvm/12/bin\" -DVERSION=\"++3.14c\" -DLLVM_LIBDIR=\"/usr/lib/llvm/12/lib64\" -DLLVM_VERSION=\"12.0.1\" -Wno-deprecated -DAFL_CLANG_FLTO=\"\" -DAFL_REAL_LD=\"\" -DAFL_CLANG_LDPATH=\"\" -DAFL_CLANG_FUSELD=\"\" -DCLANG_BIN=\"/usr/lib/llvm/12/bin/clang\" -DCLANGPP_BIN=\"/usr/lib/llvm/12/bin/clang++\" -DUSE_BINDIR=1 -Wno-unused-function -fdebug-prefix-map="/var/tmp/portage/app-forensics/aflplusplus-3.14c-r2/work/AFLplusplus-3.14c=llvm_mode" src/afl-cc.c instrumentation/afl-common.o -o afl-cc -DLLVM_MINOR=1 -DLLVM_MAJOR=12 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -ldl -lrt -lm -DCFLAGS_OPT=\"\" -lm x86_64-pc-linux-gnu-gcc -I/usr/lib/llvm/12/include -I./../include -Wall -g -Wno-cast-qual -Wno-variadic-macros -Wno-pointer-sign -I ./include/ -I ./instrumentation/ -DAFL_PATH=\"/usr/lib64/afl\" -DBIN_PATH=\"/usr/bin\" -DLLVM_BINDIR=\"/usr/lib/llvm/12/bin\" -DVERSION=\"++3.14c\" -DLLVM_LIBDIR=\"/usr/lib/llvm/12/lib64\" -DLLVM_VERSION=\"12.0.1\" -Wno-deprecated -DAFL_CLANG_FLTO=\"\" -DAFL_REAL_LD=\"\" -DAFL_CLANG_LDPATH=\"\" -DAFL_CLANG_FUSELD=\"\" -DCLANG_BIN=\"/usr/lib/llvm/12/bin/clang\" -DCLANGPP_BIN=\"/usr/lib/llvm/12/bin/clang++\" -DUSE_BINDIR=1 -Wno-unused-function -fdebug-prefix-map="/var/tmp/portage/app-forensics/aflplusplus-3.14c-r2/work/AFLplusplus-3.14c=llvm_mode" -Wno-unused-result -fPIC -c instrumentation/afl-compiler-rt.o.c -o afl-compiler-rt.o instrumentation/afl-compiler-rt.o.c:1259:1: warning: constructor priorities from 0 to 100 are reserved for the implementation [-Wprio-ctor-dtor] 1259 | __attribute__((constructor(CTOR_PRIO))) void __afl_auto_early(void) { | ^~~~~~~~~~~~~ instrumentation/afl-compiler-rt.o.c:1271:1: warning: constructor priorities from 0 to 100 are reserved for the implementation [-Wprio-ctor-dtor] 1271 | __attribute__((constructor(1))) void __afl_auto_second(void) { | ^~~~~~~~~~~~~ instrumentation/afl-compiler-rt.o.c:1307:1: warning: constructor priorities from 0 to 100 are reserved for the implementation [-Wprio-ctor-dtor] 1307 | __attribute__((constructor(0))) void __afl_auto_first(void) { | ^~~~~~~~~~~~~ [*] Building 32-bit variant of the runtime (-m32)... failed (that's fine) [*] Building 64-bit variant of the runtime (-m64)... success! x86_64-pc-linux-gnu-g++ -pipe -march=native -fno-diagnostics-color -O2 -falign-functions=32:25:16 -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wpointer-arith -I include/ -DAFL_PATH=\"/usr/lib64/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/aflplusplus-3.14c-r2\" -D_FORTIFY_SOURCE=2 -Wall -g -Wno-cast-qual -Wno-variadic-macros -Wno-pointer-sign -I ./include/ -I ./instrumentation/ -DAFL_PATH=\"/usr/lib64/afl\" -DBIN_PATH=\"/usr/bin\" -DLLVM_BINDIR=\"/usr/lib/llvm/12/bin\" -DVERSION=\"++3.14c\" -DLLVM_LIBDIR=\"/usr/lib/llvm/12/lib64\" -DLLVM_VERSION=\"12.0.1\" -Wno-deprecated -DAFL_CLANG_FLTO=\"\" -DAFL_REAL_LD=\"\" -DAFL_CLANG_LDPATH=\"\" -DAFL_CLANG_FUSELD=\"\" -DCLANG_BIN=\"/usr/lib/llvm/12/bin/clang\" -DCLANGPP_BIN=\"/usr/lib/llvm/12/bin/clang++\" -DUSE_BINDIR=1 -Wno-unused-function -fdebug-prefix-map="/var/tmp/portage/app-forensics/aflplusplus-3.14c-r2/work/AFLplusplus-3.14c=llvm_mode" `llvm-config --cxxflags` -fno-rtti -fPIC -std=c++14 -c instrumentation/afl-llvm-common.cc -o instrumentation/afl-llvm-common.o cc1plus: warning: command-line option ‘-Wno-pointer-sign’ is valid for C/ObjC but not for C++ In file included from /usr/lib/llvm/12/include/llvm/ADT/StringMap.h:16, from /usr/lib/llvm/12/include/llvm/IR/Metadata.h:25, from /usr/lib/llvm/12/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm/12/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm/12/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm/12/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm/12/include/llvm/IR/IRBuilder.h:23, from instrumentation/afl-llvm-common.h:18, from instrumentation/afl-llvm-common.cc:19: /usr/lib/llvm/12/include/llvm/ADT/StringMapEntry.h: In constructor ‘llvm::StringMapEntryStorage::StringMapEntryStorage(size_t, llvm::NoneType)’: /usr/lib/llvm/12/include/llvm/ADT/StringMapEntry.h:58:61: warning: unused parameter ‘none’ [-Wunused-parameter] 58 | explicit StringMapEntryStorage(size_t keyLength, NoneType none = None) | ~~~~~~~~~^~~~~~~~~~~ In file included from /usr/lib/llvm/12/include/llvm/IR/ConstantFolder.h:20, from /usr/lib/llvm/12/include/llvm/IR/IRBuilder.h:25, from instrumentation/afl-llvm-common.h:18, from instrumentation/afl-llvm-common.cc:19: /usr/lib/llvm/12/include/llvm/IR/Constants.h: In member function ‘llvm::Value* llvm::ConstantData::handleOperandChangeImpl(llvm::Value*, llvm::Value*)’: /usr/lib/llvm/12/include/llvm/IR/Constants.h:54:41: warning: unused parameter ‘From’ [-Wunused-parameter] 54 | Value *handleOperandChangeImpl(Value *From, Value *To) { | ~~~~~~~^~~~ /usr/lib/llvm/12/include/llvm/IR/Constants.h:54:54: warning: unused parameter ‘To’ [-Wunused-parameter] 54 | Value *handleOperandChangeImpl(Value *From, Value *To) { | ~~~~~~~^~ In file included from /usr/lib/llvm/12/include/llvm/IR/ConstantFolder.h:21, from /usr/lib/llvm/12/include/llvm/IR/IRBuilder.h:25, from instrumentation/afl-llvm-common.h:18, from instrumentation/afl-llvm-common.cc:19: /usr/lib/llvm/12/include/llvm/IR/InstrTypes.h: In member function ‘bool llvm::CallBase::isFnAttrDisallowedByOpBundle(llvm::StringRef) const’: /usr/lib/llvm/12/include/llvm/IR/InstrTypes.h:2042:47: warning: unused parameter ‘S’ [-Wunused-parameter] 2042 | bool isFnAttrDisallowedByOpBundle(StringRef S) const { | ~~~~~~~~~~^ In file included from /usr/lib/llvm/12/include/llvm/IR/IRBuilder.h:35, from instrumentation/afl-llvm-common.h:18, from instrumentation/afl-llvm-common.cc:19: /usr/lib/llvm/12/include/llvm/IR/Instructions.h: In member function ‘llvm::BasicBlock* llvm::ReturnInst::getSuccessor(unsigned int) const’: /usr/lib/llvm/12/include/llvm/IR/Instructions.h:2993:37: warning: unused parameter ‘idx’ [-Wunused-parameter] 2993 | BasicBlock *getSuccessor(unsigned idx) const { | ~~~~~~~~~^~~ /usr/lib/llvm/12/include/llvm/IR/Instructions.h: In member function ‘void llvm::ReturnInst::setSuccessor(unsigned int, llvm::BasicBlock*)’: /usr/lib/llvm/12/include/llvm/IR/Instructions.h:2997:30: warning: unused parameter ‘idx’ [-Wunused-parameter] 2997 | void setSuccessor(unsigned idx, BasicBlock *B) { | ~~~~~~~~~^~~ /usr/lib/llvm/12/include/llvm/IR/Instructions.h:2997:47: warning: unused parameter ‘B’ [-Wunused-parameter] 2997 | void setSuccessor(unsigned idx, BasicBlock *B) { | ~~~~~~~~~~~~^ /usr/lib/llvm/12/include/llvm/IR/Instructions.h: In member function ‘llvm::BasicBlock* llvm::ResumeInst::getSuccessor(unsigned int) const’: /usr/lib/llvm/12/include/llvm/IR/Instructions.h:4194:37: warning: unused parameter ‘idx’ [-Wunused-parameter] 4194 | BasicBlock *getSuccessor(unsigned idx) const { | ~~~~~~~~~^~~ /usr/lib/llvm/12/include/llvm/IR/Instructions.h: In member function ‘void llvm::ResumeInst::setSuccessor(unsigned int, llvm::BasicBlock*)’: /usr/lib/llvm/12/include/llvm/IR/Instructions.h:4198:30: warning: unused parameter ‘idx’ [-Wunused-parameter] 4198 | void setSuccessor(unsigned idx, BasicBlock *NewSucc) { | ~~~~~~~~~^~~ /usr/lib/llvm/12/include/llvm/IR/Instructions.h:4198:47: warning: unused parameter ‘NewSucc’ [-Wunused-parameter] 4198 | void setSuccessor(unsigned idx, BasicBlock *NewSucc) { | ~~~~~~~~~~~~^~~~~~~ /usr/lib/llvm/12/include/llvm/IR/Instructions.h: In member function ‘llvm::BasicBlock* llvm::UnreachableInst::getSuccessor(unsigned int) const’: /usr/lib/llvm/12/include/llvm/IR/Instructions.h:4697:37: warning: unused parameter ‘idx’ [-Wunused-parameter] 4697 | BasicBlock *getSuccessor(unsigned idx) const { | ~~~~~~~~~^~~ /usr/lib/llvm/12/include/llvm/IR/Instructions.h: In member function ‘void llvm::UnreachableInst::setSuccessor(unsigned int, llvm::BasicBlock*)’: /usr/lib/llvm/12/include/llvm/IR/Instructions.h:4701:30: warning: unused parameter ‘idx’ [-Wunused-parameter] 4701 | void setSuccessor(unsigned idx, BasicBlock *B) { | ~~~~~~~~~^~~ /usr/lib/llvm/12/include/llvm/IR/Instructions.h:4701:47: warning: unused parameter ‘B’ [-Wunused-parameter] 4701 | void setSuccessor(unsigned idx, BasicBlock *B) { | ~~~~~~~~~~~~^ In file included from instrumentation/afl-llvm-common.h:18, from instrumentation/afl-llvm-common.cc:19: /usr/lib/llvm/12/include/llvm/IR/IRBuilder.h: In member function ‘llvm::CallBrInst* llvm::IRBuilderBase::CreateCallBr(llvm::FunctionCallee, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&)’: /usr/lib/llvm/12/include/llvm/IR/IRBuilder.h:1161:55: warning: unused parameter ‘OpBundles’ [-Wunused-parameter] 1161 | ArrayRef OpBundles, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ x86_64-pc-linux-gnu-g++ `llvm-config --cxxflags` -fno-rtti -fPIC -pipe -march=native -fno-diagnostics-color -O2 -falign-functions=32:25:16 -Wall -g -I ./include/ -DVERSION=\"++3.14c\" -Wno-variadic-macros -DLLVM_MINOR=1 -DLLVM_MAJOR=12 -Wno-deprecated-declarations -Wl,-znodelete -DLLVMInsTrim_EXPORTS -fno-rtti -fPIC -std=c++14 -shared instrumentation/afl-llvm-pass.so.cc -o afl-llvm-pass.so `llvm-config --ldflags` -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -ldl -lrt -lm instrumentation/afl-llvm-common.o instrumentation/afl-llvm-pass.so.cc: In member function ‘virtual bool {anonymous}::AFLCoverage::runOnModule(llvm::Module&)’: instrumentation/afl-llvm-pass.so.cc:327:75: warning: ‘static void llvm::GlobalVariable::operator delete(void*)’ called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 327 | GlobalValue::ExternalLinkage, 0, "__afl_area_ptr"); | ^ In file included from /usr/lib/llvm/12/include/llvm/IR/IRBuilder.h:32, from instrumentation/afl-llvm-pass.so.cc:47: /usr/lib/llvm/12/include/llvm/IR/GlobalVariable.h:74:30: note: returned from ‘static void* llvm::User::operator new(size_t, unsigned int)’ 74 | return User::operator new(s, 1); | ~~~~~~~~~~~~~~~~~~^~~~~~ instrumentation/afl-llvm-pass.so.cc:339:57: warning: ‘static void llvm::GlobalVariable::operator delete(void*)’ called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 339 | GlobalVariable::GeneralDynamicTLSModel, 0, false); | ^ In file included from /usr/lib/llvm/12/include/llvm/IR/IRBuilder.h:32, from instrumentation/afl-llvm-pass.so.cc:47: /usr/lib/llvm/12/include/llvm/IR/GlobalVariable.h:74:30: note: returned from ‘static void* llvm::User::operator new(size_t, unsigned int)’ 74 | return User::operator new(s, 1); | ~~~~~~~~~~~~~~~~~~^~~~~~ instrumentation/afl-llvm-pass.so.cc:353:66: warning: ‘static void llvm::GlobalVariable::operator delete(void*)’ called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 353 | /* AddressSpace */ 0, /* IsExternallyInitialized */ false); | ^ In file included from /usr/lib/llvm/12/include/llvm/IR/IRBuilder.h:32, from instrumentation/afl-llvm-pass.so.cc:47: /usr/lib/llvm/12/include/llvm/IR/GlobalVariable.h:74:30: note: returned from ‘static void* llvm::User::operator new(size_t, unsigned int)’ 74 | return User::operator new(s, 1); | ~~~~~~~~~~~~~~~~~~^~~~~~ instrumentation/afl-llvm-pass.so.cc:363:55: warning: ‘static void llvm::GlobalVariable::operator delete(void*)’ called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 363 | GlobalVariable::GeneralDynamicTLSModel, 0, false); | ^ In file included from /usr/lib/llvm/12/include/llvm/IR/IRBuilder.h:32, from instrumentation/afl-llvm-pass.so.cc:47: /usr/lib/llvm/12/include/llvm/IR/GlobalVariable.h:74:30: note: returned from ‘static void* llvm::User::operator new(size_t, unsigned int)’ 74 | return User::operator new(s, 1); | ~~~~~~~~~~~~~~~~~~^~~~~~ instrumentation/afl-llvm-pass.so.cc:377:66: warning: ‘static void llvm::GlobalVariable::operator delete(void*)’ called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 377 | /* AddressSpace */ 0, /* IsExternallyInitialized */ false); | ^ In file included from /usr/lib/llvm/12/include/llvm/IR/IRBuilder.h:32, from instrumentation/afl-llvm-pass.so.cc:47: /usr/lib/llvm/12/include/llvm/IR/GlobalVariable.h:74:30: note: returned from ‘static void* llvm::User::operator new(size_t, unsigned int)’ 74 | return User::operator new(s, 1); | ~~~~~~~~~~~~~~~~~~^~~~~~ instrumentation/afl-llvm-pass.so.cc:388:58: warning: ‘static void llvm::GlobalVariable::operator delete(void*)’ called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 388 | 0, GlobalVariable::GeneralDynamicTLSModel, 0, false); | ^ In file included from /usr/lib/llvm/12/include/llvm/IR/IRBuilder.h:32, from instrumentation/afl-llvm-pass.so.cc:47: /usr/lib/llvm/12/include/llvm/IR/GlobalVariable.h:74:30: note: returned from ‘static void* llvm::User::operator new(size_t, unsigned int)’ 74 | return User::operator new(s, 1); | ~~~~~~~~~~~~~~~~~~^~~~~~ x86_64-pc-linux-gnu-g++ `llvm-config --cxxflags` -fno-rtti -fPIC -pipe -march=native -fno-diagnostics-color -O2 -falign-functions=32:25:16 -Wall -g -I ./include/ -DVERSION=\"++3.14c\" -Wno-variadic-macros -DLLVM_MINOR=1 -DLLVM_MAJOR=12 -Wno-deprecated-declarations -Wl,-znodelete -fno-rtti -fPIC -std=c++14 -shared instrumentation/SanitizerCoveragePCGUARD.so.cc -o SanitizerCoveragePCGUARD.so `llvm-config --ldflags` -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -ldl -lrt -lm instrumentation/afl-llvm-common.o instrumentation/SanitizerCoveragePCGUARD.so.cc: In member function ‘llvm::GlobalVariable* {anonymous}::ModuleSanitizerCoverage::CreateFunctionLocalArrayInSection(size_t, llvm::Function&, llvm::Type*, const char*)’: instrumentation/SanitizerCoveragePCGUARD.so.cc:748:55: warning: ‘static void llvm::GlobalVariable::operator delete(void*)’ called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 748 | Constant::getNullValue(ArrayTy), "__sancov_gen_"); | ^ In file included from /usr/lib/llvm/12/include/llvm/IR/Module.h:29, from /usr/lib/llvm/12/include/llvm/Transforms/Instrumentation/SanitizerCoverage.h:19, from instrumentation/SanitizerCoveragePCGUARD.so.cc:13: /usr/lib/llvm/12/include/llvm/IR/GlobalVariable.h:74:30: note: returned from ‘static void* llvm::User::operator new(size_t, unsigned int)’ 74 | return User::operator new(s, 1); | ~~~~~~~~~~~~~~~~~~^~~~~~ In member function ‘void {anonymous}::ModuleSanitizerCoverage::InjectTraceForSwitch(llvm::Function&, llvm::ArrayRef)’, inlined from ‘void {anonymous}::ModuleSanitizerCoverage::instrumentFunction(llvm::Function&, {anonymous}::DomTreeCallback, {anonymous}::PostDomTreeCallback)’ at instrumentation/SanitizerCoveragePCGUARD.so.cc:736:23: instrumentation/SanitizerCoveragePCGUARD.so.cc:943:43: warning: ‘static void llvm::GlobalVariable::operator delete(void*)’ called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 943 | "__sancov_gen_cov_switch_values"); | ^ In file included from /usr/lib/llvm/12/include/llvm/IR/Module.h:29, from /usr/lib/llvm/12/include/llvm/Transforms/Instrumentation/SanitizerCoverage.h:19, from instrumentation/SanitizerCoveragePCGUARD.so.cc:13: /usr/lib/llvm/12/include/llvm/IR/GlobalVariable.h: In member function ‘void {anonymous}::ModuleSanitizerCoverage::instrumentFunction(llvm::Function&, {anonymous}::DomTreeCallback, {anonymous}::PostDomTreeCallback)’: /usr/lib/llvm/12/include/llvm/IR/GlobalVariable.h:74:30: note: returned from ‘static void* llvm::User::operator new(size_t, unsigned int)’ 74 | return User::operator new(s, 1); | ~~~~~~~~~~~~~~~~~~^~~~~~ instrumentation/SanitizerCoveragePCGUARD.so.cc: In member function ‘std::pair {anonymous}::ModuleSanitizerCoverage::CreateSecStartEnd(llvm::Module&, const char*, llvm::Type*)’: instrumentation/SanitizerCoveragePCGUARD.so.cc:315:77: warning: ‘static void llvm::GlobalVariable::operator delete(void*)’ called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 315 | lobalVariable::ExternalWeakLinkage, nullptr, getSectionStart(Section)); | ^ In file included from /usr/lib/llvm/12/include/llvm/IR/Module.h:29, from /usr/lib/llvm/12/include/llvm/Transforms/Instrumentation/SanitizerCoverage.h:19, from instrumentation/SanitizerCoveragePCGUARD.so.cc:13: /usr/lib/llvm/12/include/llvm/IR/GlobalVariable.h:74:30: note: returned from ‘static void* llvm::User::operator new(size_t, unsigned int)’ 74 | return User::operator new(s, 1); | ~~~~~~~~~~~~~~~~~~^~~~~~ instrumentation/SanitizerCoveragePCGUARD.so.cc:319:75: warning: ‘static void llvm::GlobalVariable::operator delete(void*)’ called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 319 | GlobalVariable::ExternalWeakLinkage, nullptr, getSectionEnd(Section)); | ^ In file included from /usr/lib/llvm/12/include/llvm/IR/Module.h:29, from /usr/lib/llvm/12/include/llvm/Transforms/Instrumentation/SanitizerCoverage.h:19, from instrumentation/SanitizerCoveragePCGUARD.so.cc:13: /usr/lib/llvm/12/include/llvm/IR/GlobalVariable.h:74:30: note: returned from ‘static void* llvm::User::operator new(size_t, unsigned int)’ 74 | return User::operator new(s, 1); | ~~~~~~~~~~~~~~~~~~^~~~~~ instrumentation/SanitizerCoveragePCGUARD.so.cc: In member function ‘bool {anonymous}::ModuleSanitizerCoverage::instrumentModule(llvm::Module&, {anonymous}::DomTreeCallback, {anonymous}::PostDomTreeCallback)’: instrumentation/SanitizerCoveragePCGUARD.so.cc:436:75: warning: ‘static void llvm::GlobalVariable::operator delete(void*)’ called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] 436 | GlobalValue::ExternalLinkage, 0, "__afl_area_ptr"); | ^ In file included from /usr/lib/llvm/12/include/llvm/IR/Module.h:29, from /usr/lib/llvm/12/include/llvm/Transforms/Instrumentation/SanitizerCoverage.h:19, from instrumentation/SanitizerCoveragePCGUARD.so.cc:13: /usr/lib/llvm/12/include/llvm/IR/GlobalVariable.h:74:30: note: returned from ‘static void* llvm::User::operator new(size_t, unsigned int)’ 74 | return User::operator new(s, 1); | ~~~~~~~~~~~~~~~~~~^~~~~~ x86_64-pc-linux-gnu-g++ `llvm-config --cxxflags` -fno-rtti -fPIC -pipe -march=native -fno-diagnostics-color -O2 -falign-functions=32:25:16 -Wall -g -I ./include/ -DVERSION=\"++3.14c\" -Wno-variadic-macros -DLLVM_MINOR=1 -DLLVM_MAJOR=12 -Wno-deprecated-declarations -Wl,-znodelete -shared instrumentation/split-compares-pass.so.cc -o split-compares-pass.so `llvm-config --ldflags` -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -ldl -lrt -lm instrumentation/afl-llvm-common.o instrumentation/split-compares-pass.so.cc: In member function ‘bool {anonymous}::SplitComparesTransform::splitCompare(llvm::CmpInst*, llvm::Module&, {anonymous}::SplitComparesTransform::CmpWorklist&)’: instrumentation/split-compares-pass.so.cc:582:19: warning: variable ‘br’ set but not used [-Wunused-but-set-variable] 582 | BranchInst *br = nullptr; | ^~ x86_64-pc-linux-gnu-g++ `llvm-config --cxxflags` -fno-rtti -fPIC -pipe -march=native -fno-diagnostics-color -O2 -falign-functions=32:25:16 -Wall -g -I ./include/ -DVERSION=\"++3.14c\" -Wno-variadic-macros -DLLVM_MINOR=1 -DLLVM_MAJOR=12 -Wno-deprecated-declarations -Wl,-znodelete -shared instrumentation/split-switches-pass.so.cc -o split-switches-pass.so `llvm-config --ldflags` -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -ldl -lrt -lm instrumentation/afl-llvm-common.o x86_64-pc-linux-gnu-g++ `llvm-config --cxxflags` -fno-rtti -fPIC -pipe -march=native -fno-diagnostics-color -O2 -falign-functions=32:25:16 -Wall -g -I ./include/ -DVERSION=\"++3.14c\" -Wno-variadic-macros -DLLVM_MINOR=1 -DLLVM_MAJOR=12 -Wno-deprecated-declarations -Wl,-znodelete -shared instrumentation/cmplog-routines-pass.cc -o cmplog-routines-pass.so `llvm-config --ldflags` -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -ldl -lrt -lm instrumentation/afl-llvm-common.o x86_64-pc-linux-gnu-g++ `llvm-config --cxxflags` -fno-rtti -fPIC -pipe -march=native -fno-diagnostics-color -O2 -falign-functions=32:25:16 -Wall -g -I ./include/ -DVERSION=\"++3.14c\" -Wno-variadic-macros -DLLVM_MINOR=1 -DLLVM_MAJOR=12 -Wno-deprecated-declarations -Wl,-znodelete -shared instrumentation/cmplog-instructions-pass.cc -o cmplog-instructions-pass.so `llvm-config --ldflags` -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -ldl -lrt -lm instrumentation/afl-llvm-common.o x86_64-pc-linux-gnu-g++ `llvm-config --cxxflags` -fno-rtti -fPIC -pipe -march=native -fno-diagnostics-color -O2 -falign-functions=32:25:16 -Wall -g -I ./include/ -DVERSION=\"++3.14c\" -Wno-variadic-macros -DLLVM_MINOR=1 -DLLVM_MAJOR=12 -Wno-deprecated-declarations -Wl,-znodelete -shared instrumentation/cmplog-switches-pass.cc -o cmplog-switches-pass.so `llvm-config --ldflags` -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -ldl -lrt -lm instrumentation/afl-llvm-common.o x86_64-pc-linux-gnu-g++ `llvm-config --cxxflags` -fno-rtti -fPIC -pipe -march=native -fno-diagnostics-color -O2 -falign-functions=32:25:16 -Wall -g -I ./include/ -DVERSION=\"++3.14c\" -Wno-variadic-macros -DLLVM_MINOR=1 -DLLVM_MAJOR=12 -Wno-deprecated-declarations -Wl,-znodelete -shared instrumentation/afl-llvm-dict2file.so.cc -o afl-llvm-dict2file.so `llvm-config --ldflags` -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -ldl -lrt -lm instrumentation/afl-llvm-common.o x86_64-pc-linux-gnu-g++ `llvm-config --cxxflags` -fno-rtti -fPIC -pipe -march=native -fno-diagnostics-color -O2 -falign-functions=32:25:16 -Wall -g -I ./include/ -DVERSION=\"++3.14c\" -Wno-variadic-macros -DLLVM_MINOR=1 -DLLVM_MAJOR=12 -Wno-deprecated-declarations -Wl,-znodelete -shared instrumentation/compare-transform-pass.so.cc -o compare-transform-pass.so `llvm-config --ldflags` -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -ldl -lrt -lm instrumentation/afl-llvm-common.o [*] Testing the CC wrapper and instrumentation output... unset AFL_USE_ASAN AFL_USE_MSAN AFL_INST_RATIO; ASAN_OPTIONS=detect_leaks=0 AFL_QUIET=1 AFL_PATH=. AFL_LLVM_LAF_ALL=1 ./afl-cc -pipe -march=native -fno-diagnostics-color -O2 -falign-functions=32:25:16 -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wpointer-arith -I include/ -DAFL_PATH=\"/usr/lib64/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/aflplusplus-3.14c-r2\" -D_FORTIFY_SOURCE=2 -Wall -g -Wno-cast-qual -Wno-variadic-macros -Wno-pointer-sign -I ./include/ -I ./instrumentation/ -DAFL_PATH=\"/usr/lib64/afl\" -DBIN_PATH=\"/usr/bin\" -DLLVM_BINDIR=\"/usr/lib/llvm/12/bin\" -DVERSION=\"++3.14c\" -DLLVM_LIBDIR=\"/usr/lib/llvm/12/lib64\" -DLLVM_VERSION=\"12.0.1\" -Wno-deprecated -DAFL_CLANG_FLTO=\"\" -DAFL_REAL_LD=\"\" -DAFL_CLANG_LDPATH=\"\" -DAFL_CLANG_FUSELD=\"\" -DCLANG_BIN=\"/usr/lib/llvm/12/bin/clang\" -DCLANGPP_BIN=\"/usr/lib/llvm/12/bin/clang++\" -DUSE_BINDIR=1 -Wno-unused-function -fdebug-prefix-map="/var/tmp/portage/app-forensics/aflplusplus-3.14c-r2/work/AFLplusplus-3.14c=llvm_mode" ./test-instr.c -o test-instr -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -ldl -lrt -lm clang-12: error: invalid integral value '32:25:16' in '-falign-functions=32:25:16' make[1]: *** [GNUmakefile.llvm:462: test_build] Error 1 make[1]: Leaving directory '/var/tmp/portage/app-forensics/aflplusplus-3.14c-r2/work/AFLplusplus-3.14c' make: *** [GNUmakefile:313: llvm] Error 2 * ERROR: app-forensics/aflplusplus-3.14c-r2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-forensics/aflplusplus-3.14c-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-forensics/aflplusplus-3.14c-r2::gentoo'`. * The complete build log is located at '/var/log/portage/app-forensics:aflplusplus-3.14c-r2:20210919-100707.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-forensics/aflplusplus-3.14c-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-forensics/aflplusplus-3.14c-r2/temp/environment'. * Working directory: '/var/tmp/portage/app-forensics/aflplusplus-3.14c-r2/work/AFLplusplus-3.14c' * S: '/var/tmp/portage/app-forensics/aflplusplus-3.14c-r2/work/AFLplusplus-3.14c'