Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Feb 2019 09:00:09 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - 120powerpc64-quarterly][devel/llvm40] Failed for llvm40-4.0.1_11 in build
Message-ID:  <201902260900.x1Q9094H015961@pylon.nyi.freebsd.org>

next in thread | raw e-mail | index | archive | help

You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     brooks@FreeBSD.org
Last committer: tcberner@FreeBSD.org
Ident:          $FreeBSD: branches/2019Q1/devel/llvm40/Makefile 488341 2018-12-25 20:25:39Z tcberner $
Log URL:        http://pylon.nyi.freebsd.org/data/120powerpc64-quarterly/493928/logs/llvm40-4.0.1_11.log
Build URL:      http://pylon.nyi.freebsd.org/build.html?mastername=120powerpc64-quarterly&build=493928
Log:

=>> Building devel/llvm40
build started at Tue Feb 26 02:28:33 UTC 2019
port directory: /usr/ports/devel/llvm40
package name: llvm40-4.0.1_11
building for: FreeBSD 120powerpc64-quarterly-job-15 12.0-RELEASE-p3 FreeBSD 12.0-RELEASE-p3 1200086 powerpc
maintained by: brooks@FreeBSD.org
Makefile ident:      $FreeBSD: branches/2019Q1/devel/llvm40/Makefile 488341 2018-12-25 20:25:39Z tcberner $
Poudriere version: 3.2.8-3-g02cc9753
Host OSVERSION: 1300012
Jail OSVERSION: 1200086
Job Id: 15

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1200086
UNAME_v=FreeBSD 12.0-RELEASE-p3 1200086
UNAME_r=12.0-RELEASE-p3
BLOCKSIZE=K
MAIL=/var/mail/root
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.2.8-3-g02cc9753
MASTERMNT=/usr/local/poudriere/data/.m/120powerpc64-quarterly/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/120powerpc64-quarterly/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=120powerpc64-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/120powerpc64-quarterly/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 llvm40-4.0.1_11:
     CLANG=on: Build clang
     DOCS=on: Build and/or install documentation
     EXTRAS=on: Extra clang tools
     LIT=on: Install lit and FileCheck test tools
     LLD=on: Install lld, the LLVM linker
     LLDB=on: Install lldb, the LLVM debugger
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
brooks@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
ac_cv_path_PERL=/usr/local/bin/perl ac_cv_path_PERL_PATH=/usr/local/bin/perl  PERL_USE_UNSAFE_INC=1 PYTHON="/usr/local/bin/python2.7" XDG_DATA_HOME=/wrkdirs/usr/ports/devel/llvm40/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/llvm40/work  HOME=/wrkdirs/usr/ports/devel/llvm40/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/llvm40/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CMAKE_PREFIX_PATH="/usr/local" LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8
--End CONFIGURE_ENV--

--MAKE_ENV--
PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/wrkdirs/usr/ports/devel/llvm40/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/llvm40/work  HOME=/wrkdirs/usr/ports/devel/llvm40/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/llvm40/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 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" DESTDIR=/wrkdirs/usr/ports/devel/llvm40/work/stage LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 PREFIX=/usr/local  LOCALBASE=/usr/local  CC="gcc8" CFLAGS="-O2 -pipe  -Wl,-rpath=/usr/local/lib/gcc8 -isystem /usr/local/include -fno-strict-aliasing " 
  CPP="cpp8" CPPFLAGS="-isystem /usr/local/include"  LDFLAGS=" -Wl,-rpath=/usr/local/lib/gcc8 -L/usr/local/lib/gcc8 " LIBS="libclangApplyReplacements  libclangChangeNamespace  libclangIncludeFixer  libclangMove  libclangQuery  libclangRename  libclangReorderFields  libclangTidy  libclangTidyGoogleModule  libclangTidyLLVMModule  libclangTidyMiscModule  libclangTidyReadabilityModule  libclangTidyUtils  libfindAllSymbols  libmodernizeCore -L/usr/local/lib"  CXX="g++8" CXXFLAGS="-O2 -pipe  -Wl,-rpath=/usr/local/lib/gcc8  -D_GLIBCXX_USE_C99 -Wl,-rpath=/usr/local/lib/gcc8 -isystem /usr/local/include "  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--
