=>> Building security/afl++ build started at Sun Apr 7 01:45:31 BST 2024 port directory: /usr/ports/security/afl++ package name: afl++-gcc-4.10.c building for: FreeBSD pkg-builder.dan.net.uk 13.2-RELEASE-p10 FreeBSD 13.2-RELEASE-p10 amd64 maintained by: salvadore@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 2426 Feb 8 11:33 /usr/ports/security/afl++/Makefile Ports top last git commit: c2c35d895e Ports top unclean checkout: yes Port dir last git commit: 2d20c0bc75 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1400097 Jail OSVERSION: 1302001 Job Id: 16 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1302001 UNAME_v=FreeBSD 13.2-RELEASE-p10 UNAME_r=13.2-RELEASE-p10 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.99.20240122_1 MASTERMNT=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/16/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=13-amd64-default-dan SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.99.20240122_1 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR=gcc MAKE_ARGS= FLAVOR=gcc ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for afl++-gcc-4.10.c: DEBUG=off: Build with debugging support DOCS=on: Build and/or install documentation PYTHON=on: Python mutators support ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- salvadore@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- MAKE=gmake PYTHON="/usr/local/bin/python3.9" XDG_DATA_HOME=/wrkdirs/usr/ports/security/afl++/work-gcc XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/afl++/work-gcc XDG_CACHE_HOME=/wrkdirs/usr/ports/security/afl++/work-gcc/.cache HOME=/wrkdirs/usr/ports/security/afl++/work-gcc TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/security/afl++/work-gcc/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/security/afl++/work-gcc/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCACHE_DIR="/root/.ccache" --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/security/afl++/work-gcc XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/afl++/work-gcc XDG_CACHE_HOME=/wrkdirs/usr/ports/security/afl++/work-gcc/.cache HOME=/wrkdirs/usr/ports/security/afl++/work-gcc TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/security/afl++/work-gcc/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/security/afl++/work-gcc/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES ADDR2LINE="/usr/local/bin/addr2line" AR="/usr/local/bin/ar" AS="/usr/local/bin/as" CPPFILT="/usr/local/bin/c++filt" GPROF="/usr/local/bin/gprof" LD="/usr/local/bin/ld" NM="/usr/local/bin/nm" OBJCOPY="/usr/local/bin/objcopy" OBJDUMP="/usr/local/bin/objdump" RANLIB="/usr/local/bin/ranlib" READELF="/usr/local/bin/readelf" SIZE="/usr/local/bin/size" STRINGS="/usr/local/bin/strings" PREFIX=/usr/local LOCALBASE=/usr/local CC="gcc13" CFLAGS="-O2 -pipe -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -fno-strict-aliasing " CPP="cpp13" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -L/usr/local/lib/gcc13 " LIBS="" CXX="g++13" CXXFLAGS="-O2 -pipe -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -Wl,-rpath=/usr/local/lib/gcc13 " CCACHE_DIR="/root/.ccache" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- PORTDOCS="" PYTHON_INCLUDEDIR=include/python3.9 PYTHON_LIBDIR=lib/python3.9 PYTHON_PLATFORM=freebsd13 PYTHON_SITELIBDIR=lib/python3.9/site-packages PYTHON_SUFFIX=39 PYTHON_EXT_SUFFIX=.cpython-39 PYTHON_VER=3.9 PYTHON_VERSION=python3.9 PYTHON2="@comment " PYTHON3="" OSREL=13.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="afl++-gcc/share/doc/afl" EXAMPLESDIR="share/examples/afl" DATADIR="share/afl" WWWDIR="www/afl" ETCDIR="etc/afl" --End PLIST_SUB-- --SUB_LIST-- PYTHON_INCLUDEDIR=/usr/local/include/python3.9 PYTHON_LIBDIR=/usr/local/lib/python3.9 PYTHON_PLATFORM=freebsd13 PYTHON_SITELIBDIR=/usr/local/lib/python3.9/site-packages PYTHON_SUFFIX=39 PYTHON_EXT_SUFFIX=.cpython-39 PYTHON_VER=3.9 PYTHON_VERSION=python3.9 PYTHON2="@comment " PYTHON3="" PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/afl DOCSDIR=/usr/local/afl++-gcc/share/doc/afl EXAMPLESDIR=/usr/local/share/examples/afl WWWDIR=/usr/local/www/afl ETCDIR=/usr/local/etc/afl --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### CCACHE_CPP2=1 WITH_SSP_PORTS=yes WITH_SSP=yes #WITH_LTO=yes DISABLE_LICENSES=yes LICENSES_ACCEPTED=AGPLv3 APACHE10 APACHE11 APACHE20 ART10 ARTPERL10 ART20 BSD BSD2CLAUSE BSD3CLAUSE BSD4CLAUSE BSL CC0-1.0 CDDL ClArtistic EPL GFDL GMGPL GPLv1 GPLv2 GPLv3 GPLv3RLE ISCL LGPL20 LGPL21 LGPL3 LPPL10 LPPL11 LPPL12 LPPL13 LPPL13a LPPL13b LPPL13c MIT MPL OpenSSL OFL10 OFL11 OWL PostgreSQL PHP202 PHP30 PHP301 PSFL RUBY ZLIB ZPL21 SVM-Light EULA ALASIR Microsoft-exFAT SIMIAN UDEVGAME unknown MTA COMMERCIAL teamspeak NO_LICENSES_DIALOGS=yes #### #### NO_IGNORE=yes DEFAULT_VERSIONS+=ssl=openssl mysql=8.0 imagemagick=7 samba=4.13 java=18 WITH_SETID_MODE=force PHP_ZTS=enabled OPTIONS_UNSET+=OPENJPEG OPTIONS_UNSET+=GSSAPI_BASE OPTIONS_SET+=ZTS OPTIONS_SET+=GSSAPI_NONE WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache NO_CCACHE_DEPEND=1 CCACHE_WRAPPER_PATH= /ccache/libexec/ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> afl++-gcc-4.10.c depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.20.9_1.pkg [pkg-builder.dan.net.uk] Installing pkg-1.20.9_1... [pkg-builder.dan.net.uk] Extracting pkg-1.20.9_1: .......... done ===> afl++-gcc-4.10.c depends on file: /usr/local/sbin/pkg - found ===> Returning to build of afl++-gcc-4.10.c =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by afl++-gcc-4.10.c for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by afl++-gcc-4.10.c for building => SHA256 Checksum OK for AFLplusplus-AFLplusplus-v4.10c_GH0.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by afl++-gcc-4.10.c for building ===> Extracting for afl++-gcc-4.10.c => SHA256 Checksum OK for AFLplusplus-AFLplusplus-v4.10c_GH0.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for afl++-gcc-4.10.c =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> afl++-gcc-4.10.c depends on executable: ginstall - not found ===> Installing existing package /packages/All/coreutils-9.4_1.pkg [pkg-builder.dan.net.uk] Installing coreutils-9.4_1... [pkg-builder.dan.net.uk] `-- Installing gettext-runtime-0.22.3_1... [pkg-builder.dan.net.uk] | `-- Installing indexinfo-0.3.1... [pkg-builder.dan.net.uk] | `-- Extracting indexinfo-0.3.1: . done [pkg-builder.dan.net.uk] `-- Extracting gettext-runtime-0.22.3_1: .......... done [pkg-builder.dan.net.uk] Extracting coreutils-9.4_1: .......... done ===> afl++-gcc-4.10.c depends on executable: ginstall - found ===> Returning to build of afl++-gcc-4.10.c ===> afl++-gcc-4.10.c depends on package: gmake>=4.4.1 - not found ===> Installing existing package /packages/All/gmake-4.4.1.pkg [pkg-builder.dan.net.uk] Installing gmake-4.4.1... [pkg-builder.dan.net.uk] Extracting gmake-4.4.1: .......... done ===> afl++-gcc-4.10.c depends on package: gmake>=4.4.1 - found ===> Returning to build of afl++-gcc-4.10.c ===> afl++-gcc-4.10.c depends on package: gettext-runtime>=0.22_1 - found ===> afl++-gcc-4.10.c depends on file: /usr/local/bin/python3.9 - not found ===> Installing existing package /packages/All/python39-3.9.18_1.pkg [pkg-builder.dan.net.uk] Installing python39-3.9.18_1... [pkg-builder.dan.net.uk] `-- Installing libffi-3.4.4_1... [pkg-builder.dan.net.uk] `-- Extracting libffi-3.4.4_1: .......... done [pkg-builder.dan.net.uk] `-- Installing mpdecimal-2.5.1... [pkg-builder.dan.net.uk] `-- Extracting mpdecimal-2.5.1: .......... done [pkg-builder.dan.net.uk] `-- Installing openssl-3.0.13_1,1... [pkg-builder.dan.net.uk] `-- Extracting openssl-3.0.13_1,1: .......... done [pkg-builder.dan.net.uk] `-- Installing readline-8.2.10... [pkg-builder.dan.net.uk] `-- Extracting readline-8.2.10: .......... done [pkg-builder.dan.net.uk] Extracting python39-3.9.18_1: .......... done ===== Message from python39-3.9.18_1: -- Note that some standard Python modules are provided as separate ports as they require additional dependencies. They are available as: py39-gdbm databases/py-gdbm@py39 py39-sqlite3 databases/py-sqlite3@py39 py39-tkinter x11-toolkits/py-tkinter@py39 ===> afl++-gcc-4.10.c depends on file: /usr/local/bin/python3.9 - found ===> Returning to build of afl++-gcc-4.10.c ===> afl++-gcc-4.10.c depends on executable: gcc13 - not found ===> Installing existing package /packages/All/gcc13-13.2.0_4.pkg [pkg-builder.dan.net.uk] Installing gcc13-13.2.0_4... [pkg-builder.dan.net.uk] `-- Installing binutils-2.40_5,1... [pkg-builder.dan.net.uk] | `-- Installing zstd-1.5.5_1... [pkg-builder.dan.net.uk] | | `-- Installing liblz4-1.9.4_1,1... [pkg-builder.dan.net.uk] | | `-- Extracting liblz4-1.9.4_1,1: .......... done [pkg-builder.dan.net.uk] | `-- Extracting zstd-1.5.5_1: .......... done [pkg-builder.dan.net.uk] `-- Extracting binutils-2.40_5,1: .......... done [pkg-builder.dan.net.uk] `-- Installing gmp-6.3.0... [pkg-builder.dan.net.uk] `-- Extracting gmp-6.3.0: .......... done [pkg-builder.dan.net.uk] `-- Installing mpc-1.3.1_1... [pkg-builder.dan.net.uk] | `-- Installing mpfr-4.2.1,1... [pkg-builder.dan.net.uk] | `-- Extracting mpfr-4.2.1,1: .......... done [pkg-builder.dan.net.uk] `-- Extracting mpc-1.3.1_1: ...... done [pkg-builder.dan.net.uk] Extracting gcc13-13.2.0_4: .......... done create symlink for gcc13 create symlink for gcc13 (world) create symlink for g++13 create symlink for g++13 (world) create symlink for cpp13 create symlink for cpp13 (world) ===== Message from gcc13-13.2.0_4: -- To ensure binaries built with this toolchain find appropriate versions of the necessary run-time libraries, you may want to link using -Wl,-rpath=/usr/local/lib/gcc13 For ports leveraging USE_GCC, USES=compiler, or USES=fortran this happens transparently. ===> afl++-gcc-4.10.c depends on executable: gcc13 - found ===> Returning to build of afl++-gcc-4.10.c ===> afl++-gcc-4.10.c depends on file: /usr/local/bin/as - found =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> afl++-gcc-4.10.c depends on shared library: libintl.so - found (/usr/local/lib/libintl.so) =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for afl++-gcc-4.10.c =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for afl++-gcc-4.10.c [*] Compiling AFL++ for OS FreeBSD on ARCH amd64 [*] 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.18 support seems to be working. [+] Everything seems to be working, ready to compile. (gcc13 (FreeBSD Ports Collection) 13.2.0) gcc13 -O2 -pipe -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -fno-strict-aliasing -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/usr/local/afl++-gcc/lib/afl\" -DBIN_PATH=\"/usr/local/afl++-gcc/bin\" -DDOC_PATH=\"/usr/local/afl++-gcc/share/doc/afl\" -I /usr/local/include/ -pthread -flto -c src/afl-common.c -o src/afl-common.o gcc13 -O2 -pipe -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -fno-strict-aliasing -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/usr/local/afl++-gcc/lib/afl\" -DBIN_PATH=\"/usr/local/afl++-gcc/bin\" -DDOC_PATH=\"/usr/local/afl++-gcc/share/doc/afl\" -I /usr/local/include/ -pthread -flto -c src/afl-sharedmem.c -o src/afl-sharedmem.o gcc13 -O2 -pipe -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -fno-strict-aliasing -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/usr/local/afl++-gcc/lib/afl\" -DBIN_PATH=\"/usr/local/afl++-gcc/bin\" -DDOC_PATH=\"/usr/local/afl++-gcc/share/doc/afl\" -I /usr/local/include/ -pthread -flto -c src/afl-forkserver.c -o src/afl-forkserver.o gcc13 -O2 -pipe -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -fno-strict-aliasing -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/usr/local/afl++-gcc/lib/afl\" -DBIN_PATH=\"/usr/local/afl++-gcc/bin\" -DDOC_PATH=\"/usr/local/afl++-gcc/share/doc/afl\" -I /usr/local/include/ -pthread -Wno-error=format-truncation -Wno-format-truncation -Iinclude -c src/afl-performance.c -o src/afl-performance.o gcc13 -O2 -pipe -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -fno-strict-aliasing -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/usr/local/afl++-gcc/lib/afl\" -DBIN_PATH=\"/usr/local/afl++-gcc/bin\" -DDOC_PATH=\"/usr/local/afl++-gcc/share/doc/afl\" -I /usr/local/include/ -pthread -flto 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-skipdet.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/local/include/python3.9 -I/usr/local/include/python3.9 -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -L/usr/local/lib/gcc13 -L /usr/local/lib/ -lpthread -lm -lpython3.9 -lcrypt -lintl -ldl -L/usr/local/lib -lintl -lutil -lm -lm -L/usr/local/lib -lpython3.9 -lcrypt -lintl -ldl -L/usr/local/lib -lintl -lutil -lm -lm -DPYTHON_VERSION="\"Python 3.9.18\"" -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -L/usr/local/lib/gcc13 -L /usr/local/lib/ -lpthread -lm -lm In file included from /usr/local/include/python3.9/Python.h:8, from include/afl-fuzz.h:359, from src/afl-fuzz-bitmap.c:26: /usr/local/include/python3.9/pyconfig.h:1600: warning: "_GNU_SOURCE" redefined 1600 | #define _GNU_SOURCE 1 | include/afl-fuzz.h:34: note: this is the location of the previous definition 34 | #define _GNU_SOURCE | In file included from /usr/local/include/python3.9/Python.h:8, from include/afl-fuzz.h:359, from src/afl-fuzz-cmplog.c:29: /usr/local/include/python3.9/pyconfig.h:1600: warning: "_GNU_SOURCE" redefined 1600 | #define _GNU_SOURCE 1 | include/afl-fuzz.h:34: note: this is the location of the previous definition 34 | #define _GNU_SOURCE | In file included from /usr/local/include/python3.9/Python.h:8, from include/afl-fuzz.h:359, from src/afl-fuzz-extras.c:26: /usr/local/include/python3.9/pyconfig.h:1600: warning: "_GNU_SOURCE" redefined 1600 | #define _GNU_SOURCE 1 | include/afl-fuzz.h:34: note: this is the location of the previous definition 34 | #define _GNU_SOURCE | In file included from /usr/local/include/python3.9/Python.h:8, from include/afl-fuzz.h:359, from src/afl-fuzz-init.c:26: /usr/local/include/python3.9/pyconfig.h:1600: warning: "_GNU_SOURCE" redefined 1600 | #define _GNU_SOURCE 1 | include/afl-fuzz.h:34: note: this is the location of the previous definition 34 | #define _GNU_SOURCE | In file included from /usr/local/include/python3.9/Python.h:8, from include/afl-fuzz.h:359, from src/afl-fuzz-mutators.c:27: /usr/local/include/python3.9/pyconfig.h:1600: warning: "_GNU_SOURCE" redefined 1600 | #define _GNU_SOURCE 1 | include/afl-fuzz.h:34: note: this is the location of the previous definition 34 | #define _GNU_SOURCE | In file included from /usr/local/include/python3.9/Python.h:8, from include/afl-fuzz.h:359, from src/afl-fuzz-one.c:26: /usr/local/include/python3.9/pyconfig.h:1600: warning: "_GNU_SOURCE" redefined 1600 | #define _GNU_SOURCE 1 | include/afl-fuzz.h:34: note: this is the location of the previous definition 34 | #define _GNU_SOURCE | In file included from /usr/local/include/python3.9/Python.h:8, from include/afl-fuzz.h:359, from src/afl-fuzz-python.c:26: /usr/local/include/python3.9/pyconfig.h:1600: warning: "_GNU_SOURCE" redefined 1600 | #define _GNU_SOURCE 1 | include/afl-fuzz.h:34: note: this is the location of the previous definition 34 | #define _GNU_SOURCE | In file included from /usr/local/include/python3.9/Python.h:8, from include/afl-fuzz.h:359, from src/afl-fuzz-queue.c:25: /usr/local/include/python3.9/pyconfig.h:1600: warning: "_GNU_SOURCE" redefined 1600 | #define _GNU_SOURCE 1 | include/afl-fuzz.h:34: note: this is the location of the previous definition 34 | #define _GNU_SOURCE | In file included from /usr/local/include/python3.9/Python.h:8, from include/afl-fuzz.h:359, from src/afl-fuzz-redqueen.c:28: /usr/local/include/python3.9/pyconfig.h:1600: warning: "_GNU_SOURCE" redefined 1600 | #define _GNU_SOURCE 1 | include/afl-fuzz.h:34: note: this is the location of the previous definition 34 | #define _GNU_SOURCE | In file included from /usr/local/include/python3.9/Python.h:8, from include/afl-fuzz.h:359, from src/afl-fuzz-run.c:27: /usr/local/include/python3.9/pyconfig.h:1600: warning: "_GNU_SOURCE" redefined 1600 | #define _GNU_SOURCE 1 | include/afl-fuzz.h:34: note: this is the location of the previous definition 34 | #define _GNU_SOURCE | In file included from /usr/local/include/python3.9/Python.h:8, from include/afl-fuzz.h:359, from src/afl-fuzz-skipdet.c:3: /usr/local/include/python3.9/pyconfig.h:1600: warning: "_GNU_SOURCE" redefined 1600 | #define _GNU_SOURCE 1 | include/afl-fuzz.h:34: note: this is the location of the previous definition 34 | #define _GNU_SOURCE | In file included from /usr/local/include/python3.9/Python.h:8, from include/afl-fuzz.h:359, from src/afl-fuzz-state.c:28: /usr/local/include/python3.9/pyconfig.h:1600: warning: "_GNU_SOURCE" redefined 1600 | #define _GNU_SOURCE 1 | include/afl-fuzz.h:34: note: this is the location of the previous definition 34 | #define _GNU_SOURCE | In file included from /usr/local/include/python3.9/Python.h:8, from include/afl-fuzz.h:359, from src/afl-fuzz-stats.c:26: /usr/local/include/python3.9/pyconfig.h:1600: warning: "_GNU_SOURCE" redefined 1600 | #define _GNU_SOURCE 1 | include/afl-fuzz.h:34: note: this is the location of the previous definition 34 | #define _GNU_SOURCE | In file included from /usr/local/include/python3.9/Python.h:8, from include/afl-fuzz.h:359, from src/afl-fuzz-statsd.c:14: /usr/local/include/python3.9/pyconfig.h:1600: warning: "_GNU_SOURCE" redefined 1600 | #define _GNU_SOURCE 1 | include/afl-fuzz.h:34: note: this is the location of the previous definition 34 | #define _GNU_SOURCE | In file included from /usr/local/include/python3.9/Python.h:8, from include/afl-fuzz.h:359, from src/afl-fuzz.c:26: /usr/local/include/python3.9/pyconfig.h:1600: warning: "_GNU_SOURCE" redefined 1600 | #define _GNU_SOURCE 1 | include/afl-fuzz.h:34: note: this is the location of the previous definition 34 | #define _GNU_SOURCE | lto-wrapper: warning: using serial compilation of 6 LTRANS jobs lto-wrapper: note: see the '-flto' option documentation for more information gcc13 -O2 -pipe -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -fno-strict-aliasing -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/usr/local/afl++-gcc/lib/afl\" -DBIN_PATH=\"/usr/local/afl++-gcc/bin\" -DDOC_PATH=\"/usr/local/afl++-gcc/share/doc/afl\" -I /usr/local/include/ -pthread -flto src/afl-showmap.c src/afl-fuzz-mutators.c src/afl-fuzz-python.c src/afl-common.o src/afl-sharedmem.o src/afl-forkserver.o src/afl-performance.o -o afl-showmap -DUSE_PYTHON -I/usr/local/include/python3.9 -I/usr/local/include/python3.9 -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -L/usr/local/lib/gcc13 -L /usr/local/lib/ -lpthread -lm -lpython3.9 -lcrypt -lintl -ldl -L/usr/local/lib -lintl -lutil -lm -lm -L/usr/local/lib -lpython3.9 -lcrypt -lintl -ldl -L/usr/local/lib -lintl -lutil -lm -lm -DPYTHON_VERSION="\"Python 3.9.18\"" -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -L/usr/local/lib/gcc13 -L /usr/local/lib/ -lpthread -lm In file included from /usr/local/include/python3.9/Python.h:8, from include/afl-fuzz.h:359, from src/afl-showmap.c:36: /usr/local/include/python3.9/pyconfig.h:1600: warning: "_GNU_SOURCE" redefined 1600 | #define _GNU_SOURCE 1 | include/afl-fuzz.h:34: note: this is the location of the previous definition 34 | #define _GNU_SOURCE | In file included from /usr/local/include/python3.9/Python.h:8, from include/afl-fuzz.h:359, from src/afl-fuzz-mutators.c:27: /usr/local/include/python3.9/pyconfig.h:1600: warning: "_GNU_SOURCE" redefined 1600 | #define _GNU_SOURCE 1 | include/afl-fuzz.h:34: note: this is the location of the previous definition 34 | #define _GNU_SOURCE | In file included from /usr/local/include/python3.9/Python.h:8, from include/afl-fuzz.h:359, from src/afl-fuzz-python.c:26: /usr/local/include/python3.9/pyconfig.h:1600: warning: "_GNU_SOURCE" redefined 1600 | #define _GNU_SOURCE 1 | include/afl-fuzz.h:34: note: this is the location of the previous definition 34 | #define _GNU_SOURCE | gcc13 -O2 -pipe -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -fno-strict-aliasing -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/usr/local/afl++-gcc/lib/afl\" -DBIN_PATH=\"/usr/local/afl++-gcc/bin\" -DDOC_PATH=\"/usr/local/afl++-gcc/share/doc/afl\" -I /usr/local/include/ -pthread -flto src/afl-tmin.c src/afl-common.o src/afl-sharedmem.o src/afl-forkserver.o src/afl-performance.o -o afl-tmin -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -L/usr/local/lib/gcc13 -L /usr/local/lib/ -lpthread -lm gcc13 -O2 -pipe -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -fno-strict-aliasing -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/usr/local/afl++-gcc/lib/afl\" -DBIN_PATH=\"/usr/local/afl++-gcc/bin\" -DDOC_PATH=\"/usr/local/afl++-gcc/share/doc/afl\" -I /usr/local/include/ -pthread -flto src/afl-gotcpu.c src/afl-common.o -o afl-gotcpu -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -L/usr/local/lib/gcc13 -L /usr/local/lib/ -lpthread -lm gcc13 -O2 -pipe -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -fno-strict-aliasing -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/usr/local/afl++-gcc/lib/afl\" -DBIN_PATH=\"/usr/local/afl++-gcc/bin\" -DDOC_PATH=\"/usr/local/afl++-gcc/share/doc/afl\" -I /usr/local/include/ -pthread -flto src/afl-analyze.c src/afl-common.o src/afl-sharedmem.o src/afl-performance.o src/afl-forkserver.o -o afl-analyze -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -L/usr/local/lib/gcc13 -L /usr/local/lib/ -lpthread -lm gcc13 -O2 -pipe -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -fno-strict-aliasing -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/usr/local/afl++-gcc/lib/afl\" -DBIN_PATH=\"/usr/local/afl++-gcc/bin\" -DDOC_PATH=\"/usr/local/afl++-gcc/share/doc/afl\" -I /usr/local/include/ -pthread src/afl-as.c -o afl-as -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -L/usr/local/lib/gcc13 -L /usr/local/lib/ -lpthread -lm gmake -j -f GNUmakefile.llvm gmake[1]: Entering directory '/wrkdirs/usr/ports/security/afl++/work-gcc/AFLplusplus-4.10c' GNUmakefile.llvm:62: [!] llvm_mode needs llvm-config, which was not found. Set LLVM_CONFIG to its path and retry. [+] llvm_mode detected llvm < 12, afl-lto LTO will not be build. GNUmakefile.llvm:127: we have trouble finding clang - llvm-config is not helping us GNUmakefile.llvm:142: we have trouble finding clang++ - llvm-config is not helping us gmake[1]: llvm-config: No such file or directory clang -O2 -pipe -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -fno-strict-aliasing -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/usr/local/afl++-gcc/lib/afl\" -DBIN_PATH=\"/usr/local/afl++-gcc/bin\" -DDOC_PATH=\"/usr/local/afl++-gcc/share/doc/afl\" -I /usr/local/include/ -pthread -Wall -g -Wno-cast-qual -Wno-variadic-macros -Wno-pointer-sign -I ./include/ -I ./instrumentation/ -DAFL_PATH=\"/usr/local/afl++-gcc/lib/afl\" -DBIN_PATH=\"/usr/local/afl++-gcc/bin\" -DLLVM_BINDIR=\"\" -DVERSION=\"++4.10c\" -DLLVM_LIBDIR=\"\" -DLLVM_VERSION=\"\" -DAFL_CLANG_FLTO=\"-flto=full\" -DAFL_REAL_LD=\"\" -DAFL_CLANG_LDPATH=\"\" -DAFL_CLANG_FUSELD=\"\" -DCLANG_BIN=\"clang\" -DCLANGPP_BIN=\"clang++\" -DUSE_BINDIR=0 -Wno-unused-function -fdebug-prefix-map="/wrkdirs/usr/ports/security/afl++/work-gcc/AFLplusplus-4.10c=llvm_mode" -Wno-deprecated -c src/afl-common.c -o instrumentation/afl-common.o -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -L/usr/local/lib/gcc13 -L /usr/local/lib/ -lpthread -lm [+] shmat seems to be working. gmake[1]: llvm-config: No such file or directory clang -I -I./../include -Wall -g -Wno-cast-qual -Wno-variadic-macros -Wno-pointer-sign -I ./include/ -I ./instrumentation/ -DAFL_PATH=\"/usr/local/afl++-gcc/lib/afl\" -DBIN_PATH=\"/usr/local/afl++-gcc/bin\" -DLLVM_BINDIR=\"\" -DVERSION=\"++4.10c\" -DLLVM_LIBDIR=\"\" -DLLVM_VERSION=\"\" -DAFL_CLANG_FLTO=\"-flto=full\" -DAFL_REAL_LD=\"\" -DAFL_CLANG_LDPATH=\"\" -DAFL_CLANG_FUSELD=\"\" -DCLANG_BIN=\"clang\" -DCLANGPP_BIN=\"clang++\" -DUSE_BINDIR=0 -Wno-unused-function -fdebug-prefix-map="/wrkdirs/usr/ports/security/afl++/work-gcc/AFLplusplus-4.10c=llvm_mode" -Wno-deprecated -O3 -Wno-unused-result -fPIC -c instrumentation/afl-compiler-rt.o.c -o afl-compiler-rt.o gmake[1]: llvm-config: No such file or directory [*] Building 32-bit variant of the runtime (-m32)... gmake[1]: llvm-config: No such file or directory [*] Building 64-bit variant of the runtime (-m64)... success! success! clang: warning: -Wl,-rpath=/usr/local/lib/gcc13: 'linker' input unused [-Wunused-command-line-argument] clang: warning: -Wl,-rpath=/usr/local/lib/gcc13: 'linker' input unused [-Wunused-command-line-argument] clang: warning: -lpthread: 'linker' input unused [-Wunused-command-line-argument] clang: warning: -lm: 'linker' input unused [-Wunused-command-line-argument] clang: warning: argument unused during compilation: '-L/usr/local/lib/gcc13' [-Wunused-command-line-argument] clang: warning: argument unused during compilation: '-L/usr/local/lib/' [-Wunused-command-line-argument] gmake[1]: llvm-config: No such file or directory clang -I -I./../include -O2 -pipe -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -fno-strict-aliasing -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/usr/local/afl++-gcc/lib/afl\" -DBIN_PATH=\"/usr/local/afl++-gcc/bin\" -DDOC_PATH=\"/usr/local/afl++-gcc/share/doc/afl\" -I /usr/local/include/ -pthread -Wall -g -Wno-cast-qual -Wno-variadic-macros -Wno-pointer-sign -I ./include/ -I ./instrumentation/ -DAFL_PATH=\"/usr/local/afl++-gcc/lib/afl\" -DBIN_PATH=\"/usr/local/afl++-gcc/bin\" -DLLVM_BINDIR=\"\" -DVERSION=\"++4.10c\" -DLLVM_LIBDIR=\"\" -DLLVM_VERSION=\"\" -DAFL_CLANG_FLTO=\"-flto=full\" -DAFL_REAL_LD=\"\" -DAFL_CLANG_LDPATH=\"\" -DAFL_CLANG_FUSELD=\"\" -DCLANG_BIN=\"clang\" -DCLANGPP_BIN=\"clang++\" -DUSE_BINDIR=0 -Wno-unused-function -fdebug-prefix-map="/wrkdirs/usr/ports/security/afl++/work-gcc/AFLplusplus-4.10c=llvm_mode" -Wno-deprecated src/afl-cc.c instrumentation/afl-common.o -o afl-cc -DLLVM_MINOR= -DLLVM_MAJOR= -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -L/usr/local/lib/gcc13 -L /usr/local/lib/ -lpthread -lm -DCFLAGS_OPT=\"\" -lm src/afl-cc.c:1168:52: warning: unused parameter 'argc' [-Wunused-parameter] void mode_final_checkout(aflcc_state_t *aflcc, int argc, char **argv) { ^ src/afl-cc.c:1168:65: warning: unused parameter 'argv' [-Wunused-parameter] void mode_final_checkout(aflcc_state_t *aflcc, int argc, char **argv) { ^ src/afl-cc.c:2038:43: warning: unused parameter 'aflcc' [-Wunused-parameter] void add_optimized_pcguard(aflcc_state_t *aflcc) { ^ 3 warnings generated. gmake[1]: Leaving directory '/wrkdirs/usr/ports/security/afl++/work-gcc/AFLplusplus-4.10c' gmake -f GNUmakefile.gcc_plugin gmake[1]: Entering directory '/wrkdirs/usr/ports/security/afl++/work-gcc/AFLplusplus-4.10c' [+] shmat seems to be working. [*] Checking for working 'gcc13'... [*] Checking for gcc plugin development header files... [*] Checking for './afl-showmap'... [+] All set and ready to build. g++13 -O2 -pipe -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -Wl,-rpath=/usr/local/lib/gcc13 -Wall -std=c++11 -fPIC -fno-rtti -fno-exceptions -I"/usr/local/lib/gcc13/gcc/x86_64-portbld-freebsd13.2/13.2.0/plugin"/include -I"/usr/local/lib/gcc13/gcc/x86_64-portbld-freebsd13.2/13.2.0/plugin" -shared instrumentation/afl-gcc-pass.so.cc -o afl-gcc-pass.so ln -sf afl-cc afl-gcc-fast ln -sf afl-cc afl-g++-fast ln -sf afl-cc.8 afl-gcc-fast.8 ln -sf afl-cc.8 afl-g++-fast.8 g++13 -O2 -pipe -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -Wl,-rpath=/usr/local/lib/gcc13 -Wall -std=c++11 -fPIC -fno-rtti -fno-exceptions -I"/usr/local/lib/gcc13/gcc/x86_64-portbld-freebsd13.2/13.2.0/plugin"/include -I"/usr/local/lib/gcc13/gcc/x86_64-portbld-freebsd13.2/13.2.0/plugin" -shared instrumentation/afl-gcc-cmplog-pass.so.cc -o afl-gcc-cmplog-pass.so g++13 -O2 -pipe -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -Wl,-rpath=/usr/local/lib/gcc13 -Wall -std=c++11 -fPIC -fno-rtti -fno-exceptions -I"/usr/local/lib/gcc13/gcc/x86_64-portbld-freebsd13.2/13.2.0/plugin"/include -I"/usr/local/lib/gcc13/gcc/x86_64-portbld-freebsd13.2/13.2.0/plugin" -shared instrumentation/afl-gcc-cmptrs-pass.so.cc -o afl-gcc-cmptrs-pass.so [*] Testing the CC wrapper and instrumentation output... unset AFL_USE_ASAN AFL_USE_MSAN; ASAN_OPTIONS=detect_leaks=0 AFL_QUIET=1 AFL_INST_RATIO=100 AFL_PATH=. AFL_CC=gcc13 ./afl-gcc-fast -O2 -pipe -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -fno-strict-aliasing -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/usr/local/afl++-gcc/lib/afl\" -DBIN_PATH=\"/usr/local/afl++-gcc/bin\" -DDOC_PATH=\"/usr/local/afl++-gcc/share/doc/afl\" -I /usr/local/include/ -pthread -Wall -Iinclude -Wno-pointer-sign -DAFL_PATH=\"/usr/local/afl++-gcc/lib/afl\" -DBIN_PATH=\"/usr/local/afl++-gcc/bin\" -DGCC_VERSION=\"\" -DGCC_BINDIR=\"\" -Wno-unused-function ./test-instr.c -o test-instr -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -L/usr/local/lib/gcc13 -L /usr/local/lib/ -lpthread -lm -lrt ASAN_OPTIONS=detect_leaks=0 ./afl-showmap -m none -q -o .test-instr0 ./test-instr ../../libAFLDriver.a gcc13 -O3 -funroll-loops -g -fPIC -O0 -funroll-loops -c aflpp_qemu_driver.c libAFLQemuDriver.a -> ../../libAFLQemuDriver.a Note: Optional aflpp_qemu_driver_hook.o not built. Note: Optional aflpp_qemu_driver_hook.so not built. gmake[1]: Leaving directory '/wrkdirs/usr/ports/security/afl++/work-gcc/AFLplusplus-4.10c/utils/aflpp_driver' Build Summary: [+] afl-fuzz and supporting tools successfully built [-] LLVM mode could not be built, please install at least llvm-11 and clang-11 or newer, see docs/INSTALL.md [-] LLVM mode could not be built, please install at least llvm-13 and clang-13 or newer, see docs/INSTALL.md [-] LLVM LTO mode could not be built, it is optional, if you want it, please install LLVM and LLD 11+. More information at instrumentation/README.lto.md on how to build it [+] gcc_mode successfully built gmake -j -f GNUmakefile.llvm gmake[1]: Entering directory '/wrkdirs/usr/ports/security/afl++/work-gcc/AFLplusplus-4.10c' GNUmakefile.llvm:62: [!] llvm_mode needs llvm-config, which was not found. Set LLVM_CONFIG to its path and retry. [+] llvm_mode detected llvm < 12, afl-lto LTO will not be build. GNUmakefile.llvm:127: we have trouble finding clang - llvm-config is not helping us GNUmakefile.llvm:142: we have trouble finding clang++ - llvm-config is not helping us gmake[1]: llvm-config: No such file or directory [+] shmat seems to be working. gmake[1]: Leaving directory '/wrkdirs/usr/ports/security/afl++/work-gcc/AFLplusplus-4.10c' gmake -f GNUmakefile.gcc_plugin gmake[1]: Entering directory '/wrkdirs/usr/ports/security/afl++/work-gcc/AFLplusplus-4.10c' [+] shmat seems to be working. [*] Checking for working 'gcc13'... [*] Checking for gcc plugin development header files... [*] Checking for './afl-showmap'... [+] All set and ready to build. [*] Testing the CC wrapper and instrumentation output... unset AFL_USE_ASAN AFL_USE_MSAN; ASAN_OPTIONS=detect_leaks=0 AFL_QUIET=1 AFL_INST_RATIO=100 AFL_PATH=. AFL_CC=gcc13 ./afl-gcc-fast -O2 -pipe -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -fno-strict-aliasing -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/usr/local/afl++-gcc/lib/afl\" -DBIN_PATH=\"/usr/local/afl++-gcc/bin\" -DDOC_PATH=\"/usr/local/afl++-gcc/share/doc/afl\" -I /usr/local/include/ -pthread -Wall -Iinclude -Wno-pointer-sign -DAFL_PATH=\"/usr/local/afl++-gcc/lib/afl\" -DBIN_PATH=\"/usr/local/afl++-gcc/bin\" -DGCC_VERSION=\"\" -DGCC_BINDIR=\"\" -Wno-unused-function ./test-instr.c -o test-instr -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -L/usr/local/lib/gcc13 -L /usr/local/lib/ -lpthread -lm -lrt ASAN_OPTIONS=detect_leaks=0 ./afl-showmap -m none -q -o .test-instr0 ./test-instr ../../libdislocator.so gmake[1]: Leaving directory '/wrkdirs/usr/ports/security/afl++/work-gcc/AFLplusplus-4.10c/utils/libdislocator' gmake -C utils/libtokencap gmake[1]: Entering directory '/wrkdirs/usr/ports/security/afl++/work-gcc/AFLplusplus-4.10c/utils/libtokencap' gcc13 -O2 -pipe -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -fno-strict-aliasing -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/usr/local/afl++-gcc/lib/afl\" -DBIN_PATH=\"/usr/local/afl++-gcc/bin\" -DDOC_PATH=\"/usr/local/afl++-gcc/share/doc/afl\" -I /usr/local/include/ -pthread -I ../../include/ -Wall -g -Wno-pointer-sign -shared -fPIC libtokencap.so.c -o libtokencap.so -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -L/usr/local/lib/gcc13 -L /usr/local/lib/ -lpthread -lm cp -f libtokencap.so ../../ gmake[1]: Leaving directory '/wrkdirs/usr/ports/security/afl++/work-gcc/AFLplusplus-4.10c/utils/libtokencap' gmake -C utils/afl_network_proxy gmake[1]: Entering directory '/wrkdirs/usr/ports/security/afl++/work-gcc/AFLplusplus-4.10c/utils/afl_network_proxy' gcc13 -O2 -pipe -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -fno-strict-aliasing -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/usr/local/afl++-gcc/lib/afl\" -DBIN_PATH=\"/usr/local/afl++-gcc/bin\" -DDOC_PATH=\"/usr/local/afl++-gcc/share/doc/afl\" -I /usr/local/include/ -pthread -Wno-pointer-sign -I../../include -o afl-network-client afl-network-client.c -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -L/usr/local/lib/gcc13 -L /usr/local/lib/ -lpthread -lm afl-network-client.c: In function 'main': afl-network-client.c:241:35: warning: comparison of unsigned expression in '< 0' is always false [-Wtype-limits] 241 | if ((max_len = atoi(argv[3])) < 0) | ^ afl-network-client.c:392:21: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare] 392 | while (received < __afl_map_size && | ^ afl-network-client.c:396:18: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare] 396 | if (received != __afl_map_size) | ^~ afl-network-client.c:319:14: warning: unused variable 'j' [-Wunused-variable] 319 | int i = 1, j, status, ret, received; | ^ afl-network-client.c:319:7: warning: unused variable 'i' [-Wunused-variable] 319 | int i = 1, j, status, ret, received; | ^ gcc13 -O2 -pipe -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -fno-strict-aliasing -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/usr/local/afl++-gcc/lib/afl\" -DBIN_PATH=\"/usr/local/afl++-gcc/bin\" -DDOC_PATH=\"/usr/local/afl++-gcc/share/doc/afl\" -I /usr/local/include/ -pthread -Wno-pointer-sign -I../../include -o afl-network-server afl-network-server.c ../../src/afl-forkserver.c ../../src/afl-sharedmem.c ../../src/afl-common.c -DAFL_PATH=\"/usr/local/afl++-gcc/lib/afl\" -DBIN_PATH=\"/usr/local/afl++-gcc/bin\" -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -L/usr/local/lib/gcc13 -L /usr/local/lib/ -lpthread -lm afl-network-server.c: In function 'run_target': afl-network-server.c:125:53: warning: unused parameter 'argv' [-Wunused-parameter] 125 | static u8 run_target(afl_forkserver_t *fsrv, char **argv, u8 *mem, u32 len, | ~~~~~~~^~~~ afl-network-server.c:126:25: warning: unused parameter 'first_run' [-Wunused-parameter] 126 | u8 first_run) { | ~~~^~~~~~~~~ afl-network-server.c: In function 'handle_stop_sig': afl-network-server.c:148:33: warning: unused parameter 'sig' [-Wunused-parameter] 148 | static void handle_stop_sig(int sig) { | ~~~~^~~ afl-network-server.c: In function 'main': afl-network-server.c:379:23: warning: unused variable 'str' [-Wunused-variable] 379 | char str[INET6_ADDRSTRLEN]; | ^~~ afl-network-server.c:378:23: warning: unused variable 'addrlen' [-Wunused-variable] 378 | int addrlen = sizeof(clientaddr); | ^~~~~~~ afl-network-server.c: At top level: afl-network-server.c:104:12: warning: 'write_to_file' defined but not used [-Wunused-function] 104 | static s32 write_to_file(u8 *path, u8 *mem, u32 len) { | ^~~~~~~~~~~~~ afl-network-server.c:74:12: warning: 'buf2_len' defined but not used [-Wunused-variable] 74 | static s32 buf2_len; | ^~~~~~~~ afl-network-server.c:71:12: warning: 'buf2' defined but not used [-Wunused-variable] 71 | static u8 *buf2; | ^~~~ afl-network-server.c:67:12: warning: 'in_file' defined but not used [-Wunused-variable] 67 | static u8 *in_file, /* Minimizer input test case */ | ^~~~~~~ gmake[1]: Leaving directory '/wrkdirs/usr/ports/security/afl++/work-gcc/AFLplusplus-4.10c/utils/afl_network_proxy' gmake -C utils/socket_fuzzing gmake[1]: Entering directory '/wrkdirs/usr/ports/security/afl++/work-gcc/AFLplusplus-4.10c/utils/socket_fuzzing' gmake[1]: Leaving directory '/wrkdirs/usr/ports/security/afl++/work-gcc/AFLplusplus-4.10c/utils/socket_fuzzing' gmake -C utils/argv_fuzzing gmake[1]: Entering directory '/wrkdirs/usr/ports/security/afl++/work-gcc/AFLplusplus-4.10c/utils/argv_fuzzing' ../../afl-cc -g -o argv_fuzz_persistent_demo argv_fuzz_persistent_demo.c ../../afl-cc -g -o argv_fuzz_demo argv_fuzz_demo.c gmake[1]: Leaving directory '/wrkdirs/usr/ports/security/afl++/work-gcc/AFLplusplus-4.10c/utils/argv_fuzzing' # -gmake -C utils/plot_ui gmake -C frida_mode gmake[1]: Entering directory '/wrkdirs/usr/ports/security/afl++/work-gcc/AFLplusplus-4.10c/frida_mode' GNUmakefile:165: *** "Operating system unsupported". Stop. gmake[1]: Leaving directory '/wrkdirs/usr/ports/security/afl++/work-gcc/AFLplusplus-4.10c/frida_mode' gmake: [GNUmakefile:652: distrib] Error 2 (ignored) cd qemu_mode && sh ./build_qemu_support.sh ================================================= QemuAFL build script ================================================= [*] Performing basic sanity checks... [-] Error: QEMU instrumentation is supported only on Linux. cd unicorn_mode && unset CFLAGS && sh ./build_unicorn_support.sh ================================================= UnicornAFL build script ================================================= [*] Performing basic sanity checks... [-] Error: 'automake' not found. Run 'sudo apt-get install automake' or similar. [-] Error: 'autoconf' not found. Run 'sudo apt-get install autoconf' or similar. [-] Error: 'git' not found. Run 'sudo apt-get install git' or similar. [-] Error: 'gtar' not found. Run 'sudo apt-get install gtar' or similar. Traceback (most recent call last): File "", line 1, in ModuleNotFoundError: No module named 'pip' [-] Error: Python pip or python wheel not found. Run 'sudo apt-get install python3-pip', or run '/wrkdirs/usr/ports/security/afl++/work-gcc/.bin/python3 -m ensurepip', or create a virtualenv, or ... - and 'pip3 install wheel' gmake: [GNUmakefile:654: distrib] Error 1 (ignored) =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> afl++-gcc-4.10.c depends on file: /usr/local/bin/python3.9 - found ===> afl++-gcc-4.10.c depends on executable: gcc13 - found =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for afl++-gcc-4.10.c ===> Generating temporary packing list [*] Compiling AFL++ for OS FreeBSD on ARCH amd64 [*] 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.18 support seems to be working. [+] Everything seems to be working, ready to compile. (gcc13 (FreeBSD Ports Collection) 13.2.0) gmake -j -f GNUmakefile.llvm gmake[1]: Entering directory '/wrkdirs/usr/ports/security/afl++/work-gcc/AFLplusplus-4.10c' GNUmakefile.llvm:62: [!] llvm_mode needs llvm-config, which was not found. Set LLVM_CONFIG to its path and retry. [+] llvm_mode detected llvm < 12, afl-lto LTO will not be build. GNUmakefile.llvm:127: we have trouble finding clang - llvm-config is not helping us GNUmakefile.llvm:142: we have trouble finding clang++ - llvm-config is not helping us gmake[1]: llvm-config: No such file or directory [+] shmat seems to be working. gmake[1]: Leaving directory '/wrkdirs/usr/ports/security/afl++/work-gcc/AFLplusplus-4.10c' gmake -f GNUmakefile.gcc_plugin gmake[1]: Entering directory '/wrkdirs/usr/ports/security/afl++/work-gcc/AFLplusplus-4.10c' [+] shmat seems to be working. [*] Checking for working 'gcc13'... [*] Checking for gcc plugin development header files... [*] Checking for './afl-showmap'... [+] All set and ready to build. [*] Testing the CC wrapper and instrumentation output... unset AFL_USE_ASAN AFL_USE_MSAN; ASAN_OPTIONS=detect_leaks=0 AFL_QUIET=1 AFL_INST_RATIO=100 AFL_PATH=. AFL_CC=gcc13 ./afl-gcc-fast -O2 -pipe -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -fno-strict-aliasing -g -Wno-pointer-sign -Wno-variadic-macros -Wall -Wextra -Wno-pointer-arith -fPIC -I include/ -DAFL_PATH=\"/usr/local/afl++-gcc/lib/afl\" -DBIN_PATH=\"/usr/local/afl++-gcc/bin\" -DDOC_PATH=\"/usr/local/afl++-gcc/share/doc/afl\" -I /usr/local/include/ -pthread -Wall -Iinclude -Wno-pointer-sign -DAFL_PATH=\"/usr/local/afl++-gcc/lib/afl\" -DBIN_PATH=\"/usr/local/afl++-gcc/bin\" -DGCC_VERSION=\"\" -DGCC_BINDIR=\"\" -Wno-unused-function ./test-instr.c -o test-instr -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc13 -L/usr/local/lib/gcc13 -L /usr/local/lib/ -lpthread -lm -lrt ASAN_OPTIONS=detect_leaks=0 ./afl-showmap -m none -q -o .test-instr0 ./test-instr Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2024-04-07T00:45:31+0000' 'PKG_NOTE_ports_top_git_hash=c2c35d895e' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=2d20c0bc75' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.99.20240122_1' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for afl++-gcc-4.10.c ===> Building afl++-gcc-4.10.c =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for afl++-gcc-4.10.c build of security/afl++@gcc | afl++-gcc-4.10.c ended at Sun Apr 7 01:46:43 BST 2024 build time: 00:01:13