Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Aug 2021 03:16:28 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - 122powerpc64-quarterly][emulators/riscv-isa-sim] Failed for riscv-isa-sim-g_20201102 in build
Message-ID:  <202108290316.17T3GSAf054373@foul1.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:     lwhsu@FreeBSD.org
Log URL:        http://foul1.nyi.freebsd.org/data/122powerpc64-quarterly/af6ec56fe64e/logs/riscv-isa-sim-g_20201102.log
Build URL:      http://foul1.nyi.freebsd.org/build.html?mastername=122powerpc64-quarterly&build=af6ec56fe64e
Log:

=>> Building emulators/riscv-isa-sim
build started at Sun Aug 29 03:15:26 UTC 2021
port directory: /usr/ports/emulators/riscv-isa-sim
package name: riscv-isa-sim-g_20201102
building for: FreeBSD 122powerpc64-quarterly-job-03 12.2-RELEASE FreeBSD 12.2-RELEASE powerpc
maintained by: lwhsu@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-21-g883afb07
Host OSVERSION: 1400008
Jail OSVERSION: 1202000
Job Id: 03

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1202000
UNAME_v=FreeBSD 12.2-RELEASE
UNAME_r=12.2-RELEASE
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-21-g883afb07
MASTERMNT=/usr/local/poudriere/data/.m/122powerpc64-quarterly/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/122powerpc64-quarterly/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=122powerpc64-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/122powerpc64-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---
---End OPTIONS List---

--MAINTAINER--
lwhsu@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/emulators/riscv-isa-sim/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/emulators/riscv-isa-sim/work  HOME=/wrkdirs/usr/ports/emulators/riscv-isa-sim/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/emulators/riscv-isa-sim/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/emulators/riscv-isa-sim/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/emulators/riscv-isa-sim/work  HOME=/wrkdirs/usr/ports/emulators/riscv-isa-sim/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/emulators/riscv-isa-sim/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" PREFIX=/usr/local  LOCALBASE=/usr/local  CC="gcc10" CFLAGS="-O2 -pipe  -DRISCV_ENABLE_DIRTY=1 -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10 -fno-strict-aliasing "  CPP="cpp10" CPPFLAGS=""  LDFLAGS=" -fstack
 -protector-strong -Wl,-rpath=/usr/local/lib/gcc10 -L/usr/local/lib/gcc10 " LIBS=""  CXX="g++10" CXXFLAGS="-O2 -pipe  -DRISCV_ENABLE_DIRTY=1 -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -Wl,-rpath=/usr/local/lib/gcc10 "  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--