LLVM_LIB_VER=40  LLVM_MAJOR=4.0  LLVM_RELEASE=4.0.1  LLVM_SUFFIX=40 PORTDOCS="" CLANG="" NO_CLANG="@comment " DOCS="" NO_DOCS="@comment " EXTRAS="" NO_EXTRAS="@comment " LIT="" NO_LIT="@comment " LLD="" NO_LLD="@comment " LLDB="" NO_LLDB="@comment " COMPILER_RT="@comment " GOLD="@comment " OPENMP="@comment " CMAKE_BUILD_TYPE="release" PYTHON_INCLUDEDIR=include/python2.7  PYTHON_LIBDIR=lib/python2.7  PYTHON_PLATFORM=freebsd12  PYTHON_PYOEXTENSION=pyo  PYTHON_SITELIBDIR=lib/python2.7/site-packages  PYTHON_SUFFIX=27  PYTHON_VER=2.7  PYTHON_VERSION=python2.7 PYTHON2="" PYTHON3="@comment " GTK2_VERSION="2.10.0"  GTK3_VERSION="3.0.0" OSREL=12.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib PERL_VERSION=5.28.1  PERL_VER=5.28  PERL5_MAN1=lib/perl5/site_perl/man/man1  PERL5_MAN3=lib/perl5/site_perl/man/man3  SITE_PERL=lib/perl5/site_perl  SITE_ARCH=lib/perl5/site_perl/mach/5.28 DOCSDIR="share/doc/llvm40"  EXAMPLESDIR="share/examples/llvm"  DATADIR="share/llvm40"  WWWDIR=
 "www/llvm"  ETCDIR="etc/llvm"
--End PLIST_SUB--

--SUB_LIST--
LLVM_PREFIX="/usr/local/llvm40" LLVM_SUFFIX="40" CLANG="" NO_CLANG="@comment " DOCS="" NO_DOCS="@comment " EXTRAS="" NO_EXTRAS="@comment " LIT="" NO_LIT="@comment " LLD="" NO_LLD="@comment " LLDB="" NO_LLDB="@comment " PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/llvm40 DOCSDIR=/usr/local/share/doc/llvm40 EXAMPLESDIR=/usr/local/share/examples/llvm  WWWDIR=/usr/local/www/llvm ETCDIR=/usr/local/etc/llvm
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
#### /usr/local/etc/poudriere.d/make.conf ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=2

