Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 795817 Details for
Bug 862348
app-forensics/aflplusplus-4.01c-r1 - src/afl-ld-lto.c: error: PATH_MAX undeclared (first use in this function)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
app-forensics:aflplusplus-4.01c-r1:20220730-132230.log
app-forensics:aflplusplus-4.01c-r1:20220730-132230.log (text/plain), 43.61 KB, created by
Toralf Förster
on 2022-07-30 14:36:32 UTC
(
hide
)
Description:
app-forensics:aflplusplus-4.01c-r1:20220730-132230.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2022-07-30 14:36:32 UTC
Size:
43.61 KB
patch
obsolete
> * Package: app-forensics/aflplusplus-4.01c-r1 > * Repository: gentoo > * Maintainer: sam@gentoo.org > * USE: abi_x86_64 amd64 elibc_musl kernel_linux python_single_target_python3_10 userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > * Using python3.10 to build >>>> Unpacking source... >>>> Unpacking aflplusplus-4.01c.tar.gz to /var/tmp/portage/app-forensics/aflplusplus-4.01c-r1/work >>>> Source unpacked in /var/tmp/portage/app-forensics/aflplusplus-4.01c-r1/work >>>> Preparing source in /var/tmp/portage/app-forensics/aflplusplus-4.01c-r1/work/AFLplusplus-4.01c ... > * Applying aflplusplus-4.01c-respect-flags.patch ... > [ ok ] > * Applying aflplusplus-4.01c-no-ignore-errors-makefile.patch ... > [ ok ] > * Applying aflplusplus-4.01c-lld-detect.patch ... > [ ok ] >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/app-forensics/aflplusplus-4.01c-r1/work/AFLplusplus-4.01c ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/app-forensics/aflplusplus-4.01c-r1/work/AFLplusplus-4.01c ... >make -j4 CC=x86_64-gentoo-linux-musl-gcc CXX=x86_64-gentoo-linux-musl-g++ CFLAGS_FLTO= PREFIX=/usr HELPER_PATH=/usr/lib/afl DOC_PATH=/usr/share/doc/aflplusplus-4.01c-r1 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.10.5 support seems to be working. >[+] Everything seems to be working, ready to compile. >x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/aflplusplus-4.01c-r1\" -c src/afl-common.c -o src/afl-common.o >x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/aflplusplus-4.01c-r1\" -c src/afl-sharedmem.c -o src/afl-sharedmem.o >x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/aflplusplus-4.01c-r1\" -c src/afl-forkserver.c -o src/afl-forkserver.o >x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/aflplusplus-4.01c-r1\" -Iinclude -c src/afl-performance.c -o src/afl-performance.o >x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/aflplusplus-4.01c-r1\" 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.10 -I/usr/include/python3.10 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -ldl -lrt -lm -lpython3.10 -ldl -lm -lm -L/usr/lib -lpython3.10 -ldl -lm -lm -DPYTHON_VERSION="\"Python 3.10.5\"" -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -ldl -lrt -lm -lm >src/afl-fuzz-bitmap.c: In function 'save_if_interesting': >src/afl-fuzz-bitmap.c:812:12: warning: '.log' directive output may be truncated writing 4 bytes into a region of size between 1 and 4096 [-Wformat-truncation=] > 812 | (void)(snprintf(fn_log, PATH_MAX, "%s.log", fn) + 1); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >src/afl-fuzz-bitmap.c:812:12: note: 'snprintf' output between 5 and 4100 bytes into a destination of size 4096 >x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/aflplusplus-4.01c-r1\" 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-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/aflplusplus-4.01c-r1\" 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-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/aflplusplus-4.01c-r1\" 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-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/aflplusplus-4.01c-r1\" 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-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/aflplusplus-4.01c-r1\" src/afl-as.c -o afl-as -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -ldl -lrt -lm >make -f GNUmakefile.llvm >make[1]: Entering directory '/var/tmp/portage/app-forensics/aflplusplus-4.01c-r1/work/AFLplusplus-4.01c' >[+] llvm_mode detected llvm 10+, enabling neverZero implementation and c++14 >[+] llvm_mode detected llvm 11+, enabling afl-lto LTO implementation >[+] shmat seems to be working. >[*] Checking for working 'llvm-config'... >[*] Checking for working 'x86_64-gentoo-linux-musl-gcc'... >[*] Checking for matching versions of 'x86_64-gentoo-linux-musl-gcc' and 'llvm-config' >[!] WARNING: we have llvm-config version 14.0.6 and a clang version >[*] Checking for './afl-showmap'... >[+] All set and ready to build. >x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/aflplusplus-4.01c-r1\" -Wall -g -Wno-cast-qual -Wno-variadic-macros -Wno-pointer-sign -I ./include/ -I ./instrumentation/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DLLVM_BINDIR=\"/usr/lib/llvm/14/bin\" -DVERSION=\"++4.01c\" -DLLVM_LIBDIR=\"/usr/lib/llvm/14/lib\" -DLLVM_VERSION=\"14.0.6\" -Wno-deprecated -DAFL_CLANG_FLTO=\"-flto=full\" -DAFL_REAL_LD=\"""\" -DAFL_CLANG_LDPATH=\"\" -DAFL_CLANG_FUSELD=\"1\" -DCLANG_BIN=\"/usr/lib/llvm/14/bin/clang\" -DCLANGPP_BIN=\"/usr/lib/llvm/14/bin/clang++\" -DUSE_BINDIR=1 -Wno-unused-function -fdebug-prefix-map="/var/tmp/portage/app-forensics/aflplusplus-4.01c-r1/work/AFLplusplus-4.01c=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-gentoo-linux-musl-gcc -I/usr/lib/llvm/14/include -I./../include -pipe -march=native -fno-diagnostics-color -O2 -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/aflplusplus-4.01c-r1\" -Wall -g -Wno-cast-qual -Wno-variadic-macros -Wno-pointer-sign -I ./include/ -I ./instrumentation/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DLLVM_BINDIR=\"/usr/lib/llvm/14/bin\" -DVERSION=\"++4.01c\" -DLLVM_LIBDIR=\"/usr/lib/llvm/14/lib\" -DLLVM_VERSION=\"14.0.6\" -Wno-deprecated -DAFL_CLANG_FLTO=\"-flto=full\" -DAFL_REAL_LD=\"""\" -DAFL_CLANG_LDPATH=\"\" -DAFL_CLANG_FUSELD=\"1\" -DCLANG_BIN=\"/usr/lib/llvm/14/bin/clang\" -DCLANGPP_BIN=\"/usr/lib/llvm/14/bin/clang++\" -DUSE_BINDIR=1 -Wno-unused-function -fdebug-prefix-map="/var/tmp/portage/app-forensics/aflplusplus-4.01c-r1/work/AFLplusplus-4.01c=llvm_mode" src/afl-cc.c instrumentation/afl-common.o -o afl-cc -DLLVM_MINOR=6 -DLLVM_MAJOR=14 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -ldl -lrt -lm -DCFLAGS_OPT=\"\" -lm >x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/aflplusplus-4.01c-r1\" -Wall -g -Wno-cast-qual -Wno-variadic-macros -Wno-pointer-sign -I ./include/ -I ./instrumentation/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DLLVM_BINDIR=\"/usr/lib/llvm/14/bin\" -DVERSION=\"++4.01c\" -DLLVM_LIBDIR=\"/usr/lib/llvm/14/lib\" -DLLVM_VERSION=\"14.0.6\" -Wno-deprecated -DAFL_CLANG_FLTO=\"-flto=full\" -DAFL_REAL_LD=\"""\" -DAFL_CLANG_LDPATH=\"\" -DAFL_CLANG_FUSELD=\"1\" -DCLANG_BIN=\"/usr/lib/llvm/14/bin/clang\" -DCLANGPP_BIN=\"/usr/lib/llvm/14/bin/clang++\" -DUSE_BINDIR=1 -Wno-unused-function -fdebug-prefix-map="/var/tmp/portage/app-forensics/aflplusplus-4.01c-r1/work/AFLplusplus-4.01c=llvm_mode" -I/usr/lib/llvm/14/include -I./../include -Wall -g -Wno-cast-qual -Wno-variadic-macros -Wno-pointer-sign -I ./include/ -I ./instrumentation/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DLLVM_BINDIR=\"/usr/lib/llvm/14/bin\" -DVERSION=\"++4.01c\" -DLLVM_LIBDIR=\"/usr/lib/llvm/14/lib\" -DLLVM_VERSION=\"14.0.6\" -Wno-deprecated -DAFL_CLANG_FLTO=\"-flto=full\" -DAFL_REAL_LD=\"""\" -DAFL_CLANG_LDPATH=\"\" -DAFL_CLANG_FUSELD=\"1\" -DCLANG_BIN=\"/usr/lib/llvm/14/bin/clang\" -DCLANGPP_BIN=\"/usr/lib/llvm/14/bin/clang++\" -DUSE_BINDIR=1 -Wno-unused-function -fdebug-prefix-map="/var/tmp/portage/app-forensics/aflplusplus-4.01c-r1/work/AFLplusplus-4.01c=llvm_mode" -Wno-unused-result -fPIC -fno-lto -c instrumentation/afl-compiler-rt.o.c -o afl-compiler-rt.o >instrumentation/afl-compiler-rt.o.c: In function 'at_exit': >instrumentation/afl-compiler-rt.o.c:157:25: warning: unused parameter 'signal' [-Wunused-parameter] > 157 | static void at_exit(int signal) { > | ~~~~^~~~~~ >instrumentation/afl-compiler-rt.o.c: In function '__afl_map_shm': >instrumentation/afl-compiler-rt.o.c:454:45: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] > 454 | if (!map_env || atoi((char *)map_env) < MAP_SIZE) { > | ^ >instrumentation/afl-compiler-rt.o.c: At top level: >instrumentation/afl-compiler-rt.o.c:1327:1: warning: constructor priorities from 0 to 100 are reserved for the implementation [-Wprio-ctor-dtor] > 1327 | __attribute__((constructor(EARLY_FS_PRIO))) void __early_forkserver(void) { > | ^~~~~~~~~~~~~ >instrumentation/afl-compiler-rt.o.c:1335:1: warning: constructor priorities from 0 to 100 are reserved for the implementation [-Wprio-ctor-dtor] > 1335 | __attribute__((constructor(CTOR_PRIO))) void __afl_auto_early(void) { > | ^~~~~~~~~~~~~ >instrumentation/afl-compiler-rt.o.c:1347:1: warning: constructor priorities from 0 to 100 are reserved for the implementation [-Wprio-ctor-dtor] > 1347 | __attribute__((constructor(1))) void __afl_auto_second(void) { > | ^~~~~~~~~~~~~ >instrumentation/afl-compiler-rt.o.c:1388:1: warning: constructor priorities from 0 to 100 are reserved for the implementation [-Wprio-ctor-dtor] > 1388 | __attribute__((constructor(0))) void __afl_auto_first(void) { > | ^~~~~~~~~~~~~ >instrumentation/afl-compiler-rt.o.c: In function '__asan_region_is_poisoned': >instrumentation/afl-compiler-rt.o.c:1941:61: warning: unused parameter 'beg' [-Wunused-parameter] > 1941 | __attribute__((weak)) void *__asan_region_is_poisoned(void *beg, size_t size) { > | ~~~~~~^~~ >instrumentation/afl-compiler-rt.o.c:1941:73: warning: unused parameter 'size' [-Wunused-parameter] > 1941 | ute__((weak)) void *__asan_region_is_poisoned(void *beg, size_t size) { > | ~~~~~~~^~~~ > >instrumentation/afl-compiler-rt.o.c: In function 'area_is_valid': >instrumentation/afl-compiler-rt.o.c:1960:19: warning: comparison of integer expressions of different signedness: 'long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] > 1960 | if (r <= 0 || r > len) return 0; > | ^ >In file included from instrumentation/afl-compiler-rt.o.c:21: >instrumentation/afl-compiler-rt.o.c: In function '__cmplog_rtn_hook_strn': >include/types.h:83:10: warning: comparison of integer expressions of different signedness: 'u64' {aka 'long long unsigned int'} and 'int' [-Wsign-compare] > 83 | _a < _b ? _a : _b; \ > | ^ >instrumentation/afl-compiler-rt.o.c:1992:14: note: in expansion of macro 'MIN' > 1992 | int len0 = MIN(len, 31); > | ^~~ >include/types.h:83:22: warning: operand of '?:' changes signedness from 'int' to 'u64' {aka 'long long unsigned int'} due to unsignedness of other operand [-Wsign-compare] > 83 | _a < _b ? _a : _b; \ > | ^~ >instrumentation/afl-compiler-rt.o.c:1992:14: note: in expansion of macro 'MIN' > 1992 | int len0 = MIN(len, 31); > | ^~~ >[*] Building 32-bit variant of the runtime (-m32)... success! >[*] Building 64-bit variant of the runtime (-m64)... success! >x86_64-gentoo-linux-musl-g++ -pipe -march=native -fno-diagnostics-color -O2 -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/aflplusplus-4.01c-r1\" -Wall -g -Wno-cast-qual -Wno-variadic-macros -Wno-pointer-sign -I ./include/ -I ./instrumentation/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DLLVM_BINDIR=\"/usr/lib/llvm/14/bin\" -DVERSION=\"++4.01c\" -DLLVM_LIBDIR=\"/usr/lib/llvm/14/lib\" -DLLVM_VERSION=\"14.0.6\" -Wno-deprecated -DAFL_CLANG_FLTO=\"-flto=full\" -DAFL_REAL_LD=\"""\" -DAFL_CLANG_LDPATH=\"\" -DAFL_CLANG_FUSELD=\"1\" -DCLANG_BIN=\"/usr/lib/llvm/14/bin/clang\" -DCLANGPP_BIN=\"/usr/lib/llvm/14/bin/clang++\" -DUSE_BINDIR=1 -Wno-unused-function -fdebug-prefix-map="/var/tmp/portage/app-forensics/aflplusplus-4.01c-r1/work/AFLplusplus-4.01c=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 instrumentation/afl-llvm-common.cc:16: >/usr/lib/llvm/14/include/llvm/Support/raw_ostream.h: In member function 'virtual void llvm::raw_ostream::reserveExtraSpace(uint64_t)': >/usr/lib/llvm/14/include/llvm/Support/raw_ostream.h:149:43: warning: unused parameter 'ExtraSize' [-Wunused-parameter] > 149 | virtual void reserveExtraSpace(uint64_t ExtraSize) {} > | ~~~~~~~~~^~~~~~~~~ >In file included from /usr/lib/llvm/14/include/llvm/IR/ConstantFolder.h:21, > from /usr/lib/llvm/14/include/llvm/IR/IRBuilder.h:25, > from instrumentation/afl-llvm-common.h:18, > from instrumentation/afl-llvm-common.cc:19: >/usr/lib/llvm/14/include/llvm/IR/Constants.h: In member function 'llvm::Value* llvm::ConstantData::handleOperandChangeImpl(llvm::Value*, llvm::Value*)': >/usr/lib/llvm/14/include/llvm/IR/Constants.h:54:41: warning: unused parameter 'From' [-Wunused-parameter] > 54 | Value *handleOperandChangeImpl(Value *From, Value *To) { > | ~~~~~~~^~~~ >/usr/lib/llvm/14/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/14/include/llvm/IR/IRBuilderFolder.h:18, > from /usr/lib/llvm/14/include/llvm/IR/ConstantFolder.h:22: >/usr/lib/llvm/14/include/llvm/IR/InstrTypes.h: In member function 'bool llvm::CallBase::isFnAttrDisallowedByOpBundle(llvm::StringRef) const': >/usr/lib/llvm/14/include/llvm/IR/InstrTypes.h:2098:47: warning: unused parameter 'S' [-Wunused-parameter] > 2098 | bool isFnAttrDisallowedByOpBundle(StringRef S) const { > | ~~~~~~~~~~^ >In file included from /usr/lib/llvm/14/include/llvm/Support/Discriminator.h:16, > from /usr/lib/llvm/14/include/llvm/IR/DebugInfoMetadata.h:30, > from /usr/lib/llvm/14/include/llvm/IR/IRBuilder.h:28: >/usr/lib/llvm/14/include/llvm/Support/Error.h: In member function 'void llvm::Error::setChecked(bool)': >/usr/lib/llvm/14/include/llvm/Support/Error.h:297:24: warning: unused parameter 'V' [-Wunused-parameter] > 297 | void setChecked(bool V) { > | ~~~~~^ >In file included from /usr/lib/llvm/14/include/llvm/IR/IRBuilder.h:36: >/usr/lib/llvm/14/include/llvm/IR/Instructions.h: In member function 'llvm::BasicBlock* llvm::ReturnInst::getSuccessor(unsigned int) const': >/usr/lib/llvm/14/include/llvm/IR/Instructions.h:3067:37: warning: unused parameter 'idx' [-Wunused-parameter] > 3067 | BasicBlock *getSuccessor(unsigned idx) const { > | ~~~~~~~~~^~~ >/usr/lib/llvm/14/include/llvm/IR/Instructions.h: In member function 'void llvm::ReturnInst::setSuccessor(unsigned int, llvm::BasicBlock*)': >/usr/lib/llvm/14/include/llvm/IR/Instructions.h:3071:30: warning: unused parameter 'idx' [-Wunused-parameter] > 3071 | void setSuccessor(unsigned idx, BasicBlock *B) { > | ~~~~~~~~~^~~ >/usr/lib/llvm/14/include/llvm/IR/Instructions.h:3071:47: warning: unused parameter 'B' [-Wunused-parameter] > 3071 | void setSuccessor(unsigned idx, BasicBlock *B) { > | ~~~~~~~~~~~~^ >/usr/lib/llvm/14/include/llvm/IR/Instructions.h: In member function 'llvm::BasicBlock* llvm::ResumeInst::getSuccessor(unsigned int) const': >/usr/lib/llvm/14/include/llvm/IR/Instructions.h:4252:37: warning: unused parameter 'idx' [-Wunused-parameter] > 4252 | BasicBlock *getSuccessor(unsigned idx) const { > | ~~~~~~~~~^~~ >/usr/lib/llvm/14/include/llvm/IR/Instructions.h: In member function 'void llvm::ResumeInst::setSuccessor(unsigned int, llvm::BasicBlock*)': >/usr/lib/llvm/14/include/llvm/IR/Instructions.h:4256:30: warning: unused parameter 'idx' [-Wunused-parameter] > 4256 | void setSuccessor(unsigned idx, BasicBlock *NewSucc) { > | ~~~~~~~~~^~~ >/usr/lib/llvm/14/include/llvm/IR/Instructions.h:4256:47: warning: unused parameter 'NewSucc' [-Wunused-parameter] > 4256 | void setSuccessor(unsigned idx, BasicBlock *NewSucc) { > | ~~~~~~~~~~~~^~~~~~~ >/usr/lib/llvm/14/include/llvm/IR/Instructions.h: In member function 'llvm::BasicBlock* llvm::UnreachableInst::getSuccessor(unsigned int) const': >/usr/lib/llvm/14/include/llvm/IR/Instructions.h:4756:37: warning: unused parameter 'idx' [-Wunused-parameter] > 4756 | BasicBlock *getSuccessor(unsigned idx) const { > | ~~~~~~~~~^~~ >/usr/lib/llvm/14/include/llvm/IR/Instructions.h: In member function 'void llvm::UnreachableInst::setSuccessor(unsigned int, llvm::BasicBlock*)': >/usr/lib/llvm/14/include/llvm/IR/Instructions.h:4760:30: warning: unused parameter 'idx' [-Wunused-parameter] > 4760 | void setSuccessor(unsigned idx, BasicBlock *B) { > | ~~~~~~~~~^~~ >/usr/lib/llvm/14/include/llvm/IR/Instructions.h:4760:47: warning: unused parameter 'B' [-Wunused-parameter] > 4760 | void setSuccessor(unsigned idx, BasicBlock *B) { > | ~~~~~~~~~~~~^ >/usr/lib/llvm/14/include/llvm/IR/IRBuilder.h: In member function 'llvm::CallBrInst* llvm::IRBuilderBase::CreateCallBr(llvm::FunctionCallee, llvm::BasicBlock*, llvm::ArrayRef<llvm::BasicBlock*>, llvm::ArrayRef<llvm::Value*>, llvm::ArrayRef<llvm::OperandBundleDefT<llvm::Value*> >, const llvm::Twine&)': >/usr/lib/llvm/14/include/llvm/IR/IRBuilder.h:1100:55: warning: unused parameter 'OpBundles' [-Wunused-parameter] > 1100 | ArrayRef<OperandBundleDef> OpBundles, > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ >In file included from /usr/lib/llvm/14/include/llvm/IR/DataLayout.h:33, > from /usr/lib/llvm/14/include/llvm/IR/IRBuilder.h:27: >/usr/lib/llvm/14/include/llvm/Support/TrailingObjects.h: In instantiation of 'static size_t llvm::TrailingObjects<BaseTy, TrailingTys>::callNumTrailingObjects(const BaseTy*, llvm::trailing_objects_internal::TrailingObjectsBase::OverloadToken<BaseTy>) [with BaseTy = llvm::StructLayout; TrailingTys = {long unsigned int}; size_t = long unsigned int]': >/usr/lib/llvm/14/include/llvm/Support/TrailingObjects.h:164:55: required from 'static NextTy* llvm::trailing_objects_internal::TrailingObjectsImpl<Align, BaseTy, TopTrailingObj, PrevTy, NextTy, MoreTys ...>::getTrailingObjectsImpl(BaseTy*, llvm::trailing_objects_internal::TrailingObjectsBase::OverloadToken<NextTy>) [with int Align = 8; BaseTy = llvm::StructLayout; TopTrailingObj = llvm::TrailingObjects<llvm::StructLayout, long unsigned int>; PrevTy = llvm::StructLayout; NextTy = long unsigned int; MoreTys = {}]' >/usr/lib/llvm/14/include/llvm/Support/TrailingObjects.h:301:40: required from 'T* llvm::TrailingObjects<BaseTy, TrailingTys>::getTrailingObjects() [with T = long unsigned int; BaseTy = llvm::StructLayout; TrailingTys = {long unsigned int}]' >/usr/lib/llvm/14/include/llvm/IR/DataLayout.h:644:66: required from here >/usr/lib/llvm/14/include/llvm/Support/TrailingObjects.h:260:40: warning: unused parameter 'Obj' [-Wunused-parameter] > 260 | callNumTrailingObjects(const BaseTy *Obj, > | ~~~~~~~~~~~~~~^~~ >instrumentation/afl-llvm-common.cc: In function 'void scanForDangerousFunctions(llvm::Module*)': >instrumentation/afl-llvm-common.cc:328:26: warning: 'int strncmp(const char*, const char*, size_t)' of strings of length 0 and 5 and bound of 5 evaluates to nonzero [-Wstring-compare] > 328 | strncmp(F->getName().str().c_str(), "__afl", 5) != 0) { > | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >instrumentation/afl-llvm-common.cc:327:39: note: in this expression > 327 | if (!F->isDeclaration() && > | ~~~~~~~~~~~~~~~~~~~~^~ > 328 | strncmp(F->getName().str().c_str(), "__afl", 5) != 0) { > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >x86_64-gentoo-linux-musl-g++ `llvm-config --cxxflags` -fno-rtti -fPIC -pipe -march=native -fno-diagnostics-color -O2 -Wall -g -I ./include/ -DVERSION=\"++4.01c\" -Wno-variadic-macros -DLLVM_MINOR=6 -DLLVM_MAJOR=14 -Wno-deprecated-declarations -Wl,-znodelete -Wdeprecated -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 function 'llvm::PreservedAnalyses {anonymous}::AFLCoverage::run(llvm::Module&, llvm::ModuleAnalysisManager&)': >instrumentation/afl-llvm-pass.so.cc:410:75: warning: 'static void llvm::GlobalVariable::operator delete(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] > 410 | GlobalValue::ExternalLinkage, 0, "__afl_area_ptr"); > | ^ > >In file included from /usr/lib/llvm/14/include/llvm/IR/Module.h:29, > from /usr/lib/llvm/14/include/llvm/Analysis/TargetLibraryInfo.h:17, > from /usr/lib/llvm/14/include/llvm/Analysis/LazyCallGraph.h:48, > from /usr/lib/llvm/14/include/llvm/Analysis/CGSCCPassManager.h:98, > from /usr/lib/llvm/14/include/llvm/Passes/PassBuilder.h:19, > from instrumentation/afl-llvm-pass.so.cc:50: >In static member function 'static void* llvm::GlobalVariable::operator new(size_t)', > inlined from 'llvm::PreservedAnalyses {anonymous}::AFLCoverage::run(llvm::Module&, llvm::ModuleAnalysisManager&)' at instrumentation/afl-llvm-pass.so.cc:410:75: >/usr/lib/llvm/14/include/llvm/IR/GlobalVariable.h:73:30: note: returned from 'static void* llvm::User::operator new(size_t, unsigned int)' > 73 | return User::operator new(s, 1); > | ~~~~~~~~~~~~~~~~~~^~~~~~ >instrumentation/afl-llvm-pass.so.cc: In function 'llvm::PreservedAnalyses {anonymous}::AFLCoverage::run(llvm::Module&, llvm::ModuleAnalysisManager&)': >instrumentation/afl-llvm-pass.so.cc:422:57: warning: 'static void llvm::GlobalVariable::operator delete(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] > 422 | GlobalVariable::GeneralDynamicTLSModel, 0, false); > | ^ >In static member function 'static void* llvm::GlobalVariable::operator new(size_t)', > inlined from 'llvm::PreservedAnalyses {anonymous}::AFLCoverage::run(llvm::Module&, llvm::ModuleAnalysisManager&)' at instrumentation/afl-llvm-pass.so.cc:422:57: >/usr/lib/llvm/14/include/llvm/IR/GlobalVariable.h:73:30: note: returned from 'static void* llvm::User::operator new(size_t, unsigned int)' > 73 | return User::operator new(s, 1); > | ~~~~~~~~~~~~~~~~~~^~~~~~ >instrumentation/afl-llvm-pass.so.cc: In function 'llvm::PreservedAnalyses {anonymous}::AFLCoverage::run(llvm::Module&, llvm::ModuleAnalysisManager&)': >instrumentation/afl-llvm-pass.so.cc:436:66: warning: 'static void llvm::GlobalVariable::operator delete(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] > 436 | /* AddressSpace */ 0, /* IsExternallyInitialized */ false); > | ^ >In static member function 'static void* llvm::GlobalVariable::operator new(size_t)', > inlined from 'llvm::PreservedAnalyses {anonymous}::AFLCoverage::run(llvm::Module&, llvm::ModuleAnalysisManager&)' at instrumentation/afl-llvm-pass.so.cc:436:66: >/usr/lib/llvm/14/include/llvm/IR/GlobalVariable.h:73:30: note: returned from 'static void* llvm::User::operator new(size_t, unsigned int)' > 73 | return User::operator new(s, 1); > | ~~~~~~~~~~~~~~~~~~^~~~~~ >instrumentation/afl-llvm-pass.so.cc: In function 'llvm::PreservedAnalyses {anonymous}::AFLCoverage::run(llvm::Module&, llvm::ModuleAnalysisManager&)': >instrumentation/afl-llvm-pass.so.cc:446:55: warning: 'static void llvm::GlobalVariable::operator delete(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] > 446 | GlobalVariable::GeneralDynamicTLSModel, 0, false); > | ^ >In static member function 'static void* llvm::GlobalVariable::operator new(size_t)', > inlined from 'llvm::PreservedAnalyses {anonymous}::AFLCoverage::run(llvm::Module&, llvm::ModuleAnalysisManager&)' at instrumentation/afl-llvm-pass.so.cc:446:55: >/usr/lib/llvm/14/include/llvm/IR/GlobalVariable.h:73:30: note: returned from 'static void* llvm::User::operator new(size_t, unsigned int)' > 73 | return User::operator new(s, 1); > | ~~~~~~~~~~~~~~~~~~^~~~~~ >instrumentation/afl-llvm-pass.so.cc: In function 'llvm::PreservedAnalyses {anonymous}::AFLCoverage::run(llvm::Module&, llvm::ModuleAnalysisManager&)': >instrumentation/afl-llvm-pass.so.cc:460:66: warning: 'static void llvm::GlobalVariable::operator delete(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] > 460 | /* AddressSpace */ 0, /* IsExternallyInitialized */ false); > | ^ >In static member function 'static void* llvm::GlobalVariable::operator new(size_t)', > inlined from 'llvm::PreservedAnalyses {anonymous}::AFLCoverage::run(llvm::Module&, llvm::ModuleAnalysisManager&)' at instrumentation/afl-llvm-pass.so.cc:460:66: >/usr/lib/llvm/14/include/llvm/IR/GlobalVariable.h:73:30: note: returned from 'static void* llvm::User::operator new(size_t, unsigned int)' > 73 | return User::operator new(s, 1); > | ~~~~~~~~~~~~~~~~~~^~~~~~ >instrumentation/afl-llvm-pass.so.cc: In function 'llvm::PreservedAnalyses {anonymous}::AFLCoverage::run(llvm::Module&, llvm::ModuleAnalysisManager&)': >instrumentation/afl-llvm-pass.so.cc:471:58: warning: 'static void llvm::GlobalVariable::operator delete(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] > 471 | 0, GlobalVariable::GeneralDynamicTLSModel, 0, false); > | ^ >In static member function 'static void* llvm::GlobalVariable::operator new(size_t)', > inlined from 'llvm::PreservedAnalyses {anonymous}::AFLCoverage::run(llvm::Module&, llvm::ModuleAnalysisManager&)' at instrumentation/afl-llvm-pass.so.cc:471:58: >/usr/lib/llvm/14/include/llvm/IR/GlobalVariable.h:73:30: note: returned from 'static void* llvm::User::operator new(size_t, unsigned int)' > 73 | return User::operator new(s, 1); > | ~~~~~~~~~~~~~~~~~~^~~~~~ >x86_64-gentoo-linux-musl-g++ `llvm-config --cxxflags` -fno-rtti -fPIC -pipe -march=native -fno-diagnostics-color -O2 -Wall -g -I ./include/ -DVERSION=\"++4.01c\" -Wno-variadic-macros -DLLVM_MINOR=6 -DLLVM_MAJOR=14 -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 -Wno-deprecated-copy-dtor -Wdeprecated instrumentation/afl-llvm-common.o >instrumentation/SanitizerCoveragePCGUARD.so.cc: In member function 'llvm::GlobalVariable* {anonymous}::ModuleSanitizerCoverageAFL::CreateFunctionLocalArrayInSection(size_t, llvm::Function&, llvm::Type*, const char*)': >instrumentation/SanitizerCoveragePCGUARD.so.cc:765:55: warning: 'static void llvm::GlobalVariable::operator delete(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] > 765 | Constant::getNullValue(ArrayTy), "__sancov_gen_"); > | ^ >In file included from /usr/lib/llvm/14/include/llvm/IR/Module.h:29, > from /usr/lib/llvm/14/include/llvm/Transforms/Instrumentation/SanitizerCoverage.h:19, > from instrumentation/SanitizerCoveragePCGUARD.so.cc:13: >In static member function 'static void* llvm::GlobalVariable::operator new(size_t)', > inlined from 'llvm::GlobalVariable* {anonymous}::ModuleSanitizerCoverageAFL::CreateFunctionLocalArrayInSection(size_t, llvm::Function&, llvm::Type*, const char*)' at instrumentation/SanitizerCoveragePCGUARD.so.cc:765:55: >/usr/lib/llvm/14/include/llvm/IR/GlobalVariable.h:73:30: note: returned from 'static void* llvm::User::operator new(size_t, unsigned int)' > 73 | return User::operator new(s, 1); > | ~~~~~~~~~~~~~~~~~~^~~~~~ >In file included from /usr/lib/llvm/14/include/llvm/IR/IRBuilder.h:25, > from instrumentation/SanitizerCoveragePCGUARD.so.cc:26: >In member function 'virtual llvm::Constant* llvm::ConstantFolder::CreateExtractElement(llvm::Constant*, llvm::Constant*) const', > inlined from 'llvm::Value* llvm::IRBuilderBase::CreateExtractElement(llvm::Value*, llvm::Value*, const llvm::Twine&)' at /usr/lib/llvm/14/include/llvm/IR/IRBuilder.h:2302:22, > inlined from 'llvm::Value* llvm::IRBuilderBase::CreateExtractElement(llvm::Value*, uint64_t, const llvm::Twine&)' at /usr/lib/llvm/14/include/llvm/IR/IRBuilder.h:2308:32, > inlined from 'bool {anonymous}::ModuleSanitizerCoverageAFL::InjectCoverage(llvm::Function&, llvm::ArrayRef<llvm::BasicBlock*>, bool)' at instrumentation/SanitizerCoveragePCGUARD.so.cc:1127:52: >/usr/lib/llvm/14/include/llvm/IR/ConstantFolder.h:264:43: warning: 'result' may be used uninitialized [-Wmaybe-uninitialized] > 264 | return ConstantExpr::getExtractElement(Vec, Idx); > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ >instrumentation/SanitizerCoveragePCGUARD.so.cc: In function 'bool {anonymous}::ModuleSanitizerCoverageAFL::InjectCoverage(llvm::Function&, llvm::ArrayRef<llvm::BasicBlock*>, bool)': >instrumentation/SanitizerCoveragePCGUARD.so.cc:975:21: note: 'result' was declared here > 975 | Value * result; > | ^~~~~~ >instrumentation/SanitizerCoveragePCGUARD.so.cc: In member function 'std::pair<llvm::Value*, llvm::Value*> {anonymous}::ModuleSanitizerCoverageAFL::CreateSecStartEnd(llvm::Module&, const char*, llvm::Type*)': >instrumentation/SanitizerCoveragePCGUARD.so.cc:324:50: warning: 'static void llvm::GlobalVariable::operator delete(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] > 324 | getSectionStart(Section)); > | ^ >In static member function 'static void* llvm::GlobalVariable::operator new(size_t)', > inlined from 'std::pair<llvm::Value*, llvm::Value*> {anonymous}::ModuleSanitizerCoverageAFL::CreateSecStartEnd(llvm::Module&, const char*, llvm::Type*)' at instrumentation/SanitizerCoveragePCGUARD.so.cc:324:50: >/usr/lib/llvm/14/include/llvm/IR/GlobalVariable.h:73:30: note: returned from 'static void* llvm::User::operator new(size_t, unsigned int)' > 73 | return User::operator new(s, 1); > | ~~~~~~~~~~~~~~~~~~^~~~~~ >instrumentation/SanitizerCoveragePCGUARD.so.cc: In member function 'std::pair<llvm::Value*, llvm::Value*> {anonymous}::ModuleSanitizerCoverageAFL::CreateSecStartEnd(llvm::Module&, const char*, llvm::Type*)': >instrumentation/SanitizerCoveragePCGUARD.so.cc:334:48: warning: 'static void llvm::GlobalVariable::operator delete(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] > 334 | getSectionEnd(Section)); > | ^ >In static member function 'static void* llvm::GlobalVariable::operator new(size_t)', > inlined from 'std::pair<llvm::Value*, llvm::Value*> {anonymous}::ModuleSanitizerCoverageAFL::CreateSecStartEnd(llvm::Module&, const char*, llvm::Type*)' at instrumentation/SanitizerCoveragePCGUARD.so.cc:334:48: >/usr/lib/llvm/14/include/llvm/IR/GlobalVariable.h:73:30: note: returned from 'static void* llvm::User::operator new(size_t, unsigned int)' > 73 | return User::operator new(s, 1); > | ~~~~~~~~~~~~~~~~~~^~~~~~ >In member function 'void {anonymous}::ModuleSanitizerCoverageAFL::InjectTraceForSwitch(llvm::Function&, llvm::ArrayRef<llvm::Instruction*>)', > inlined from 'void {anonymous}::ModuleSanitizerCoverageAFL::instrumentFunction.constprop(llvm::Function&, {anonymous}::DomTreeCallback, {anonymous}::PostDomTreeCallback)' at instrumentation/SanitizerCoveragePCGUARD.so.cc:753:23: >instrumentation/SanitizerCoveragePCGUARD.so.cc:1269:43: warning: 'static void llvm::GlobalVariable::operator delete(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] > 1269 | "__sancov_gen_cov_switch_values"); > | ^ >In static member function 'static void* llvm::GlobalVariable::operator new(size_t)', > inlined from 'void {anonymous}::ModuleSanitizerCoverageAFL::InjectTraceForSwitch(llvm::Function&, llvm::ArrayRef<llvm::Instruction*>)' at instrumentation/SanitizerCoveragePCGUARD.so.cc:1269:43, > inlined from 'void {anonymous}::ModuleSanitizerCoverageAFL::instrumentFunction.constprop(llvm::Function&, {anonymous}::DomTreeCallback, {anonymous}::PostDomTreeCallback)' at instrumentation/SanitizerCoveragePCGUARD.so.cc:753:23: >/usr/lib/llvm/14/include/llvm/IR/GlobalVariable.h:73:30: note: returned from 'static void* llvm::User::operator new(size_t, unsigned int)' > 73 | return User::operator new(s, 1); > | ~~~~~~~~~~~~~~~~~~^~~~~~ >In member function 'bool {anonymous}::ModuleSanitizerCoverageAFL::instrumentModule(llvm::Module&, {anonymous}::DomTreeCallback, {anonymous}::PostDomTreeCallback)', > inlined from 'llvm::PreservedAnalyses {anonymous}::ModuleSanitizerCoverageAFL::run(llvm::Module&, llvm::ModuleAnalysisManager&)' at instrumentation/SanitizerCoveragePCGUARD.so.cc:307:36: >instrumentation/SanitizerCoveragePCGUARD.so.cc:451:75: warning: 'static void llvm::GlobalVariable::operator delete(void*)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete] > 451 | GlobalValue::ExternalLinkage, 0, "__afl_area_ptr"); > | ^ > >In static member function 'static void* llvm::GlobalVariable::operator new(size_t)', > inlined from 'bool {anonymous}::ModuleSanitizerCoverageAFL::instrumentModule(llvm::Module&, {anonymous}::DomTreeCallback, {anonymous}::PostDomTreeCallback)' at instrumentation/SanitizerCoveragePCGUARD.so.cc:451:75, > inlined from 'llvm::PreservedAnalyses {anonymous}::ModuleSanitizerCoverageAFL::run(llvm::Module&, llvm::ModuleAnalysisManager&)' at instrumentation/SanitizerCoveragePCGUARD.so.cc:307:36: >/usr/lib/llvm/14/include/llvm/IR/GlobalVariable.h:73:30: note: returned from 'static void* llvm::User::operator new(size_t, unsigned int)' > 73 | return User::operator new(s, 1); > | ~~~~~~~~~~~~~~~~~~^~~~~~ >x86_64-gentoo-linux-musl-g++ `llvm-config --cxxflags` -fno-rtti -fPIC -pipe -march=native -fno-diagnostics-color -O2 -Wall -g -I ./include/ -DVERSION=\"++4.01c\" -Wno-variadic-macros -DLLVM_MINOR=6 -DLLVM_MAJOR=14 -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 >x86_64-gentoo-linux-musl-g++ `llvm-config --cxxflags` -fno-rtti -fPIC -pipe -march=native -fno-diagnostics-color -O2 -Wall -g -I ./include/ -DVERSION=\"++4.01c\" -Wno-variadic-macros -DLLVM_MINOR=6 -DLLVM_MAJOR=14 -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-gentoo-linux-musl-g++ `llvm-config --cxxflags` -fno-rtti -fPIC -pipe -march=native -fno-diagnostics-color -O2 -Wall -g -I ./include/ -DVERSION=\"++4.01c\" -Wno-variadic-macros -DLLVM_MINOR=6 -DLLVM_MAJOR=14 -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-gentoo-linux-musl-g++ `llvm-config --cxxflags` -fno-rtti -fPIC -pipe -march=native -fno-diagnostics-color -O2 -Wall -g -I ./include/ -DVERSION=\"++4.01c\" -Wno-variadic-macros -DLLVM_MINOR=6 -DLLVM_MAJOR=14 -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-gentoo-linux-musl-g++ `llvm-config --cxxflags` -fno-rtti -fPIC -pipe -march=native -fno-diagnostics-color -O2 -Wall -g -I ./include/ -DVERSION=\"++4.01c\" -Wno-variadic-macros -DLLVM_MINOR=6 -DLLVM_MAJOR=14 -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-gentoo-linux-musl-g++ `llvm-config --cxxflags` -fno-rtti -fPIC -pipe -march=native -fno-diagnostics-color -O2 -Wall -g -I ./include/ -DVERSION=\"++4.01c\" -Wno-variadic-macros -DLLVM_MINOR=6 -DLLVM_MAJOR=14 -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-gentoo-linux-musl-g++ `llvm-config --cxxflags` -fno-rtti -fPIC -pipe -march=native -fno-diagnostics-color -O2 -Wall -g -I ./include/ -DVERSION=\"++4.01c\" -Wno-variadic-macros -DLLVM_MINOR=6 -DLLVM_MAJOR=14 -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 >x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DDOC_PATH=\"/usr/share/doc/aflplusplus-4.01c-r1\" -Wall -g -Wno-cast-qual -Wno-variadic-macros -Wno-pointer-sign -I ./include/ -I ./instrumentation/ -DAFL_PATH=\"/usr/lib/afl\" -DBIN_PATH=\"/usr/bin\" -DLLVM_BINDIR=\"/usr/lib/llvm/14/bin\" -DVERSION=\"++4.01c\" -DLLVM_LIBDIR=\"/usr/lib/llvm/14/lib\" -DLLVM_VERSION=\"14.0.6\" -Wno-deprecated -DAFL_CLANG_FLTO=\"-flto=full\" -DAFL_REAL_LD=\"""\" -DAFL_CLANG_LDPATH=\"\" -DAFL_CLANG_FUSELD=\"1\" -DCLANG_BIN=\"/usr/lib/llvm/14/bin/clang\" -DCLANGPP_BIN=\"/usr/lib/llvm/14/bin/clang++\" -DUSE_BINDIR=1 -Wno-unused-function -fdebug-prefix-map="/var/tmp/portage/app-forensics/aflplusplus-4.01c-r1/work/AFLplusplus-4.01c=llvm_mode" -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -ldl -lrt -lm src/afl-ld-lto.c -o afl-ld-lto >src/afl-ld-lto.c: In function 'main': >src/afl-ld-lto.c:261:15: error: 'PATH_MAX' undeclared (first use in this function); did you mean 'ARITH_MAX'? > 261 | char thecwd[PATH_MAX]; > | ^~~~~~~~ > | ARITH_MAX >src/afl-ld-lto.c:261:15: note: each undeclared identifier is reported only once for each function it appears in >src/afl-ld-lto.c:261:8: warning: unused variable 'thecwd' [-Wunused-variable] > 261 | char thecwd[PATH_MAX]; > | ^~~~~~ >make[1]: *** [GNUmakefile.llvm:412: afl-ld-lto] Error 1 >make[1]: Leaving directory '/var/tmp/portage/app-forensics/aflplusplus-4.01c-r1/work/AFLplusplus-4.01c' >make: *** [GNUmakefile:315: llvm] Error 2 > * ERROR: app-forensics/aflplusplus-4.01c-r1::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=app-forensics/aflplusplus-4.01c-r1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=app-forensics/aflplusplus-4.01c-r1::gentoo'`. > * The complete build log is located at '/var/log/portage/app-forensics:aflplusplus-4.01c-r1:20220730-132230.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-forensics/aflplusplus-4.01c-r1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/app-forensics/aflplusplus-4.01c-r1/temp/environment'. > * Working directory: '/var/tmp/portage/app-forensics/aflplusplus-4.01c-r1/work/AFLplusplus-4.01c' > * S: '/var/tmp/portage/app-forensics/aflplusplus-4.01c-r1/work/AFLplusplus-4.01c' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 862348
:
795814
| 795817 |
795820
|
795823
|
795826
|
795829