OSREL=12.2 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/riscv-isa-sim"  EXAMPLESDIR="share/examples/riscv-isa-sim"  DATADIR="share/riscv-isa-sim"  WWWDIR="www/riscv-isa-sim"  ETCDIR="etc/riscv-isa-sim"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/riscv-isa-sim DOCSDIR=/usr/local/share/doc/riscv-isa-sim EXAMPLESDIR=/usr/local/share/examples/riscv-isa-sim  WWWDIR=/usr/local/www/riscv-isa-sim ETCDIR=/usr/local/etc/riscv-isa-sim
--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
#### /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
PPC_ABI=ELFv1
OPSYS=FreeBSD
_OSRELEASE=12.2-RELEASE
OSREL=12.2
OSVERSION=1202000
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
---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 BSD3CLAUSE accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   riscv-isa-sim-g_20201102 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.16.3.txz
[122powerpc64-quarterly-job-03] Installing pkg-1.16.3...
[122powerpc64-quarterly-job-03] Extracting pkg-1.16.3: .......... done
===>   riscv-isa-sim-g_20201102 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of riscv-isa-sim-g_20201102
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License BSD3CLAUSE accepted by the user
===> Fetching all distfiles required by riscv-isa-sim-g_20201102 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License BSD3CLAUSE accepted by the user
===> Fetching all distfiles required by riscv-isa-sim-g_20201102 for building
=> SHA256 Checksum OK for riscv-riscv-isa-sim-git-641d7d0_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License BSD3CLAUSE accepted by the user
===> Fetching all distfiles required by riscv-isa-sim-g_20201102 for building
===>  Extracting for riscv-isa-sim-g_20201102
=> SHA256 Checksum OK for riscv-riscv-isa-sim-git-641d7d0_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for riscv-isa-sim-g_20201102
/usr/bin/sed -i.bak -e  's|[(]install_libs_dir[)]/pkgconfig|(INSTALLDIR)/libdata/pkgconfig|g'  /wrkdirs/usr/ports/emulators/riscv-isa-sim/work/riscv-isa-sim-641d7d0/Makefile.in
===========================================================================
=======================<phase: build-depends  >============================
===>   riscv-isa-sim-g_20201102 depends on package: gmake>=4.3 - not found
===>   Installing existing package /packages/All/gmake-4.3_2.txz
[122powerpc64-quarterly-job-03] Installing gmake-4.3_2...
[122powerpc64-quarterly-job-03] `-- Installing gettext-runtime-0.21...
[122powerpc64-quarterly-job-03] |   `-- Installing indexinfo-0.3.1...
[122powerpc64-quarterly-job-03] |   `-- Extracting indexinfo-0.3.1: .... done
[122powerpc64-quarterly-job-03] `-- Extracting gettext-runtime-0.21: .......... done
[122powerpc64-quarterly-job-03] Extracting gmake-4.3_2: .......... done
===>   riscv-isa-sim-g_20201102 depends on package: gmake>=4.3 - found
===>   Returning to build of riscv-isa-sim-g_20201102
===>   riscv-isa-sim-g_20201102 depends on executable: gcc10 - not found
===>   Installing existing package /packages/All/gcc10-10.3.0.txz
[122powerpc64-quarterly-job-03] Installing gcc10-10.3.0...
[122powerpc64-quarterly-job-03] `-- Installing binutils-2.33.1_5,1...
[122powerpc64-quarterly-job-03] `-- Extracting binutils-2.33.1_5,1: .......... done
[122powerpc64-quarterly-job-03] `-- Installing gcc9-9.4.0...
[122powerpc64-quarterly-job-03] |   `-- Installing gmp-6.2.1...
[122powerpc64-quarterly-job-03] |   `-- Extracting gmp-6.2.1: .......... done
[122powerpc64-quarterly-job-03] |   `-- Installing mpc-1.2.0...
[122powerpc64-quarterly-job-03] |   | `-- Installing mpfr-4.1.0...
[122powerpc64-quarterly-job-03] |   | `-- Extracting mpfr-4.1.0: .......... done
[122powerpc64-quarterly-job-03] |   `-- Extracting mpc-1.2.0: ......... done
[122powerpc64-quarterly-job-03] `-- Extracting gcc9-9.4.0: .......... done
[122powerpc64-quarterly-job-03] Extracting gcc10-10.3.0: .......... done
=====
Message from gcc9-9.4.0:

--
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/gcc9

For ports leveraging USE_GCC, USES=compiler, or USES=fortran this happens
transparently.
=====
Message from gcc10-10.3.0:

--
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/gcc10