# stable/10 includes src.conf too late but make.conf is in sys.mk
.if ${.CURDIR:M/poudriere/jails/10*/usr/src/usr.bin/xlint*}
# Disable build of llib now that head no longer has lint(1)
LINT=	true
.endif
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=cc (GCC) 4.2.1 20070831 patched [FreeBSD] Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=Using built-in specs. Target: powerpc64-undermydesk-freebsd Configured with: FreeBSD/powerpc64 system compiler Thread model: posix gcc version 4.2.1 20070831 patched [FreeBSD] "/usr/bin/ld" "--eh-frame-hdr" "-Qy" "-melf64ppc_fbsd" "--enable-new-dtags" "-dynamic-linker" "/libexec/ld-elf.so.1" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "-L/usr/lib" "/dev/null" "-lstdc++" "-lm" "-lgcc_s" "-lgcc" "-lc" "-lgcc_s" "-lgcc" "/usr/lib/crtsavres.o" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=cc1: error: unrecognized command line option "-std=c11"
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=cc1: error: unrecognized command line option "-std=gnu11"
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=cc1plus: error: unrecognized command line option "-std=c++0x"
CC_OUTPUT_921dbbb2_f00456e5=cc1plus: error: unrecognized command line option "-std=c++11"
CC_OUTPUT_921dbbb2_65ad290d=cc1plus: error: unrecognized command line option "-std=c++14"
CC_OUTPUT_921dbbb2_f2776b26=cc1plus: error: unrecognized command line option "-std=c++17"
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=cc1plus: error: unrecognized command line option "-std=gnu++11"
CC_OUTPUT_921dbbb2_160933ec=cc1plus: error: unrecognized command line option "-std=gnu++14"
CC_OUTPUT_921dbbb2_fb62803b=cc1plus: error: unrecognized command line option "-std=gnu++17"
_OBJC_CCVERSION_921dbbb2=cc (GCC) 4.2.1 20070831 patched [FreeBSD] Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=powerpc64
OPSYS=FreeBSD
_OSRELEASE=12.0-RELEASE-p3
OSREL=12.0
OSVERSION=1200086
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=262144
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
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)  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 ARM BSD3CLAUSE LLVM MIT PD REGEX accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   llvm40-4.0.1_11 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.5_5.txz
[120powerpc64-quarterly-job-15] Installing pkg-1.10.5_5...
[120powerpc64-quarterly-job-15] Extracting pkg-1.10.5_5: .......... done
===>   llvm40-4.0.1_11 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of llvm40-4.0.1_11
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License ARM BSD3CLAUSE LLVM MIT PD REGEX accepted by the user
===> Fetching all distfiles required by llvm40-4.0.1_11 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License ARM BSD3CLAUSE LLVM MIT PD REGEX accepted by the user
===> Fetching all distfiles required by llvm40-4.0.1_11 for building
=> SHA256 Checksum OK for llvm-4.0.1.src.tar.xz.
=> SHA256 Checksum OK for cfe-4.0.1.src.tar.xz.
=> SHA256 Checksum OK for clang-tools-extra-4.0.1.src.tar.xz.
=> SHA256 Checksum OK for lld-4.0.1.src.tar.xz.
=> SHA256 Checksum OK for lldb-4.0.1.src.tar.xz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License ARM BSD3CLAUSE LLVM MIT PD REGEX accepted by the user
===> Fetching all distfiles required by llvm40-4.0.1_11 for building
===>  Extracting for llvm40-4.0.1_11
=> SHA256 Checksum OK for llvm-4.0.1.src.tar.xz.
=> SHA256 Checksum OK for cfe-4.0.1.src.tar.xz.
=> SHA256 Checksum OK for clang-tools-extra-4.0.1.src.tar.xz.
=> SHA256 Checksum OK for lld-4.0.1.src.tar.xz.
=> SHA256 Checksum OK for lldb-4.0.1.src.tar.xz.
/bin/mv /wrkdirs/usr/ports/devel/llvm40/work/cfe-4.0.1.src /wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/tools/clang
/bin/mv /wrkdirs/usr/ports/devel/llvm40/work/clang-tools-extra-4.0.1.src /wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/tools/clang/tools/extra
/bin/mv /wrkdirs/usr/ports/devel/llvm40/work/lld-4.0.1.src /wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/tools/lld
/bin/mv /wrkdirs/usr/ports/devel/llvm40/work/lldb-4.0.1.src /wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/tools/lldb
===========================================================================
=======================<phase: patch-depends  >============================
<snip>
/wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/CodeGen/DIE.h:390:29: warning: this statement may fall through [-Wimplicit-fallthrough=]
     destruct<const DIE##T *>();
     ~~~~~~~~~~~~~~~~~~~~~~~~^~
/wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/CodeGen/DIEValue.def:41:1: note: in expansion of macro 'HANDLE_DIEVALUE_LARGE'
 HANDLE_DIEVALUE_LARGE(Loc)
 ^~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/CodeGen/DIE.h:385:3: note: here
   case is##T:                                                                  \
   ^~~~
/wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/CodeGen/DIEValue.def:42:1: note: in expansion of macro 'HANDLE_DIEVALUE_SMALL'
 HANDLE_DIEVALUE_SMALL(LocList)
 ^~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/CodeGen/DIE.h:386:21: warning: this statement may fall through [-Wimplicit-fallthrough=]
     destruct<DIE##T>();
     ~~~~~~~~~~~~~~~~^~
/wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/CodeGen/DIEValue.def:42:1: note: in expansion of macro 'HANDLE_DIEVALUE_SMALL'
 HANDLE_DIEVALUE_SMALL(LocList)
 ^~~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/CodeGen/DIE.h:389:3: note: here
   case is##T:                                                                  \
   ^~~~
/wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/CodeGen/DIEValue.def:43:1: note: in expansion of macro 'HANDLE_DIEVALUE_LARGE'
 HANDLE_DIEVALUE_LARGE(InlineString)
 ^~~~~~~~~~~~~~~~~~~~~
[3116/4031] /usr/local/bin/g++8  -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools/dsymutil -I/wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/tools/dsymutil -Iinclude -I/wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include -I/usr/local/include -O2 -pipe  -Wl,-rpath=/usr/local/lib/gcc8  -D_GLIBCXX_USE_C99 -Wl,-rpath=/usr/local/lib/gcc8 -isystem /usr/local/include -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -Werror=date-time -std=c++11 -ffunction-sections -fdata-sections -O2 -pipe  -Wl,-rpath=/usr/local/lib/gcc8  -D_GLIBCXX_USE_C99 -Wl,-rpath=/usr/local/lib/gcc8 -isystem /usr/local/include    -fno-exceptions -MD -MT tools/dsymutil/CMakeFiles/llvm-dsymutil.dir/MachODebugMapParser.cpp.o -MF tools/dsymutil/CMakeFiles/llvm-dsymutil.dir/MachODebugMapParser.cpp.o.d -o tools/dsymutil/CMak
 eFiles/llvm-dsymutil.dir/MachODebugMapParser.cpp.o -c /wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/tools/dsymutil/MachODebugMapParser.cpp
In file included from /wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/ADT/Twine.h:13,
                 from /wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/ADT/Triple.h:13,
                 from /wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/tools/dsymutil/BinaryHolder.h:17,
                 from /wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/tools/dsymutil/MachODebugMapParser.cpp:10:
/wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<void*, long unsigned int>]':
/wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/Support/Allocator.h:241:33:   required from 'void* llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold>::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; size_t = long unsigned int]'
/wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/Support/YAMLParser.h:151:42:   required from here
/wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/ADT/SmallVector.h:309:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair<void*, long unsigned int>' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
     memcpy(this->end(), &Elt, sizeof(T));
     ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/lib/gcc8/include/c++/utility:70,
                 from /wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/ADT/iterator_range.h:22,
                 from /wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/ADT/SmallVector.h:17,
                 from /wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/ADT/Twine.h:13,
                 from /wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/ADT/Triple.h:13,
                 from /wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/tools/dsymutil/BinaryHolder.h:17,
                 from /wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/tools/dsymutil/MachODebugMapParser.cpp:10:
/usr/local/lib/gcc8/include/c++/bits/stl_pair.h:198:12: note: 'struct std::pair<void*, long unsigned int>' declared here
     struct pair
            ^~~~
