Page MenuHomeFreeBSD
Paste P287

security/afl++ with llvm90 on 11.2 amd64
ArchivedPublic

Authored by jbeich on Aug 7 2019, 8:45 AM.
Tags
None
Referenced Files
F4998313: raw.txt
Aug 8 2019, 4:17 PM
F4989884: raw.txt
Aug 7 2019, 8:45 AM
Subscribers
=>> Building security/afl++
build started at Thu Aug 8 07:54:43 AKDT 2019
port directory: /usr/ports/security/afl++
package name: afl++-2.53d.a1_1
building for: FreeBSD 112amd64-default-job-01 11.2-RELEASE-p6 FreeBSD 11.2-RELEASE-p6 amd64
maintained by: tobik@FreeBSD.org
Makefile ident:
Poudriere version: 3.3.99.20190803
Host OSVERSION: 1300039
Jail OSVERSION: 1102000
Job Id: 01
---Begin Environment---
SHELL=/bin/csh
OSVERSION=1102000
UNAME_v=FreeBSD 11.2-RELEASE-p6
UNAME_r=11.2-RELEASE-p6
BLOCKSIZE=K
MAIL=/var/mail/root
WARNING_WAIT=0
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.3.99.20190803
MASTERMNT=/poudriere/data/.m/112amd64-default/ref
DEV_WARNING_WAIT=0
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=tmux-256color
GID=0
UID=0
PWD=/poudriere/data/.m/112amd64-default/ref/.p/pool
NO_WARNING_PKG_INSTALL_EOL=yes
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=112amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/poudriere/data/.m/112amd64-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---
---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---
---Begin OPTIONS List---
===> The following configuration options are available for afl++-2.53d.a1_1:
DEBUG=off: Build with debugging support
DOCS=on: Build and/or install documentation
LLVM=on: LLVM-based instrumentation
===> Use 'make config' to modify these settings
---End OPTIONS List---
--MAINTAINER--
tobik@FreeBSD.org
--End MAINTAINER--
--CONFIGURE_ARGS--
--End CONFIGURE_ARGS--
--CONFIGURE_ENV--
MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/security/afl++/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/afl++/work HOME=/wrkdirs/usr/ports/security/afl++/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/afl++/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--
--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/security/afl++/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/afl++/work HOME=/wrkdirs/usr/ports/security/afl++/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/afl++/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="clang90" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="clang++90" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " MANPREFIX="/usr/local" 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="" DEBUG="@comment " NO_DEBUG="" DOCS="" NO_DOCS="@comment " LLVM="" NO_LLVM="@comment " X86="" OSREL=11.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/afl" EXAMPLESDIR="share/examples/afl" DATADIR="share/afl" WWWDIR="www/afl" ETCDIR="etc/afl"
--End PLIST_SUB--
--SUB_LIST--
DEBUG="@comment " NO_DEBUG="" DOCS="" NO_DOCS="@comment " LLVM="" NO_LLVM="@comment " PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/afl DOCSDIR=/usr/local/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
#### /usr/local/etc/poudriere.d/make.conf ####
DEV_WARNING_WAIT=0
#NO_IGNORE=
# Minimize TeX dependency
devel_doxygen_UNSET += DOCS LATEX
# Bootstrapping isn't necessary for modern compilers and prevents taking
# advantage of native-xtools. GCC < 6 aren't C++11-compatible while
# Clang >= 6 and GCC >= 6 default to C++14.
lang_gcc6_UNSET += BOOTSTRAP
lang_gcc7_UNSET += BOOTSTRAP
lang_gcc8_UNSET += BOOTSTRAP
lang_gcc9_UNSET += BOOTSTRAP
# Workaround GCC/qemu crashes
.if ${MACHINE:Marm*}
math_ceres-solver_UNSET += OPENMP
graphics_colmap_UNSET += OPENMP
.endif
#### /usr/local/etc/poudriere.d/112amd64-make.conf ####
OPTIONS_SET += LIBEVENT
irc_bitlbee_UNSET += GLIB
lang_io_SET += Socket
# Prepare for random updates
OPTIONS_SET += X265 VAAPI PYGAME
# Prepare for ICU updates
OPTIONS_SET += ICU UNICODE
databases_sqlite3_UNSET += ICU
dns_libpsl_UNSET += IDN2
mail_sendmail_SET += SMTPUTF8
sysutils_gdisk_SET += UTF16
# Prepare for Boost updates
OPTIONS_SET += BOOST
audio_pms_SET += REGEX
databases_mariadb100-server_SET += OQGRAPH
databases_mariadb101-server_SET += OQGRAPH
databases_mariadb102-server_SET += OQGRAPH
databases_mariadb103-server_SET += OQGRAPH
databases_mariadb104-server_SET += OQGRAPH
devel_blitz_SET += SERIALIZATION
graphics_vigra_SET += NUMPY
misc_visp_SET += OGRE
science_tfel_SET += PYTHON
textproc_kiss-templates_SET += TEST
www_nghttp2_SET += ASIO
# Prepare for FFmpeg updates
OPTIONS_SET += FFMPEG
audio_libsoxr_SET += AVFFT
graphics_pqiv_SET += LIBAV
multimedia_tvheadend_SET += TRANSCODING
net_freeswitch_SET += ALL_MODULES
www_nginx_SET += HTTP_VIDEO_THUMBEXTRACTOR
www_nginx-devel_SET += HTTP_VIDEO_THUMBEXTRACTOR
#multimedia_gstreamer1-libav_UNSET += FFMPEG
# https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235240
OPTIONS_SET += INOTIFY LIBINOTIFY FSMONITOR
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: x86_64-unknown-freebsd11.2 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: x86_64-unknown-freebsd11.2 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: x86_64-unknown-freebsd11.2 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=amd64
OPSYS=FreeBSD
_OSRELEASE=11.2-RELEASE-p6
OSREL=11.2
OSVERSION=1102000
PYTHONBASE=/usr/local
HAVE_COMPAT_IA32_KERN=YES
_SMP_CPUS=8
CONFIGURE_MAX_CMD_LEN=262144
HAVE_PORTS_ENV=1
#### Misc 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) 63536
open files (-n) 1024
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--
=======================<phase: check-sanity >============================
===> License APACHE20 accepted by the user
===========================================================================
=======================<phase: pkg-depends >============================
===> afl++-2.53d.a1_1 depends on file: /usr/local/sbin/pkg - not found
===> Installing existing package /packages/All/pkg-1.11.1.txz
[112amd64-default-job-01] Installing pkg-1.11.1...
[112amd64-default-job-01] Extracting pkg-1.11.1: .......... done
===> afl++-2.53d.a1_1 depends on file: /usr/local/sbin/pkg - found
===> Returning to build of afl++-2.53d.a1_1
===========================================================================
=======================<phase: fetch-depends >============================
===========================================================================
=======================<phase: fetch >============================
===> License APACHE20 accepted by the user
===> afl++-2.53d.a1_1 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by afl++-2.53d.a1_1 for building
===========================================================================
=======================<phase: checksum >============================
===> License APACHE20 accepted by the user
===> afl++-2.53d.a1_1 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by afl++-2.53d.a1_1 for building
=> SHA256 Checksum OK for vanhauser-thc-AFLplusplus-2.53d.a1-8b6a4e575978fac83155efd90d39030c84b2a755_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract >============================
===> License APACHE20 accepted by the user
===> afl++-2.53d.a1_1 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by afl++-2.53d.a1_1 for building
===> Extracting for afl++-2.53d.a1_1
=> SHA256 Checksum OK for vanhauser-thc-AFLplusplus-2.53d.a1-8b6a4e575978fac83155efd90d39030c84b2a755_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends >============================
===========================================================================
=======================<phase: patch >============================
===> Patching for afl++-2.53d.a1_1
===========================================================================
=======================<phase: build-depends >============================
===> afl++-2.53d.a1_1 depends on executable: clang90 - not found
===> Installing existing package /packages/All/llvm90-9.0.0.r1_1.txz
[112amd64-default-job-01] Installing llvm90-9.0.0.r1_1...
[112amd64-default-job-01] `-- Installing libedit-3.1.20190324,1...
[112amd64-default-job-01] `-- Extracting libedit-3.1.20190324,1: .......... done
[112amd64-default-job-01] `-- Installing libxml2-2.9.9...
[112amd64-default-job-01] `-- Extracting libxml2-2.9.9: .......... done
[112amd64-default-job-01] `-- Installing perl5-5.28.2...
[112amd64-default-job-01] `-- Extracting perl5-5.28.2: .......... done
[112amd64-default-job-01] `-- Installing python36-3.6.9...
[112amd64-default-job-01] | `-- Installing gettext-runtime-0.20.1...
[112amd64-default-job-01] | | `-- Installing indexinfo-0.3.1...
[112amd64-default-job-01] | | `-- Extracting indexinfo-0.3.1: .... done
[112amd64-default-job-01] | `-- Extracting gettext-runtime-0.20.1: .......... done
[112amd64-default-job-01] | `-- Installing libffi-3.2.1_3...
[112amd64-default-job-01] | `-- Extracting libffi-3.2.1_3: .......... done
[112amd64-default-job-01] | `-- Installing readline-8.0.0...
[112amd64-default-job-01] | `-- Extracting readline-8.0.0: .......... done
[112amd64-default-job-01] `-- Extracting python36-3.6.9: .......... done
[112amd64-default-job-01] Extracting llvm90-9.0.0.r1_1: .......... done
Message from perl5-5.28.2:
The /usr/bin/perl symlink has been removed starting with Perl 5.20.
For shebangs, you should either use:
#!/usr/local/bin/perl
or
#!/usr/bin/env perl
The first one will only work if you have a /usr/local/bin/perl,
the second will work as long as perl is in PATH.
Message from python36-3.6.9:
===========================================================================
Note that some standard Python modules are provided as separate ports
as they require additional dependencies. They are available as:
py36-gdbm databases/py-gdbm@py36
py36-sqlite3 databases/py-sqlite3@py36
py36-tkinter x11-toolkits/py-tkinter@py36
===========================================================================
===> afl++-2.53d.a1_1 depends on executable: clang90 - found
===> Returning to build of afl++-2.53d.a1_1
===> afl++-2.53d.a1_1 depends on executable: gmake - not found
===> Installing existing package /packages/All/gmake-4.2.1_3.txz
[112amd64-default-job-01] Installing gmake-4.2.1_3...
[112amd64-default-job-01] Extracting gmake-4.2.1_3: .......... done
===> afl++-2.53d.a1_1 depends on executable: gmake - found
===> Returning to build of afl++-2.53d.a1_1
===========================================================================
=======================<phase: lib-depends >============================
===========================================================================
=>> Recording filesystem state for prebuild... done
=======================<phase: configure >============================
===> afl++-2.53d.a1_1 depends on executable: clang90 - found
===> afl++-2.53d.a1_1 depends on executable: gmake - found
===> Configuring for afl++-2.53d.a1_1
===========================================================================
=======================<phase: build >============================
===> Building for afl++-2.53d.a1_1
gmake[1]: Entering directory '/wrkdirs/usr/ports/security/afl++/work/AFLplusplus-8b6a4e575978fac83155efd90d39030c84b2a755'
[*] Checking for the ability to compile x86 code...
[+] shmat seems to be working.
[-] You seem to need to install the package python2.7-dev, but it is optional so we continue
[+] Everything seems to be working, ready to compile.
clang90 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/local/lib/afl\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -DBIN_PATH=\"/usr/local/bin\" afl-gcc.c -o afl-gcc -fstack-protector-strong
set -e; for i in afl-g++ afl-clang afl-clang++; do ln -sf afl-gcc $i; done
clang90 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/local/lib/afl\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -DBIN_PATH=\"/usr/local/bin\" -c afl-common.c
clang90 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/local/lib/afl\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -DBIN_PATH=\"/usr/local/bin\" -c sharedmem.c
clang90 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/local/lib/afl\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -DBIN_PATH=\"/usr/local/bin\" afl-fuzz.c afl-common.o sharedmem.o -o afl-fuzz -fstack-protector-strong
clang90 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/local/lib/afl\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -DBIN_PATH=\"/usr/local/bin\" afl-showmap.c afl-common.o sharedmem.o -o afl-showmap -fstack-protector-strong
clang90 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/local/lib/afl\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -DBIN_PATH=\"/usr/local/bin\" afl-tmin.c afl-common.o sharedmem.o -o afl-tmin -fstack-protector-strong
clang90 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/local/lib/afl\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -DBIN_PATH=\"/usr/local/bin\" afl-gotcpu.c -o afl-gotcpu -fstack-protector-strong
clang90 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/local/lib/afl\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -DBIN_PATH=\"/usr/local/bin\" afl-analyze.c afl-common.o sharedmem.o -o afl-analyze -fstack-protector-strong
clang90 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/local/lib/afl\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -DBIN_PATH=\"/usr/local/bin\" afl-as.c -o afl-as -fstack-protector-strong
ln -sf afl-as as
[+] LLVM users: see llvm_mode/README.llvm for a faster alternative to afl-gcc.
[+] All done! Be sure to review the README.md - it's pretty short and useful.
gmake -C libdislocator
gmake[2]: Entering directory '/wrkdirs/usr/ports/security/afl++/work/AFLplusplus-8b6a4e575978fac83155efd90d39030c84b2a755/libdislocator'
clang90 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/local/lib/afl\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -DBIN_PATH=\"/usr/local/bin\" -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -shared -fPIC libdislocator.so.c -o libdislocator.so -fstack-protector-strong
gmake[2]: Leaving directory '/wrkdirs/usr/ports/security/afl++/work/AFLplusplus-8b6a4e575978fac83155efd90d39030c84b2a755/libdislocator'
gmake -C llvm_mode
gmake[2]: Entering directory '/wrkdirs/usr/ports/security/afl++/work/AFLplusplus-8b6a4e575978fac83155efd90d39030c84b2a755/llvm_mode'
[+] shmat seems to be working.
[*] Checking for working 'llvm-config'...
[*] Checking for working 'clang90'...
[*] Checking for matching versions of 'clang90' and 'llvm-config90'
[*] We have llvm-config version 9.0.0 with a clang version 9.0.0, good.
[*] Checking for '../afl-showmap'...
[+] All set and ready to build.
clang90 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/local/lib/afl\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -DBIN_PATH=\"/usr/local/bin\" -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/local/lib/afl\" -DBIN_PATH=\"/usr/local/bin\" -DVERSION=\"++2.53d\" afl-clang-fast.c -o ../afl-clang-fast -fstack-protector-strong
ln -sf afl-clang-fast ../afl-clang-fast++
clang++90 `llvm-config90 --cxxflags` -Wl,-znodelete -fno-rtti -fpic -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DVERSION=\"++2.53d\" -Wno-variadic-macros -DLLVMInsTrim_EXPORTS -fno-rtti -fPIC -std=gnu++11 -shared afl-llvm-pass.so.cc -o ../afl-llvm-pass.so `llvm-config90 --ldflags` -fstack-protector-strong
clang++90 `llvm-config90 --cxxflags` -Wl,-znodelete -fno-rtti -fpic -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DVERSION=\"++2.53d\" -Wno-variadic-macros -DLLVMInsTrim_EXPORTS -fno-rtti -fPIC -std=gnu++11 -shared LLVMInsTrim.so.cc MarkNodes.cc -o ../libLLVMInsTrim.so `llvm-config90 --ldflags` -fstack-protector-strong
clang90 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/local/lib/afl\" -DDOC_PATH=\"/usr/local/share/doc/afl\" -DBIN_PATH=\"/usr/local/bin\" -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DAFL_PATH=\"/usr/local/lib/afl\" -DBIN_PATH=\"/usr/local/bin\" -DVERSION=\"++2.53d\" -fPIC -c afl-llvm-rt.o.c -o ../afl-llvm-rt.o
[*] Building 32-bit variant of the runtime (-m32)... success!
[*] Building 64-bit variant of the runtime (-m64)... success!
clang++90 `llvm-config90 --cxxflags` -Wl,-znodelete -fno-rtti -fpic -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DVERSION=\"++2.53d\" -Wno-variadic-macros -shared compare-transform-pass.so.cc -o ../compare-transform-pass.so `llvm-config90 --ldflags` -fstack-protector-strong
clang++90 `llvm-config90 --cxxflags` -Wl,-znodelete -fno-rtti -fpic -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DVERSION=\"++2.53d\" -Wno-variadic-macros -shared split-compares-pass.so.cc -o ../split-compares-pass.so `llvm-config90 --ldflags` -fstack-protector-strong
clang++90 `llvm-config90 --cxxflags` -Wl,-znodelete -fno-rtti -fpic -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -DVERSION=\"++2.53d\" -Wno-variadic-macros -shared split-switches-pass.so.cc -o ../split-switches-pass.so `llvm-config90 --ldflags` -fstack-protector-strong
[+] All done! You can now use '../afl-clang-fast' to compile programs.
gmake[2]: Leaving directory '/wrkdirs/usr/ports/security/afl++/work/AFLplusplus-8b6a4e575978fac83155efd90d39030c84b2a755/llvm_mode'
gmake[1]: Leaving directory '/wrkdirs/usr/ports/security/afl++/work/AFLplusplus-8b6a4e575978fac83155efd90d39030c84b2a755'
===========================================================================
=>> Checking for filesystem violations... done
=======================<phase: run-depends >============================
===> afl++-2.53d.a1_1 depends on executable: clang90 - found
===========================================================================
=>> Recording filesystem state for prestage... done
=======================<phase: stage >============================
===> Staging for afl++-2.53d.a1_1
===> afl++-2.53d.a1_1 depends on executable: clang90 - found
===> Generating temporary packing list
gmake[1]: Entering directory '/wrkdirs/usr/ports/security/afl++/work/AFLplusplus-8b6a4e575978fac83155efd90d39030c84b2a755'
[*] Checking for the ability to compile x86 code...
[+] shmat seems to be working.
[-] You seem to need to install the package python2.7-dev, but it is optional so we continue
[+] Everything seems to be working, ready to compile.
[+] LLVM users: see llvm_mode/README.llvm for a faster alternative to afl-gcc.
[+] All done! Be sure to review the README.md - it's pretty short and useful.
mkdir -p -m 755 ${DESTDIR}/usr/local/bin ${DESTDIR}/usr/local/lib/afl ${DESTDIR}/usr/local/share/doc/afl ${DESTDIR}/usr/local/share/afl
rm -f ${DESTDIR}/usr/local/bin/afl-plot.sh
install -m 755 afl-gcc afl-fuzz afl-showmap afl-tmin afl-gotcpu afl-analyze afl-plot afl-cmin afl-whatsup afl-system-config ${DESTDIR}/usr/local/bin
rm -f ${DESTDIR}/usr/local/bin/afl-as
if [ -f afl-qemu-trace ]; then install -m 755 afl-qemu-trace ${DESTDIR}/usr/local/bin; fi
#if [ -f afl-gcc-fast ]; then set e; install -m 755 afl-gcc-fast ${DESTDIR}/usr/local/bin; ln -sf afl-gcc-fast ${DESTDIR}/usr/local/bin/afl-g++-fast; install -m 755 afl-gcc-pass.so afl-gcc-rt.o ${DESTDIR}/usr/local/lib/afl; fi
if [ -f afl-clang-fast -a -f libLLVMInsTrim.so -a -f afl-llvm-rt.o ]; then set -e; install -m 755 afl-clang-fast ${DESTDIR}/usr/local/bin; ln -sf afl-clang-fast ${DESTDIR}/usr/local/bin/afl-clang-fast++; install -m 755 libLLVMInsTrim.so afl-llvm-pass.so afl-llvm-rt.o ${DESTDIR}/usr/local/lib/afl; fi
if [ -f afl-llvm-rt-32.o ]; then set -e; install -m 755 afl-llvm-rt-32.o ${DESTDIR}/usr/local/lib/afl; fi
if [ -f afl-llvm-rt-64.o ]; then set -e; install -m 755 afl-llvm-rt-64.o ${DESTDIR}/usr/local/lib/afl; fi
if [ -f compare-transform-pass.so ]; then set -e; install -m 755 compare-transform-pass.so ${DESTDIR}/usr/local/lib/afl; fi
if [ -f split-compares-pass.so ]; then set -e; install -m 755 split-compares-pass.so ${DESTDIR}/usr/local/lib/afl; fi
if [ -f split-switches-pass.so ]; then set -e; install -m 755 split-switches-pass.so ${DESTDIR}/usr/local/lib/afl; fi
set -e; ln -sf afl-gcc ${DESTDIR}/usr/local/bin/afl-g++
set -e; if [ -f afl-clang-fast ] ; then ln -sf afl-clang-fast ${DESTDIR}/usr/local/bin/afl-clang ; ln -sf afl-clang-fast ${DESTDIR}/usr/local/bin/afl-clang++ ; else ln -sf afl-gcc ${DESTDIR}/usr/local/bin/afl-clang ; ln -sf afl-gcc ${DESTDIR}/usr/local/bin/afl-clang++; fi
install -m 755 afl-as ${DESTDIR}/usr/local/lib/afl
ln -sf afl-as ${DESTDIR}/usr/local/lib/afl/as
install -m 644 docs/README.md docs/ChangeLog docs/*.txt ${DESTDIR}/usr/local/share/doc/afl
cp -r testcases/ ${DESTDIR}/usr/local/share/afl
cp -r dictionaries/ ${DESTDIR}/usr/local/share/afl
gmake[1]: Leaving directory '/wrkdirs/usr/ports/security/afl++/work/AFLplusplus-8b6a4e575978fac83155efd90d39030c84b2a755'
install -m 555 /wrkdirs/usr/ports/security/afl++/work/AFLplusplus-8b6a4e575978fac83155efd90d39030c84b2a755/afl-cmin /wrkdirs/usr/ports/security/afl++/work/stage/usr/local/bin
install -m 555 /wrkdirs/usr/ports/security/afl++/work/AFLplusplus-8b6a4e575978fac83155efd90d39030c84b2a755/afl-plot /wrkdirs/usr/ports/security/afl++/work/stage/usr/local/bin
install -m 555 /wrkdirs/usr/ports/security/afl++/work/AFLplusplus-8b6a4e575978fac83155efd90d39030c84b2a755/afl-whatsup /wrkdirs/usr/ports/security/afl++/work/stage/usr/local/bin
install -s -m 0644 /wrkdirs/usr/ports/security/afl++/work/AFLplusplus-8b6a4e575978fac83155efd90d39030c84b2a755/libdislocator/libdislocator.so /wrkdirs/usr/ports/security/afl++/work/stage/usr/local/lib/afl
install -m 0644 /wrkdirs/usr/ports/security/afl++/work/AFLplusplus-8b6a4e575978fac83155efd90d39030c84b2a755/libdislocator/README.dislocator /wrkdirs/usr/ports/security/afl++/work/stage/usr/local/share/doc/afl
install -m 444 /wrkdirs/usr/ports/security/afl++/work/AFLplusplus-8b6a4e575978fac83155efd90d39030c84b2a755/llvm_mode/README.laf-intel /wrkdirs/usr/ports/security/afl++/work/AFLplusplus-8b6a4e575978fac83155efd90d39030c84b2a755/llvm_mode/README.llvm /wrkdirs/usr/ports/security/afl++/work/stage/usr/local/share/doc/afl
====> Compressing man pages (compress-man)
===========================================================================
====> Running Q/A tests (stage-qa)
====> Checking for pkg-plist issues (check-plist)
===> Parsing plist
===> Checking for items in STAGEDIR missing from pkg-plist
===> Checking for items in pkg-plist which are not in STAGEDIR
===> No pkg-plist issues found (check-plist)
=>> Checking for staging violations... done
=======================<phase: package >============================
===> Building package for afl++-2.53d.a1_1
===========================================================================
=>> Recording filesystem state for preinst... done
=======================<phase: install >============================
===> Installing for afl++-2.53d.a1_1
===> Checking if afl++ is already installed
===> Registering installation for afl++-2.53d.a1_1
[112amd64-default-job-01] Installing afl++-2.53d.a1_1...
===========================================================================
=>> Checking shared library dependencies
0x0000000000000001 NEEDED Shared library: [libc++.so.1]
0x0000000000000001 NEEDED Shared library: [libc.so.7]
0x0000000000000001 NEEDED Shared library: [libcxxrt.so.1]
0x0000000000000001 NEEDED Shared library: [libm.so.5]
=======================<phase: deinstall >============================
===> Deinstalling for afl++
===> Deinstalling afl++-2.53d.a1_1
Updating database digests format: .......... done
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 1 packages (of 0 packages in the universe):
Installed packages to be REMOVED:
afl++-2.53d.a1_1
Number of packages to be removed: 1
[112amd64-default-job-01] [1/1] Deinstalling afl++-2.53d.a1_1...
[112amd64-default-job-01] [1/1] Deleting files for afl++-2.53d.a1_1: .......... done
===========================================================================
=>> Checking for extra files and directories
=>> Cleaning up wrkdir
===> Cleaning for afl++-2.53d.a1_1
build of security/afl++ | afl++-2.53d.a1_1 ended at Thu Aug 8 07:55:25 AKDT 2019
build time: 00:00:42

Event Timeline

jbeich changed the title of this paste from untitled to security/afl++ with llvm90 on 11.2 amd64.