For ports leveraging USE_GCC, USES=compiler, or USES=fortran this happens
transparently.
===>   riscv-isa-sim-g_20201102 depends on executable: gcc10 - found
===>   Returning to build of riscv-isa-sim-g_20201102
===>   riscv-isa-sim-g_20201102 depends on file: /usr/local/bin/as - found
===========================================================================
=======================<phase: lib-depends    >============================
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for riscv-isa-sim-g_20201102
checking build system type... powerpc-unknown-freebsd12.2
checking host system type... powerpc-unknown-freebsd12.2
checking for gcc... gcc10
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc10 accepts -g... yes
checking for gcc10 option to accept ISO C89... none needed
checking whether we are using the GNU C++ compiler... yes
checking whether g++10 accepts -g... yes
checking for ar... ar
checking for ranlib... ranlib
checking for dtc... /usr/bin/dtc
checking how to run the C++ preprocessor... g++10 -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for ANSI C header files... (cached) yes
checking for __int128_t... yes
checking whether the linker accepts -Wl,--export-dynamic... yes
configure: configuring default subproject : fesvr
checking for pthread_create in -lpthread... yes
configure: configuring default subproject : riscv
checking for library containing dlopen... none required
./configure: ,: not found
checking for pthread_create in -lpthread... (cached) yes
configure: configuring default subproject : disasm
configure: configuring default subproject : customext
configure: configuring default subproject : fdt
configure: configuring default subproject : softfloat
configure: configuring default subproject : spike_main
configure: configuring default subproject : spike_dasm
configure: creating ./config.status
config.status: creating fesvr.mk
config.status: creating riscv.mk
config.status: creating disasm.mk
config.status: creating customext.mk
config.status: creating fdt.mk
config.status: creating softfloat.mk
config.status: creating spike_main.mk
config.status: creating spike_dasm.mk
config.status: creating Makefile
config.status: creating riscv-fesvr.pc
config.status: creating riscv-disasm.pc
config.status: creating config.h
===========================================================================
=======================<phase: build          >============================
===>  Building for riscv-isa-sim-g_20201102
gmake[1]: Entering directory '/wrkdirs/usr/ports/emulators/riscv-isa-sim/work/riscv-isa-sim-641d7d0'
gmake[1]: ./scripts/vcs-version.sh: No such file or directory
Makefile:348: warning: overriding recipe for target 'disasm.o'
Makefile:348: warning: ignoring old recipe for target 'disasm.o'
g++10 -MMD -MP  -DPREFIX=\"/usr/local\" -Wall -Wno-unused -g -O2 -std=c++11 -O2 -pipe  -DRISCV_ENABLE_DIRTY=1 -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -Wl,-rpath=/usr/local/lib/gcc10   -O2 -pipe  -DRISCV_ENABLE_DIRTY=1 -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -Wl,-rpath=/usr/local/lib/gcc10  -I. -I. -I./fesvr -I./riscv -I./disasm -I./customext -I./fdt -I./softfloat -I./spike_main -I./spike_dasm -fPIC -c ./fesvr/elfloader.cc
g++10 -MMD -MP  -DPREFIX=\"/usr/local\" -Wall -Wno-unused -g -O2 -std=c++11 -O2 -pipe  -DRISCV_ENABLE_DIRTY=1 -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -Wl,-rpath=/usr/local/lib/gcc10   -O2 -pipe  -DRISCV_ENABLE_DIRTY=1 -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -Wl,-rpath=/usr/local/lib/gcc10  -I. -I. -I./fesvr -I./riscv -I./disasm -I./customext -I./fdt -I./softfloat -I./spike_main -I./spike_dasm -fPIC -c ./fesvr/htif.cc
g++10 -MMD -MP  -DPREFIX=\"/usr/local\" -Wall -Wno-unused -g -O2 -std=c++11 -O2 -pipe  -DRISCV_ENABLE_DIRTY=1 -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -Wl,-rpath=/usr/local/lib/gcc10   -O2 -pipe  -DRISCV_ENABLE_DIRTY=1 -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -Wl,-rpath=/usr/local/lib/gcc10  -I. -I. -I./fesvr -I./riscv -I./disasm -I./customext -I./fdt -I./softfloat -I./spike_main -I./spike_dasm -fPIC -c ./fesvr/memif.cc
g++10 -MMD -MP  -DPREFIX=\"/usr/local\" -Wall -Wno-unused -g -O2 -std=c++11 -O2 -pipe  -DRISCV_ENABLE_DIRTY=1 -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -Wl,-rpath=/usr/local/lib/gcc10   -O2 -pipe  -DRISCV_ENABLE_DIRTY=1 -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -Wl,-rpath=/usr/local/lib/gcc10  -I. -I. -I./fesvr -I./riscv -I./disasm -I./customext -I./fdt -I./softfloat -I./spike_main -I./spike_dasm -fPIC -c ./fesvr/dtm.cc
g++10 -MMD -MP  -DPREFIX=\"/usr/local\" -Wall -Wno-unused -g -O2 -std=c++11 -O2 -pipe  -DRISCV_ENABLE_DIRTY=1 -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -Wl,-rpath=/usr/local/lib/gcc10   -O2 -pipe  -DRISCV_ENABLE_DIRTY=1 -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -Wl,-rpath=/usr/local/lib/gcc10  -I. -I. -I./fesvr -I./riscv -I./disasm -I./customext -I./fdt -I./softfloat -I./spike_main -I./spike_dasm -fPIC -c ./fesvr/syscall.cc
g++10 -MMD -MP  -DPREFIX=\"/usr/local\" -Wall -Wno-unused -g -O2 -std=c++11 -O2 -pipe  -DRISCV_ENABLE_DIRTY=1 -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -Wl,-rpath=/usr/local/lib/gcc10   -O2 -pipe  -DRISCV_ENABLE_DIRTY=1 -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -Wl,-rpath=/usr/local/lib/gcc10  -I. -I. -I./fesvr -I./riscv -I./disasm -I./customext -I./fdt -I./softfloat -I./spike_main -I./spike_dasm -fPIC -c ./fesvr/device.cc
g++10 -MMD -MP  -DPREFIX=\"/usr/local\" -Wall -Wno-unused -g -O2 -std=c++11 -O2 -pipe  -DRISCV_ENABLE_DIRTY=1 -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -Wl,-rpath=/usr/local/lib/gcc10   -O2 -pipe  -DRISCV_ENABLE_DIRTY=1 -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -Wl,-rpath=/usr/local/lib/gcc10  -I. -I. -I./fesvr -I./riscv -I./disasm -I./customext -I./fdt -I./softfloat -I./spike_main -I./spike_dasm -fPIC -c ./fesvr/rfb.cc
g++10 -MMD -MP  -DPREFIX=\"/usr/local\" -Wall -Wno-unused -g -O2 -std=c++11 -O2 -pipe  -DRISCV_ENABLE_DIRTY=1 -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -Wl,-rpath=/usr/local/lib/gcc10   -O2 -pipe  -DRISCV_ENABLE_DIRTY=1 -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -Wl,-rpath=/usr/local/lib/gcc10  -I. -I. -I./fesvr -I./riscv -I./disasm -I./customext -I./fdt -I./softfloat -I./spike_main -I./spike_dasm -fPIC -c ./fesvr/context.cc
g++10 -MMD -MP  -DPREFIX=\"/usr/local\" -Wall -Wno-unused -g -O2 -std=c++11 -O2 -pipe  -DRISCV_ENABLE_DIRTY=1 -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -Wl,-rpath=/usr/local/lib/gcc10   -O2 -pipe  -DRISCV_ENABLE_DIRTY=1 -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -Wl,-rpath=/usr/local/lib/gcc10  -I. -I. -I./fesvr -I./riscv -I./disasm -I./customext -I./fdt -I./softfloat -I./spike_main -I./spike_dasm -fPIC -c ./fesvr/htif_pthread.cc
g++10 -MMD -MP  -DPREFIX=\"/usr/local\" -Wall -Wno-unused -g -O2 -std=c++11 -O2 -pipe  -DRISCV_ENABLE_DIRTY=1 -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -Wl,-rpath=/usr/local/lib/gcc10   -O2 -pipe  -DRISCV_ENABLE_DIRTY=1 -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -Wl,-rpath=/usr/local/lib/gcc10  -I. -I. -I./fesvr -I./riscv -I./disasm -I./customext -I./fdt -I./softfloat -I./spike_main -I./spike_dasm -fPIC -c ./fesvr/htif_hexwriter.cc
g++10 -MMD -MP  -DPREFIX=\"/usr/local\" -Wall -Wno-unused -g -O2 -std=c++11 -O2 -pipe  -DRISCV_ENABLE_DIRTY=1 -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -Wl,-rpath=/usr/local/lib/gcc10   -O2 -pipe  -DRISCV_ENABLE_DIRTY=1 -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -Wl,-rpath=/usr/local/lib/gcc10  -I. -I. -I./fesvr -I./riscv -I./disasm -I./customext -I./fdt -I./softfloat -I./spike_main -I./spike_dasm -fPIC -c ./fesvr/dummy.cc
g++10 -MMD -MP  -DPREFIX=\"/usr/local\" -Wall -Wno-unused -g -O2 -std=c++11 -O2 -pipe  -DRISCV_ENABLE_DIRTY=1 -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -Wl,-rpath=/usr/local/lib/gcc10   -O2 -pipe  -DRISCV_ENABLE_DIRTY=1 -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -Wl,-rpath=/usr/local/lib/gcc10  -I. -I. -I./fesvr -I./riscv -I./disasm -I./customext -I./fdt -I./softfloat -I./spike_main -I./spike_dasm -fPIC -c ./fesvr/option_parser.cc
g++10 -MMD -MP  -DPREFIX=\"/usr/local\" -Wall -Wno-unused -g -O2 -std=c++11 -O2 -pipe  -DRISCV_ENABLE_DIRTY=1 -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -Wl,-rpath=/usr/local/lib/gcc10   -O2 -pipe  -DRISCV_ENABLE_DIRTY=1 -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -Wl,-rpath=/usr/local/lib/gcc10  -I. -I. -I./fesvr -I./riscv -I./disasm -I./customext -I./fdt -I./softfloat -I./spike_main -I./spike_dasm -fPIC -c ./fesvr/term.cc
g++10 -MMD -MP  -DPREFIX=\"/usr/local\" -Wall -Wno-unused -g -O2 -std=c++11 -O2 -pipe  -DRISCV_ENABLE_DIRTY=1 -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -Wl,-rpath=/usr/local/lib/gcc10   -O2 -pipe  -DRISCV_ENABLE_DIRTY=1 -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -Wl,-rpath=/usr/local/lib/gcc10  -I. -I. -I./fesvr -I./riscv -I./disasm -I./customext -I./fdt -I./softfloat -I./spike_main -I./spike_dasm -fPIC -c ./fesvr/tsi.cc
./riscv/gen_icache `grep "ICACHE_ENTRIES =" ./riscv/mmu.h | sed 's/.* = \(.*\);/\1/'` > icache.h.tmp
mv icache.h.tmp icache.h
for insn in amoadd_d amoadd_w amoand_d amoand_w amomax_d amomaxu_d amomaxu_w amomax_w amomin_d amominu_d amominu_w amomin_w amoor_d amoor_w amoswap_d amoswap_w amoxor_d amoxor_w lr_d lr_w sc_d sc_w c_add c_addi c_addi4spn c_addw c_and c_andi c_beqz c_bnez c_ebreak c_fld c_fldsp c_flw c_flwsp c_fsd c_fsdsp c_fsw c_fswsp c_j c_jal c_jalr c_jr c_li c_lui c_lw c_lwsp c_mv c_or c_slli c_srai c_srli c_sub c_subw c_sw c_swsp c_xor add addi addiw addw and andi auipc beq bge bgeu blt bltu bne jal jalr lb lbu ld lh lhu lui lw lwu or ori sb sd sh sll slli slliw sllw slt slti sltiu sltu sra srai sraiw sraw srl srli srliw srlw sub subw sw xor xori fence fence_i div divu divuw divw mul mulh mulhsu mulhu mulw rem remu remuw remw fadd_s fclass_s fcvt_l_s fcvt_lu_s fcvt_s_l fcvt_s_lu fcvt_s_w fcvt_s_wu fcvt_w_s fcvt_wu_s fdiv_s feq_s fle_s flt_s flw fmadd_s fmax_s fmin_s fmsub_s fmul_s fmv_w_x fmv_x_w fnmadd_s fnmsub_s fsgnj_s fsgnjn_s fsgnjx_s fsqrt_s fsub_s fsw fadd_d fclass_d fcvt_d_l fcvt_d_lu fc
 vt_d_q fcvt_d_s fcvt_d_w fcvt_d_wu fcvt_l_d fcvt_lu_d fcvt_s_d fcvt_w_d fcvt_wu_d fdiv_d feq_d fld fle_d flt_d fmadd_d fmax_d fmin_d fmsub_d fmul_d fmv_d_x fmv_x_d fnmadd_d fnmsub_d fsd fsgnj_d fsgnjn_d fsgnjx_d fsqrt_d fsub_d fadd_h fclass_h fcvt_l_h fcvt_lu_h fcvt_d_h fcvt_h_d fcvt_h_l fcvt_h_lu fcvt_h_q fcvt_h_s fcvt_h_w fcvt_h_wu fcvt_q_h fcvt_s_h fcvt_w_h fcvt_wu_h fdiv_h feq_h fle_h flh flt_h fmadd_h fmax_h fmin_h fmsub_h fmul_h fmv_h_x fmv_x_h fnmadd_h fnmsub_h fsgnj_h fsgnjn_h fsgnjx_h fsh fsqrt_h fsub_h fadd_q fclass_q fcvt_l_q fcvt_lu_q fcvt_q_d fcvt_q_l fcvt_q_lu fcvt_q_s fcvt_q_w fcvt_q_wu fcvt_s_q fcvt_w_q fcvt_wu_q fdiv_q feq_q fle_q flq flt_q fmadd_q fmax_q fmin_q fmsub_q fmul_q fnmadd_q fnmsub_q fsgnj_q fsgnjn_q fsgnjx_q fsq fsqrt_q fsub_q addiwu addu_w addwu andn bdep bdepw bext bextw bfp bfpw bmatflip bmator bmatxor sh1add sh1addu_w sh2add sh2addu_w sh3add sh3addu_w clmul clmulh clmulhw clmulr clmulrw clmulw clz clzw cmix cmov crc32_b crc32c_b crc32c_d crc32c_h crc
 32c_w crc32_d crc32_h crc32_w ctz ctzw fsl f!
 slw fsr fsri fsriw fsrw gorc gorci gorciw gorcw grev grevi greviw grevw max maxu min minu orn pack packh packu packuw packw pcnt pcntw rol rolw ror rori roriw rorw sbclr sbclri sbclriw sbclrw sbext sbexti sbextw sbinv sbinvi sbinviw sbinvw sbset sbseti sbsetiw sbsetw sext_b sext_h shfl shfli shflw slliu_w slo sloi sloiw slow sro sroi sroiw srow subwu unshfl unshfli unshflw xnor vfadd_vf vfadd_vv vfclass_v vfcvt_f_x_v vfcvt_f_xu_v vfcvt_rtz_x_f_v vfcvt_rtz_xu_f_v vfcvt_x_f_v vfcvt_xu_f_v vfdiv_vf vfdiv_vv vfdot_vv vfmacc_vf vfmacc_vv vfmadd_vf vfmadd_vv vfmax_vf vfmax_vv vfmerge_vfm vfmin_vf vfmin_vv vfmsac_vf vfmsac_vv vfmsub_vf vfmsub_vv vfmul_vf vfmul_vv vfmv_f_s vfmv_s_f vfmv_v_f vfncvt_f_f_w vfncvt_f_x_w vfncvt_f_xu_w vfncvt_rod_f_f_w vfncvt_rtz_x_f_w vfncvt_rtz_xu_f_w vfncvt_x_f_w vfncvt_xu_f_w vfnmacc_vf vfnmacc_vv vfnmadd_vf vfnmadd_vv vfnmsac_vf vfnmsac_vv vfnmsub_vf vfnmsub_vv vfrdiv_vf vfredmax_vs vfredmin_vs vfredosum_vs vfredsum_vs vfrece7_v vfrsub_vf vfrsqrte7_v vfsgnj_
 vf vfsgnj_vv vfsgnjn_vf vfsgnjn_vv vfsgnjx_vf vfsgnjx_vv vfsqrt_v vfslide1down_vf vfslide1up_vf vfsub_vf vfsub_vv vfwadd_vf vfwadd_vv vfwadd_wf vfwadd_wv vfwcvt_f_f_v vfwcvt_f_x_v vfwcvt_f_xu_v vfwcvt_rtz_x_f_v vfwcvt_rtz_xu_f_v vfwcvt_x_f_v vfwcvt_xu_f_v vfwmacc_vf vfwmacc_vv vfwmsac_vf vfwmsac_vv vfwmul_vf vfwmul_vv vfwnmacc_vf vfwnmacc_vv vfwnmsac_vf vfwnmsac_vv vfwredosum_vs vfwredsum_vs vfwsub_vf vfwsub_vv vfwsub_wf vfwsub_wv vmfeq_vf vmfeq_vv vmfge_vf vmfgt_vf vmfle_vf vmfle_vv vmflt_vf vmflt_vv vmfne_vf vmfne_vv vaadd_vv vaaddu_vv vaadd_vx vaaddu_vx vadc_vim vadc_vvm vadc_vxm vadd_vi vadd_vv vadd_vx vand_vi vand_vv vand_vx vasub_vv vasubu_vv vasub_vx vasubu_vx vcompress_vm vdiv_vv vdiv_vx vdivu_vv vdivu_vx vdot_vv vdotu_vv vid_v viota_m vmacc_vv vmacc_vx vmadc_vim vmadc_vvm vmadc_vxm vmadd_vv vmadd_vx vmand_mm vmandnot_mm vmax_vv vmax_vx vmaxu_vv vmaxu_vx vmerge_vim vmerge_vvm vmerge_vxm vfirst_m vmin_vv vmin_vx vminu_vv vminu_vx vmnand_mm vmnor_mm vmor_mm vmornot_mm vpopc_m 
 vmsbc_vvm vmsbc_vxm vmsbf_m vmseq_vi vmseq_v!
 v vmseq_v!
 x vmsgt_vi vmsgt_vx vmsgtu_vi vmsgtu_vx vmsif_m vmsle_vi vmsle_vv vmsle_vx vmsleu_vi vmsleu_vv vmsleu_vx vmslt_vv vmslt_vx vmsltu_vv vmsltu_vx vmsne_vi vmsne_vv vmsne_vx vmsof_m vmul_vv vmul_vx vmulh_vv vmulh_vx vmulhsu_vv vmulhsu_vx vmulhu_vv vmulhu_vx vmv_s_x vmv_v_i vmv_v_v vmv_v_x vmv_x_s vmv1r_v vmv2r_v vmv4r_v vmv8r_v vmxnor_mm vmxor_mm vnclip_wi vnclip_wv vnclip_wx vnclipu_wi vnclipu_wv vnclipu_wx vnmsac_vv vnmsac_vx vnmsub_vv vnmsub_vx vnsra_wi vnsra_wv vnsra_wx vnsrl_wi vnsrl_wv vnsrl_wx vor_vi vor_vv vor_vx vredand_vs vredmax_vs vredmaxu_vs vredmin_vs vredminu_vs vredor_vs vredsum_vs vredxor_vs vrem_vv vrem_vx vremu_vv vremu_vx vrgather_vi vrgather_vv vrgather_vx vrgatherei16_vv vrsub_vi vrsub_vx vsadd_vi vsadd_vv vsadd_vx vsaddu_vi vsaddu_vv vsaddu_vx vsbc_vvm vsbc_vxm vsext_vf2 vsext_vf4 vsext_vf8 vslide1down_vx vslide1up_vx vslidedown_vi vslidedown_vx vslideup_vi vslideup_vx vsll_vi vsll_vv vsll_vx vsmul_vv vsmul_vx vsra_vi vsra_vv vsra_vx vsrl_vi vsrl_vv vsrl_vx vssra_
 vi vssra_vv vssra_vx vssrl_vi vssrl_vv vssrl_vx vssub_vv vssub_vx vssubu_vv vssubu_vx vsub_vv vsub_vx vwadd_vv vwadd_vx vwadd_wv vwadd_wx vwaddu_vv vwaddu_vx vwaddu_wv vwaddu_wx vwmacc_vv vwmacc_vx vwmaccsu_vv vwmaccsu_vx vwmaccu_vv vwmaccu_vx vwmaccus_vx vwmul_vv vwmul_vx vwmulsu_vv vwmulsu_vx vwmulu_vv vwmulu_vx vwredsum_vs vwredsumu_vs vwsub_vv vwsub_vx vwsub_wv vwsub_wx vwsubu_vv vwsubu_vx vwsubu_wv vwsubu_wx vxor_vi vxor_vv vxor_vx vzext_vf2 vzext_vf4 vzext_vf8 vamoswapei8_v vamoaddei8_v vamoandei8_v vamomaxei8_v vamomaxuei8_v vamominei8_v vamominuei8_v vamoorei8_v vamoxorei8_v vamoswapei16_v vamoaddei16_v vamoandei16_v vamomaxei16_v vamomaxuei16_v vamominei16_v vamominuei16_v vamoorei16_v vamoxorei16_v vamoswapei32_v vamoaddei32_v vamoandei32_v vamomaxei32_v vamomaxuei32_v vamominei32_v vamominuei32_v vamoorei32_v vamoxorei32_v vamoswapei64_v vamoaddei64_v vamoandei64_v vamomaxei64_v vamomaxuei64_v vamominei64_v vamominuei64_v vamoorei64_v vamoxorei64_v vsetvli vsetvl vle8_v v
 le16_v vle32_v vle64_v vlse8_v vlse16_v vlse!
 32_v vlse!
 64_v vlxei8_v vlxei16_v vlxei32_v vlxei64_v vle8ff_v vle16ff_v vle32ff_v vle64ff_v vl1re8_v vl2re8_v vl4re8_v vl8re8_v vl1re16_v vl2re16_v vl4re16_v vl8re16_v vl1re32_v vl2re32_v vl4re32_v vl8re32_v vl1re64_v vl2re64_v vl4re64_v vl8re64_v vse8_v vse16_v vse32_v vse64_v vsse8_v vsse16_v vsse32_v vsse64_v vsxei8_v vsxei16_v vsxei32_v vsxei64_v vsuxei8_v vsuxei16_v vsuxei32_v vsuxei64_v vs1r_v vs2r_v vs4r_v vs8r_v hfence_gvma hfence_vvma hlv_b hlv_bu hlv_h hlv_hu hlvx_hu hlv_w hlv_wu hlvx_wu hlv_d hsv_b hsv_h hsv_w hsv_d csrrc csrrci csrrs csrrsi csrrw csrrwi dret ebreak ecall mret sfence_vma sret wfi ; do \
	printf 'DEFINE_INSN(%s)\n' "${insn}" ; \