[3117/4031] /usr/local/bin/g++8  -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools/dsymutil -I/wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/tools/dsymutil -Iinclude -I/wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include -I/usr/local/include -O2 -pipe  -Wl,-rpath=/usr/local/lib/gcc8  -D_GLIBCXX_USE_C99 -Wl,-rpath=/usr/local/lib/gcc8 -isystem /usr/local/include -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -Werror=date-time -std=c++11 -ffunction-sections -fdata-sections -O2 -pipe  -Wl,-rpath=/usr/local/lib/gcc8  -D_GLIBCXX_USE_C99 -Wl,-rpath=/usr/local/lib/gcc8 -isystem /usr/local/include    -fno-exceptions -MD -MT tools/dsymutil/CMakeFiles/llvm-dsymutil.dir/MachOUtils.cpp.o -MF tools/dsymutil/CMakeFiles/llvm-dsymutil.dir/MachOUtils.cpp.o.d -o tools/dsymutil/CMakeFiles/llvm-dsymut
 il.dir/MachOUtils.cpp.o -c /wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/tools/dsymutil/MachOUtils.cpp
In file included from /wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/ADT/Twine.h:13,
                 from /wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/ADT/Triple.h:13,
                 from /wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/tools/dsymutil/BinaryHolder.h:17,
                 from /wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/tools/dsymutil/MachOUtils.cpp:11:
/wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<std::pair<llvm::MCSection*, const llvm::MCExpr*>, std::pair<llvm::MCSection*, const llvm::MCExpr*> >]':
/wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/MC/MCStreamer.h:326:66:   required from here
/wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/ADT/SmallVector.h:309:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair<std::pair<llvm::MCSection*, const llvm::MCExpr*>, std::pair<llvm::MCSection*, const llvm::MCExpr*> >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
     memcpy(this->end(), &Elt, sizeof(T));
     ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/lib/gcc8/include/c++/bits/stl_algobase.h:64,
                 from /usr/local/lib/gcc8/include/c++/bits/char_traits.h:39,
                 from /usr/local/lib/gcc8/include/c++/string:40,
                 from /wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/tools/dsymutil/MachOUtils.h:12,
                 from /wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/tools/dsymutil/MachOUtils.cpp:10:
/usr/local/lib/gcc8/include/c++/bits/stl_pair.h:198:12: note: 'struct std::pair<std::pair<llvm::MCSection*, const llvm::MCExpr*>, std::pair<llvm::MCSection*, const llvm::MCExpr*> >' declared here
     struct pair
            ^~~~
In file included from /wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/ADT/Twine.h:13,
                 from /wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/ADT/Triple.h:13,
                 from /wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/tools/dsymutil/BinaryHolder.h:17,
                 from /wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/tools/dsymutil/MachOUtils.cpp:11:
/wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<void*, long unsigned int>]':
/wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/Support/Allocator.h:241:33:   required from 'void* llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold>::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; size_t = long unsigned int]'
/wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/Support/YAMLParser.h:151:42:   required from here
/wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/ADT/SmallVector.h:309:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair<void*, long unsigned int>' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
     memcpy(this->end(), &Elt, sizeof(T));
     ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/lib/gcc8/include/c++/bits/stl_algobase.h:64,
                 from /usr/local/lib/gcc8/include/c++/bits/char_traits.h:39,
                 from /usr/local/lib/gcc8/include/c++/string:40,
                 from /wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/tools/dsymutil/MachOUtils.h:12,
                 from /wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/tools/dsymutil/MachOUtils.cpp:10:
/usr/local/lib/gcc8/include/c++/bits/stl_pair.h:198:12: note: 'struct std::pair<void*, long unsigned int>' declared here
     struct pair
            ^~~~
In file included from /wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/ADT/Twine.h:13,
                 from /wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/ADT/Triple.h:13,
                 from /wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/tools/dsymutil/BinaryHolder.h:17,
                 from /wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/tools/dsymutil/MachOUtils.cpp:11:
/wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T2 = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]':
/wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/ADT/SmallVector.h:399:5:   required from 'void llvm::SmallVectorImpl<T>::append(in_iter, in_iter) [with in_iter = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>]'
/wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/ADT/SmallVector.h:858:5:   required from 'llvm::SmallVector<T, N>::SmallVector(ItTy, ItTy) [with ItTy = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; unsigned int N = 2]'
/wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/MC/MCFragment.h:546:42:   required from here
/wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/ADT/SmallVector.h:296:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
       memcpy(Dest, I, (E - I) * sizeof(T));
       ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/lib/gcc8/include/c++/bits/stl_algobase.h:64,
                 from /usr/local/lib/gcc8/include/c++/bits/char_traits.h:39,
                 from /usr/local/lib/gcc8/include/c++/string:40,
                 from /wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/tools/dsymutil/MachOUtils.h:12,
                 from /wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/tools/dsymutil/MachOUtils.cpp:10:
/usr/local/lib/gcc8/include/c++/bits/stl_pair.h:198:12: note: 'struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>' declared here
     struct pair
            ^~~~
[3118/4031] /usr/local/bin/g++8  -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools/llc -I/wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/tools/llc -Iinclude -I/wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include -I/usr/local/include -O2 -pipe  -Wl,-rpath=/usr/local/lib/gcc8  -D_GLIBCXX_USE_C99 -Wl,-rpath=/usr/local/lib/gcc8 -isystem /usr/local/include -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -Werror=date-time -std=c++11 -ffunction-sections -fdata-sections -O2 -pipe  -Wl,-rpath=/usr/local/lib/gcc8  -D_GLIBCXX_USE_C99 -Wl,-rpath=/usr/local/lib/gcc8 -isystem /usr/local/include    -fno-exceptions -MD -MT tools/llc/CMakeFiles/llc.dir/llc.cpp.o -MF tools/llc/CMakeFiles/llc.dir/llc.cpp.o.d -o tools/llc/CMakeFiles/llc.dir/llc.cpp.o -c /wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.s
 rc/tools/llc/llc.cpp
In file included from /wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/CodeGen/LinkAllCodegenComponents.h:20,
                 from /wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/tools/llc/llc.cpp:22:
/wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/CodeGen/SchedulerRegistry.h: In constructor 'llvm::RegisterScheduler::RegisterScheduler(const char*, const char*, llvm::RegisterScheduler::FunctionPassCtor)':
/wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/CodeGen/SchedulerRegistry.h:42:52: warning: cast between incompatible function types from 'llvm::RegisterScheduler::FunctionPassCtor' {aka 'llvm::ScheduleDAGSDNodes* (*)(llvm::SelectionDAGISel*, llvm::CodeGenOpt::Level)'} to 'llvm::MachinePassCtor' {aka 'void* (*)()'} [-Wcast-function-type]
   : MachinePassRegistryNode(N, D, (MachinePassCtor)C)
                                                    ^
In file included from /wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/ADT/Twine.h:13,
                 from /wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/ADT/Triple.h:13,
                 from /wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/tools/llc/llc.cpp:18:
/wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<void*, long unsigned int>]':
/wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/Support/Allocator.h:241:33:   required from 'void* llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold>::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; size_t = long unsigned int]'
/wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/MC/MCContext.h:548:44:   required from here
/wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/ADT/SmallVector.h:309:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair<void*, long unsigned int>' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
     memcpy(this->end(), &Elt, sizeof(T));
     ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/lib/gcc8/include/c++/utility:70,
                 from /usr/local/lib/gcc8/include/c++/algorithm:60,
                 from /wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/ADT/STLExtras.h:20,
                 from /wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/tools/llc/llc.cpp:17:
/usr/local/lib/gcc8/include/c++/bits/stl_pair.h:198:12: note: 'struct std::pair<void*, long unsigned int>' declared here
     struct pair
            ^~~~
In file included from /wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/ADT/Twine.h:13,
                 from /wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/ADT/Triple.h:13,
                 from /wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/tools/llc/llc.cpp:18:
/wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T2 = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]':
/wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/ADT/SmallVector.h:399:5:   required from 'void llvm::SmallVectorImpl<T>::append(in_iter, in_iter) [with in_iter = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>]'
/wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/ADT/SmallVector.h:858:5:   required from 'llvm::SmallVector<T, N>::SmallVector(ItTy, ItTy) [with ItTy = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; unsigned int N = 2]'
/wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/MC/MCFragment.h:546:42:   required from here
/wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/ADT/SmallVector.h:296:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
       memcpy(Dest, I, (E - I) * sizeof(T));
       ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/lib/gcc8/include/c++/utility:70,
                 from /usr/local/lib/gcc8/include/c++/algorithm:60,
                 from /wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/ADT/STLExtras.h:20,
                 from /wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/tools/llc/llc.cpp:17:
/usr/local/lib/gcc8/include/c++/bits/stl_pair.h:198:12: note: 'struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>' declared here
     struct pair
            ^~~~
[3119/4031] /usr/local/bin/g++8  -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools/lli -I/wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/tools/lli -Iinclude -I/wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include -I/usr/local/include -O2 -pipe  -Wl,-rpath=/usr/local/lib/gcc8  -D_GLIBCXX_USE_C99 -Wl,-rpath=/usr/local/lib/gcc8 -isystem /usr/local/include -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -Werror=date-time -std=c++11 -ffunction-sections -fdata-sections -O2 -pipe  -Wl,-rpath=/usr/local/lib/gcc8  -D_GLIBCXX_USE_C99 -Wl,-rpath=/usr/local/lib/gcc8 -isystem /usr/local/include    -fno-exceptions -MD -MT tools/lli/CMakeFiles/lli.dir/lli.cpp.o -MF tools/lli/CMakeFiles/lli.dir/lli.cpp.o.d -o tools/lli/CMakeFiles/lli.dir/lli.cpp.o -c /wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.s
 rc/tools/lli/lli.cpp
FAILED: tools/lli/CMakeFiles/lli.dir/lli.cpp.o 
/usr/local/bin/g++8  -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools/lli -I/wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/tools/lli -Iinclude -I/wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include -I/usr/local/include -O2 -pipe  -Wl,-rpath=/usr/local/lib/gcc8  -D_GLIBCXX_USE_C99 -Wl,-rpath=/usr/local/lib/gcc8 -isystem /usr/local/include -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -Werror=date-time -std=c++11 -ffunction-sections -fdata-sections -O2 -pipe  -Wl,-rpath=/usr/local/lib/gcc8  -D_GLIBCXX_USE_C99 -Wl,-rpath=/usr/local/lib/gcc8 -isystem /usr/local/include    -fno-exceptions -MD -MT tools/lli/CMakeFiles/lli.dir/lli.cpp.o -MF tools/lli/CMakeFiles/lli.dir/lli.cpp.o.d -o tools/lli/CMakeFiles/lli.dir/lli.cpp.o -c /wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/tools/lli
 /lli.cpp
In file included from /wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/CodeGen/LinkAllCodegenComponents.h:20,
                 from /wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/tools/lli/lli.cpp:22:
/wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/CodeGen/SchedulerRegistry.h: In constructor 'llvm::RegisterScheduler::RegisterScheduler(const char*, const char*, llvm::RegisterScheduler::FunctionPassCtor)':
/wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/CodeGen/SchedulerRegistry.h:42:52: warning: cast between incompatible function types from 'llvm::RegisterScheduler::FunctionPassCtor' {aka 'llvm::ScheduleDAGSDNodes* (*)(llvm::SelectionDAGISel*, llvm::CodeGenOpt::Level)'} to 'llvm::MachinePassCtor' {aka 'void* (*)()'} [-Wcast-function-type]
   : MachinePassRegistryNode(N, D, (MachinePassCtor)C)
                                                    ^