done > insn_list.h.tmp
mv insn_list.h.tmp insn_list.h
g++10 -MMD -MP  -DPREFIX=\"/usr/local\" -Wall -Wno-unused -g -O2 -std=c++11 -O2 -pipe  -DRISCV_ENABLE_DIRTY=1 -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -Wl,-rpath=/usr/local/lib/gcc10   -O2 -pipe  -DRISCV_ENABLE_DIRTY=1 -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -Wl,-rpath=/usr/local/lib/gcc10  -I. -I. -I./fesvr -I./riscv -I./disasm -I./customext -I./fdt -I./softfloat -I./spike_main -I./spike_dasm -x c++-header ./riscv/insn_template.h -o insn_template.h.gch
g++10 -MMD -MP  -DPREFIX=\"/usr/local\" -Wall -Wno-unused -g -O2 -std=c++11 -O2 -pipe  -DRISCV_ENABLE_DIRTY=1 -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -Wl,-rpath=/usr/local/lib/gcc10   -O2 -pipe  -DRISCV_ENABLE_DIRTY=1 -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -Wl,-rpath=/usr/local/lib/gcc10  -I. -I. -I./fesvr -I./riscv -I./disasm -I./customext -I./fdt -I./softfloat -I./spike_main -I./spike_dasm -fPIC -c ./disasm/regnames.cc
/usr/local/bin/ld: /usr/lib/crt1.o:(.got+0x58): undefined reference to `main'
collect2: error: ld returned 1 exit status
gmake[1]: *** [Makefile:348: insn_template.h.gch] Error 1
gmake[1]: *** Waiting for unfinished jobs....
gmake[1]: Leaving directory '/wrkdirs/usr/ports/emulators/riscv-isa-sim/work/riscv-isa-sim-641d7d0'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/emulators/riscv-isa-sim



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