In file included from /wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/tools/lli/lli.cpp:30:
/wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h: In member function 'llvm::Expected<std::vector<char> > llvm::orc::remote::OrcRemoteTargetClient<ChannelT>::readMem(char*, llvm::JITTargetAddress, uint64_t)':
/wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h:696:26: error: could not convert '((llvm::orc::remote::OrcRemoteTargetClient<ChannelT>*)this)->callB<llvm::orc::remote::OrcRemoteTargetRPCAPI::ReadMem>(Src, Size)' from 'Expected<vector<unsigned char,allocator<unsigned char>>>' to 'Expected<vector<char,allocator<char>>>'
     return callB<ReadMem>(Src, Size);
            ~~~~~~~~~~~~~~^~~~~~~~~~~
In file included from /wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/ADT/Twine.h:13,
                 from /wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/ADT/Triple.h:13,
                 from /wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/tools/lli/OrcLazyJIT.h:18,
                 from /wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/tools/lli/lli.cpp:16:
/wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/ADT/SmallVector.h: In instantiation of 'void llvm::SmallVectorTemplateBase<T, true>::push_back(const T&) [with T = std::pair<void*, long unsigned int>]':
/wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/Support/Allocator.h:241:33:   required from 'void* llvm::BumpPtrAllocatorImpl<AllocatorT, SlabSize, SizeThreshold>::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; size_t = long unsigned int]'
/wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/MC/MCContext.h:548:44:   required from here
/wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/ADT/SmallVector.h:309:11: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair<void*, long unsigned int>' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
     memcpy(this->end(), &Elt, sizeof(T));
     ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/lib/gcc8/include/c++/utility:70,
                 from /wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/ADT/iterator_range.h:22,
                 from /wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/ADT/SmallVector.h:17,
                 from /wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/ADT/Twine.h:13,
                 from /wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/ADT/Triple.h:13,
                 from /wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/tools/lli/OrcLazyJIT.h:18,
                 from /wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/tools/lli/lli.cpp:16:
/usr/local/lib/gcc8/include/c++/bits/stl_pair.h:198:12: note: 'struct std::pair<void*, long unsigned int>' declared here
     struct pair
            ^~~~
In file included from /wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/ADT/Twine.h:13,
                 from /wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/ADT/Triple.h:13,
                 from /wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/tools/lli/OrcLazyJIT.h:18,
                 from /wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/tools/lli/lli.cpp:16:
/wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/ADT/SmallVector.h: In instantiation of 'static void llvm::SmallVectorTemplateBase<T, true>::uninitialized_copy(T1*, T1*, T2*, typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type*) [with T1 = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T2 = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; typename std::enable_if<std::is_same<typename std::remove_const<T1>::type, T2>::value>::type = void]':
/wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/ADT/SmallVector.h:399:5:   required from 'void llvm::SmallVectorImpl<T>::append(in_iter, in_iter) [with in_iter = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>]'
/wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/ADT/SmallVector.h:858:5:   required from 'llvm::SmallVector<T, N>::SmallVector(ItTy, ItTy) [with ItTy = const std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>*; T = std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>; unsigned int N = 2]'
/wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/MC/MCFragment.h:546:42:   required from here
/wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/ADT/SmallVector.h:296:13: warning: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess]
       memcpy(Dest, I, (E - I) * sizeof(T));
       ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/lib/gcc8/include/c++/utility:70,
                 from /wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/ADT/iterator_range.h:22,
                 from /wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/ADT/SmallVector.h:17,
                 from /wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/ADT/Twine.h:13,
                 from /wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/include/llvm/ADT/Triple.h:13,
                 from /wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/tools/lli/OrcLazyJIT.h:18,
                 from /wrkdirs/usr/ports/devel/llvm40/work/llvm-4.0.1.src/tools/lli/lli.cpp:16:
/usr/local/lib/gcc8/include/c++/bits/stl_pair.h:198:12: note: 'struct std::pair<const llvm::MCSymbol*, const llvm::MCSymbol*>' declared here
     struct pair
            ^~~~
ninja: build stopped: subcommand failed.
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/llvm40



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201902260900.x1Q9094H015961>