[package - 122powerpc64-quarterly][emulators/dosbox-staging] Failed for dosbox-staging-0.76.0 in build

pkg-fallout at FreeBSD.org pkg-fallout at FreeBSD.org
Tue May 11 14:31:36 UTC 2021


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:     makc at FreeBSD.org
Log URL:        http://pylon.nyi.freebsd.org/data/122powerpc64-quarterly/e680e4dc222a/logs/dosbox-staging-0.76.0.log
Build URL:      http://pylon.nyi.freebsd.org/build.html?mastername=122powerpc64-quarterly&build=e680e4dc222a
Log:

=>> Building emulators/dosbox-staging
build started at Tue May 11 14:28:49 UTC 2021
port directory: /usr/ports/emulators/dosbox-staging
package name: dosbox-staging-0.76.0
building for: FreeBSD 122powerpc64-quarterly-job-08 12.2-RELEASE FreeBSD 12.2-RELEASE powerpc
maintained by: makc at FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-8-gaf08dbda
Host OSVERSION: 1400003
Jail OSVERSION: 1202000
Job Id: 08

---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-8-gaf08dbda
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---
===> The following configuration options are available for dosbox-staging-0.76.0:
     ALSA=off: ALSA midi support
     DOCS=on: Build and/or install documentation
     FLUIDSYNTH=on: MIDI playback support via FluidSynth
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
makc at FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--disable-alsa-midi --enable-fluidsynth --x-libraries=/usr/local/lib --x-includes=/usr/local/include --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PKG_CONFIG=pkgconf SDL2_CONFIG=/usr/local/bin/sdl2-config XDG_DATA_HOME=/wrkdirs/usr/ports/emulators/dosbox-staging/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/emulators/dosbox-staging/work  HOME=/wrkdirs/usr/ports/emulators/dosbox-staging/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/emulators/dosbox-staging/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh 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" CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288
--End CONFIGURE_ENV--

--MAKE_ENV--
SDL2_CONFIG=/usr/local/bin/sdl2-config XDG_DATA_HOME=/wrkdirs/usr/ports/emulators/dosbox-staging/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/emulators/dosbox-staging/work  HOME=/wrkdirs/usr/ports/emulators/dosbox-staging/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/emulators/dosbox-staging/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  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10 -fno-strict-aliasing "  CPP="cpp10" CPPFLAGS="
 "  LDFLAGS=" -pthread -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10 -L/usr/local/lib/gcc10 " LIBS=""  CXX="g++10" CXXFLAGS="-O2 -pipe  -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--
PORTDOCS="" OSREL=12.2 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/dosbox-staging"  EXAMPLESDIR="share/examples/dosbox-staging"  DATADIR="share/dosbox-staging"  WWWDIR="www/dosbox-staging"  ETCDIR="etc/dosbox-staging"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/dosbox-staging DOCSDIR=/usr/local/share/doc/dosbox-staging EXAMPLESDIR=/usr/local/share/examples/dosbox-staging  WWWDIR=/usr/local/www/dosbox-staging ETCDIR=/usr/local/etc/dosbox-staging
--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 GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   dosbox-staging-0.76.0 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.16.3.txz
[122powerpc64-quarterly-job-08] Installing pkg-1.16.3...
[122powerpc64-quarterly-job-08] Extracting pkg-1.16.3: .......... done
===>   dosbox-staging-0.76.0 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of dosbox-staging-0.76.0
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by dosbox-staging-0.76.0 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by dosbox-staging-0.76.0 for building
=> SHA256 Checksum OK for dosbox-staging-dosbox-staging-v0.76.0_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by dosbox-staging-0.76.0 for building
===>  Extracting for dosbox-staging-0.76.0
=> SHA256 Checksum OK for dosbox-staging-dosbox-staging-v0.76.0_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for dosbox-staging-0.76.0
===>  Applying FreeBSD patches for dosbox-staging-0.76.0 from /usr/ports/emulators/dosbox-staging/files
===========================================================================
=======================<phase: build-depends  >============================
===>   dosbox-staging-0.76.0 depends on package: pkgconf>=1.3.0_1 - not found
===>   Installing existing package /packages/All/pkgconf-1.7.4,1.txz
[122powerpc64-quarterly-job-08] Installing pkgconf-1.7.4,1...
[122powerpc64-quarterly-job-08] Extracting pkgconf-1.7.4,1: .......... done
===>   dosbox-staging-0.76.0 depends on package: pkgconf>=1.3.0_1 - found
===>   Returning to build of dosbox-staging-0.76.0
===>   dosbox-staging-0.76.0 depends on file: /usr/local/bin/sdl2-config - not found
===>   Installing existing package /packages/All/sdl2-2.0.12_4.txz
[122powerpc64-quarterly-job-08] Installing sdl2-2.0.12_4...
[122powerpc64-quarterly-job-08] `-- Installing libXScrnSaver-1.2.3_2...
[122powerpc64-quarterly-job-08] |   `-- Installing libX11-1.6.12,1...
[122powerpc64-quarterly-job-08] |   | `-- Installing libxcb-1.14_1...
[122powerpc64-quarterly-job-08] |   |   `-- Installing libXau-1.0.9...
[122powerpc64-quarterly-job-08] |   |   `-- Extracting libXau-1.0.9: .......... done
[122powerpc64-quarterly-job-08] |   |   `-- Installing libXdmcp-1.1.3...
<snip>
  419 | #define MOV_REG_WORD_FROM_HOST_REG(host_reg, reg_index, dword) gen_mov_regword_from_reg(host_reg,(DRC_PTR_SIZE_IM)(DRCD_REG_WORD(reg_index,dword)) - (DRC_PTR_SIZE_IM)(&cpu_regs), dword)
      |                                                                                                                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
core_dynrec/decoder_opcodes.h:1307:18: note: in expansion of macro 'MOV_REG_WORD_FROM_HOST_REG'
 1307 |  if (decode.rep) MOV_REG_WORD_FROM_HOST_REG(FC_RETOP,DRC_REG_ECX,decode.big_addr);
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~
core_dynrec/decoder_opcodes.h: In function 'void dyn_read_port_byte_direct(Bit8u)':
core_dynrec/decoder_basic.h:423:110: error: cast from 'Bit8u*' {aka 'unsigned char*'} to 'Bit32u' {aka 'unsigned int'} loses precision [-fpermissive]
  423 | #define MOV_REG_BYTE_FROM_HOST_REG_LOW(host_reg, reg_index, high_byte) gen_mov_regbyte_from_reg_low(host_reg,(DRC_PTR_SIZE_IM)(DRCD_REG_BYTE(reg_index,high_byte)) - (DRC_PTR_SIZE_IM)(&cpu_regs))
      |                                                                                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
core_dynrec/decoder_opcodes.h:1324:2: note: in expansion of macro 'MOV_REG_BYTE_FROM_HOST_REG_LOW'
 1324 |  MOV_REG_BYTE_FROM_HOST_REG_LOW(FC_RETOP,DRC_REG_EAX,0);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
core_dynrec/decoder_basic.h:423:166: error: cast from 'CPU_Regs*' to 'Bit32u' {aka 'unsigned int'} loses precision [-fpermissive]
  423 | #define MOV_REG_BYTE_FROM_HOST_REG_LOW(host_reg, reg_index, high_byte) gen_mov_regbyte_from_reg_low(host_reg,(DRC_PTR_SIZE_IM)(DRCD_REG_BYTE(reg_index,high_byte)) - (DRC_PTR_SIZE_IM)(&cpu_regs))
      |                                                                                                                                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
core_dynrec/decoder_opcodes.h:1324:2: note: in expansion of macro 'MOV_REG_BYTE_FROM_HOST_REG_LOW'
 1324 |  MOV_REG_BYTE_FROM_HOST_REG_LOW(FC_RETOP,DRC_REG_EAX,0);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
core_dynrec/decoder_opcodes.h: In function 'void dyn_read_port_word_direct(Bit8u)':
core_dynrec/decoder_basic.h:419:98: error: cast from 'void*' to 'Bit32u' {aka 'unsigned int'} loses precision [-fpermissive]
  419 | #define MOV_REG_WORD_FROM_HOST_REG(host_reg, reg_index, dword) gen_mov_regword_from_reg(host_reg,(DRC_PTR_SIZE_IM)(DRCD_REG_WORD(reg_index,dword)) - (DRC_PTR_SIZE_IM)(&cpu_regs), dword)
      |                                                                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
core_dynrec/decoder_opcodes.h:1330:2: note: in expansion of macro 'MOV_REG_WORD_FROM_HOST_REG'
 1330 |  MOV_REG_WORD_FROM_HOST_REG(FC_RETOP,DRC_REG_EAX,decode.big_op);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~
core_dynrec/decoder_basic.h:419:150: error: cast from 'CPU_Regs*' to 'Bit32u' {aka 'unsigned int'} loses precision [-fpermissive]
  419 | #define MOV_REG_WORD_FROM_HOST_REG(host_reg, reg_index, dword) gen_mov_regword_from_reg(host_reg,(DRC_PTR_SIZE_IM)(DRCD_REG_WORD(reg_index,dword)) - (DRC_PTR_SIZE_IM)(&cpu_regs), dword)
      |                                                                                                                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
core_dynrec/decoder_opcodes.h:1330:2: note: in expansion of macro 'MOV_REG_WORD_FROM_HOST_REG'
 1330 |  MOV_REG_WORD_FROM_HOST_REG(FC_RETOP,DRC_REG_EAX,decode.big_op);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~
core_dynrec/decoder_opcodes.h: In function 'void dyn_write_port_byte_direct(Bit8u)':
core_dynrec/decoder_basic.h:421:106: error: cast from 'Bit8u*' {aka 'unsigned char*'} to 'Bit32u' {aka 'unsigned int'} loses precision [-fpermissive]
  421 | #define MOV_REG_BYTE_TO_HOST_REG_LOW(host_reg, reg_index, high_byte) gen_mov_regbyte_to_reg_low(host_reg,(DRC_PTR_SIZE_IM)(DRCD_REG_BYTE(reg_index,high_byte)) - (DRC_PTR_SIZE_IM)(&cpu_regs))
      |                                                                                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
core_dynrec/decoder_opcodes.h:1335:2: note: in expansion of macro 'MOV_REG_BYTE_TO_HOST_REG_LOW'
 1335 |  MOV_REG_BYTE_TO_HOST_REG_LOW(FC_RETOP,DRC_REG_EAX,0);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
core_dynrec/decoder_basic.h:421:162: error: cast from 'CPU_Regs*' to 'Bit32u' {aka 'unsigned int'} loses precision [-fpermissive]
  421 | #define MOV_REG_BYTE_TO_HOST_REG_LOW(host_reg, reg_index, high_byte) gen_mov_regbyte_to_reg_low(host_reg,(DRC_PTR_SIZE_IM)(DRCD_REG_BYTE(reg_index,high_byte)) - (DRC_PTR_SIZE_IM)(&cpu_regs))
      |                                                                                                                                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
core_dynrec/decoder_opcodes.h:1335:2: note: in expansion of macro 'MOV_REG_BYTE_TO_HOST_REG_LOW'
 1335 |  MOV_REG_BYTE_TO_HOST_REG_LOW(FC_RETOP,DRC_REG_EAX,0);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
core_dynrec/decoder_opcodes.h: In function 'void dyn_write_port_word_direct(Bit8u)':
core_dynrec/decoder_basic.h:415:94: error: cast from 'void*' to 'Bit32u' {aka 'unsigned int'} loses precision [-fpermissive]
  415 | #define MOV_REG_WORD_TO_HOST_REG(host_reg, reg_index, dword) gen_mov_regword_to_reg(host_reg,(DRC_PTR_SIZE_IM)(DRCD_REG_WORD(reg_index,dword)) - (DRC_PTR_SIZE_IM)(&cpu_regs), dword)
      |                                                                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
core_dynrec/decoder_opcodes.h:1342:2: note: in expansion of macro 'MOV_REG_WORD_TO_HOST_REG'
 1342 |  MOV_REG_WORD_TO_HOST_REG(FC_RETOP,DRC_REG_EAX,decode.big_op);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~
core_dynrec/decoder_basic.h:415:146: error: cast from 'CPU_Regs*' to 'Bit32u' {aka 'unsigned int'} loses precision [-fpermissive]
  415 | #define MOV_REG_WORD_TO_HOST_REG(host_reg, reg_index, dword) gen_mov_regword_to_reg(host_reg,(DRC_PTR_SIZE_IM)(DRCD_REG_WORD(reg_index,dword)) - (DRC_PTR_SIZE_IM)(&cpu_regs), dword)
      |                                                                                                                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
core_dynrec/decoder_opcodes.h:1342:2: note: in expansion of macro 'MOV_REG_WORD_TO_HOST_REG'
 1342 |  MOV_REG_WORD_TO_HOST_REG(FC_RETOP,DRC_REG_EAX,decode.big_op);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~
core_dynrec/decoder_opcodes.h: In function 'void dyn_read_port_byte()':
core_dynrec/decoder_basic.h:413:90: error: cast from 'void*' to 'Bit32u' {aka 'unsigned int'} loses precision [-fpermissive]
  413 | #define MOV_REG_WORD16_TO_HOST_REG(host_reg, reg_index) gen_mov_regval16_to_reg(host_reg,(DRC_PTR_SIZE_IM)(DRCD_REG_WORD(reg_index,false)) - (DRC_PTR_SIZE_IM)(&cpu_regs))
      |                                                                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
core_dynrec/decoder_opcodes.h:1349:2: note: in expansion of macro 'MOV_REG_WORD16_TO_HOST_REG'
 1349 |  MOV_REG_WORD16_TO_HOST_REG(FC_ADDR,DRC_REG_EDX);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~
core_dynrec/decoder_basic.h:413:142: error: cast from 'CPU_Regs*' to 'Bit32u' {aka 'unsigned int'} loses precision [-fpermissive]
  413 | #define MOV_REG_WORD16_TO_HOST_REG(host_reg, reg_index) gen_mov_regval16_to_reg(host_reg,(DRC_PTR_SIZE_IM)(DRCD_REG_WORD(reg_index,false)) - (DRC_PTR_SIZE_IM)(&cpu_regs))
      |                                                                                                                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
core_dynrec/decoder_opcodes.h:1349:2: note: in expansion of macro 'MOV_REG_WORD16_TO_HOST_REG'
 1349 |  MOV_REG_WORD16_TO_HOST_REG(FC_ADDR,DRC_REG_EDX);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~
core_dynrec/decoder_basic.h:423:110: error: cast from 'Bit8u*' {aka 'unsigned char*'} to 'Bit32u' {aka 'unsigned int'} loses precision [-fpermissive]
  423 | #define MOV_REG_BYTE_FROM_HOST_REG_LOW(host_reg, reg_index, high_byte) gen_mov_regbyte_from_reg_low(host_reg,(DRC_PTR_SIZE_IM)(DRCD_REG_BYTE(reg_index,high_byte)) - (DRC_PTR_SIZE_IM)(&cpu_regs))
      |                                                                                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
core_dynrec/decoder_opcodes.h:1355:2: note: in expansion of macro 'MOV_REG_BYTE_FROM_HOST_REG_LOW'
 1355 |  MOV_REG_BYTE_FROM_HOST_REG_LOW(FC_RETOP,DRC_REG_EAX,0);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
core_dynrec/decoder_basic.h:423:166: error: cast from 'CPU_Regs*' to 'Bit32u' {aka 'unsigned int'} loses precision [-fpermissive]
  423 | #define MOV_REG_BYTE_FROM_HOST_REG_LOW(host_reg, reg_index, high_byte) gen_mov_regbyte_from_reg_low(host_reg,(DRC_PTR_SIZE_IM)(DRCD_REG_BYTE(reg_index,high_byte)) - (DRC_PTR_SIZE_IM)(&cpu_regs))
      |                                                                                                                                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
core_dynrec/decoder_opcodes.h:1355:2: note: in expansion of macro 'MOV_REG_BYTE_FROM_HOST_REG_LOW'
 1355 |  MOV_REG_BYTE_FROM_HOST_REG_LOW(FC_RETOP,DRC_REG_EAX,0);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
core_dynrec/decoder_opcodes.h: In function 'void dyn_read_port_word()':
core_dynrec/decoder_basic.h:413:90: error: cast from 'void*' to 'Bit32u' {aka 'unsigned int'} loses precision [-fpermissive]
  413 | #define MOV_REG_WORD16_TO_HOST_REG(host_reg, reg_index) gen_mov_regval16_to_reg(host_reg,(DRC_PTR_SIZE_IM)(DRCD_REG_WORD(reg_index,false)) - (DRC_PTR_SIZE_IM)(&cpu_regs))
      |                                                                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
core_dynrec/decoder_opcodes.h:1359:2: note: in expansion of macro 'MOV_REG_WORD16_TO_HOST_REG'
 1359 |  MOV_REG_WORD16_TO_HOST_REG(FC_ADDR,DRC_REG_EDX);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~
core_dynrec/decoder_basic.h:413:142: error: cast from 'CPU_Regs*' to 'Bit32u' {aka 'unsigned int'} loses precision [-fpermissive]
  413 | #define MOV_REG_WORD16_TO_HOST_REG(host_reg, reg_index) gen_mov_regval16_to_reg(host_reg,(DRC_PTR_SIZE_IM)(DRCD_REG_WORD(reg_index,false)) - (DRC_PTR_SIZE_IM)(&cpu_regs))
      |                                                                                                                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
core_dynrec/decoder_opcodes.h:1359:2: note: in expansion of macro 'MOV_REG_WORD16_TO_HOST_REG'
 1359 |  MOV_REG_WORD16_TO_HOST_REG(FC_ADDR,DRC_REG_EDX);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~
core_dynrec/decoder_basic.h:419:98: error: cast from 'void*' to 'Bit32u' {aka 'unsigned int'} loses precision [-fpermissive]
  419 | #define MOV_REG_WORD_FROM_HOST_REG(host_reg, reg_index, dword) gen_mov_regword_from_reg(host_reg,(DRC_PTR_SIZE_IM)(DRCD_REG_WORD(reg_index,dword)) - (DRC_PTR_SIZE_IM)(&cpu_regs), dword)
      |                                                                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
core_dynrec/decoder_opcodes.h:1365:2: note: in expansion of macro 'MOV_REG_WORD_FROM_HOST_REG'
 1365 |  MOV_REG_WORD_FROM_HOST_REG(FC_RETOP,DRC_REG_EAX,decode.big_op);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~
core_dynrec/decoder_basic.h:419:150: error: cast from 'CPU_Regs*' to 'Bit32u' {aka 'unsigned int'} loses precision [-fpermissive]
  419 | #define MOV_REG_WORD_FROM_HOST_REG(host_reg, reg_index, dword) gen_mov_regword_from_reg(host_reg,(DRC_PTR_SIZE_IM)(DRCD_REG_WORD(reg_index,dword)) - (DRC_PTR_SIZE_IM)(&cpu_regs), dword)
      |                                                                                                                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
core_dynrec/decoder_opcodes.h:1365:2: note: in expansion of macro 'MOV_REG_WORD_FROM_HOST_REG'
 1365 |  MOV_REG_WORD_FROM_HOST_REG(FC_RETOP,DRC_REG_EAX,decode.big_op);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~
core_dynrec/decoder_opcodes.h: In function 'void dyn_write_port_byte()':
core_dynrec/decoder_basic.h:413:90: error: cast from 'void*' to 'Bit32u' {aka 'unsigned int'} loses precision [-fpermissive]
  413 | #define MOV_REG_WORD16_TO_HOST_REG(host_reg, reg_index) gen_mov_regval16_to_reg(host_reg,(DRC_PTR_SIZE_IM)(DRCD_REG_WORD(reg_index,false)) - (DRC_PTR_SIZE_IM)(&cpu_regs))
      |                                                                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
core_dynrec/decoder_opcodes.h:1369:2: note: in expansion of macro 'MOV_REG_WORD16_TO_HOST_REG'
 1369 |  MOV_REG_WORD16_TO_HOST_REG(FC_ADDR,DRC_REG_EDX);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~
core_dynrec/decoder_basic.h:413:142: error: cast from 'CPU_Regs*' to 'Bit32u' {aka 'unsigned int'} loses precision [-fpermissive]
  413 | #define MOV_REG_WORD16_TO_HOST_REG(host_reg, reg_index) gen_mov_regval16_to_reg(host_reg,(DRC_PTR_SIZE_IM)(DRCD_REG_WORD(reg_index,false)) - (DRC_PTR_SIZE_IM)(&cpu_regs))
      |                                                                                                                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
core_dynrec/decoder_opcodes.h:1369:2: note: in expansion of macro 'MOV_REG_WORD16_TO_HOST_REG'
 1369 |  MOV_REG_WORD16_TO_HOST_REG(FC_ADDR,DRC_REG_EDX);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~
core_dynrec/decoder_basic.h:421:106: error: cast from 'Bit8u*' {aka 'unsigned char*'} to 'Bit32u' {aka 'unsigned int'} loses precision [-fpermissive]
  421 | #define MOV_REG_BYTE_TO_HOST_REG_LOW(host_reg, reg_index, high_byte) gen_mov_regbyte_to_reg_low(host_reg,(DRC_PTR_SIZE_IM)(DRCD_REG_BYTE(reg_index,high_byte)) - (DRC_PTR_SIZE_IM)(&cpu_regs))
      |                                                                                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
core_dynrec/decoder_opcodes.h:1373:2: note: in expansion of macro 'MOV_REG_BYTE_TO_HOST_REG_LOW'
 1373 |  MOV_REG_BYTE_TO_HOST_REG_LOW(FC_RETOP,DRC_REG_EAX,0);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
core_dynrec/decoder_basic.h:421:162: error: cast from 'CPU_Regs*' to 'Bit32u' {aka 'unsigned int'} loses precision [-fpermissive]
  421 | #define MOV_REG_BYTE_TO_HOST_REG_LOW(host_reg, reg_index, high_byte) gen_mov_regbyte_to_reg_low(host_reg,(DRC_PTR_SIZE_IM)(DRCD_REG_BYTE(reg_index,high_byte)) - (DRC_PTR_SIZE_IM)(&cpu_regs))
      |                                                                                                                                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
core_dynrec/decoder_opcodes.h:1373:2: note: in expansion of macro 'MOV_REG_BYTE_TO_HOST_REG_LOW'
 1373 |  MOV_REG_BYTE_TO_HOST_REG_LOW(FC_RETOP,DRC_REG_EAX,0);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
core_dynrec/decoder_opcodes.h: In function 'void dyn_write_port_word()':
core_dynrec/decoder_basic.h:413:90: error: cast from 'void*' to 'Bit32u' {aka 'unsigned int'} loses precision [-fpermissive]
  413 | #define MOV_REG_WORD16_TO_HOST_REG(host_reg, reg_index) gen_mov_regval16_to_reg(host_reg,(DRC_PTR_SIZE_IM)(DRCD_REG_WORD(reg_index,false)) - (DRC_PTR_SIZE_IM)(&cpu_regs))
      |                                                                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
core_dynrec/decoder_opcodes.h:1380:2: note: in expansion of macro 'MOV_REG_WORD16_TO_HOST_REG'
 1380 |  MOV_REG_WORD16_TO_HOST_REG(FC_ADDR,DRC_REG_EDX);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~
core_dynrec/decoder_basic.h:413:142: error: cast from 'CPU_Regs*' to 'Bit32u' {aka 'unsigned int'} loses precision [-fpermissive]
  413 | #define MOV_REG_WORD16_TO_HOST_REG(host_reg, reg_index) gen_mov_regval16_to_reg(host_reg,(DRC_PTR_SIZE_IM)(DRCD_REG_WORD(reg_index,false)) - (DRC_PTR_SIZE_IM)(&cpu_regs))
      |                                                                                                                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
core_dynrec/decoder_opcodes.h:1380:2: note: in expansion of macro 'MOV_REG_WORD16_TO_HOST_REG'
 1380 |  MOV_REG_WORD16_TO_HOST_REG(FC_ADDR,DRC_REG_EDX);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~
core_dynrec/decoder_basic.h:415:94: error: cast from 'void*' to 'Bit32u' {aka 'unsigned int'} loses precision [-fpermissive]
  415 | #define MOV_REG_WORD_TO_HOST_REG(host_reg, reg_index, dword) gen_mov_regword_to_reg(host_reg,(DRC_PTR_SIZE_IM)(DRCD_REG_WORD(reg_index,dword)) - (DRC_PTR_SIZE_IM)(&cpu_regs), dword)
      |                                                                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
core_dynrec/decoder_opcodes.h:1384:2: note: in expansion of macro 'MOV_REG_WORD_TO_HOST_REG'
 1384 |  MOV_REG_WORD_TO_HOST_REG(FC_RETOP,DRC_REG_EAX,decode.big_op);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~
core_dynrec/decoder_basic.h:415:146: error: cast from 'CPU_Regs*' to 'Bit32u' {aka 'unsigned int'} loses precision [-fpermissive]
  415 | #define MOV_REG_WORD_TO_HOST_REG(host_reg, reg_index, dword) gen_mov_regword_to_reg(host_reg,(DRC_PTR_SIZE_IM)(DRCD_REG_WORD(reg_index,dword)) - (DRC_PTR_SIZE_IM)(&cpu_regs), dword)
      |                                                                                                                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
core_dynrec/decoder_opcodes.h:1384:2: note: in expansion of macro 'MOV_REG_WORD_TO_HOST_REG'
 1384 |  MOV_REG_WORD_TO_HOST_REG(FC_RETOP,DRC_REG_EAX,decode.big_op);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~
--- callback.o ---
mv -f .deps/callback.Tpo .deps/callback.Po
--- core_dyn_x86.o ---
g++10 -std=gnu++14 -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include  -O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -Wl,-rpath=/usr/local/lib/gcc10  -I/usr/local/include/libpng16 -MT core_dyn_x86.o -MD -MP -MF .deps/core_dyn_x86.Tpo -c -o core_dyn_x86.o core_dyn_x86.cpp
--- core_dynrec.o ---
core_dynrec/dyn_fpu.h: In function 'void dyn_fpu_esc7()':
core_dynrec/decoder_basic.h:417:94: error: cast from 'void*' to 'Bit32u' {aka 'unsigned int'} loses precision [-fpermissive]
  417 | #define MOV_REG_WORD16_FROM_HOST_REG(host_reg, reg_index) gen_mov_regval16_from_reg(host_reg,(DRC_PTR_SIZE_IM)(DRCD_REG_WORD(reg_index,false)) - (DRC_PTR_SIZE_IM)(&cpu_regs))
      |                                                                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
core_dynrec/dyn_fpu.h:639:6: note: in expansion of macro 'MOV_REG_WORD16_FROM_HOST_REG'
  639 |      MOV_REG_WORD16_FROM_HOST_REG(FC_OP1,DRC_REG_EAX);
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
core_dynrec/decoder_basic.h:417:146: error: cast from 'CPU_Regs*' to 'Bit32u' {aka 'unsigned int'} loses precision [-fpermissive]
  417 | #define MOV_REG_WORD16_FROM_HOST_REG(host_reg, reg_index) gen_mov_regval16_from_reg(host_reg,(DRC_PTR_SIZE_IM)(DRCD_REG_WORD(reg_index,false)) - (DRC_PTR_SIZE_IM)(&cpu_regs))
      |                                                                                                                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
core_dynrec/dyn_fpu.h:639:6: note: in expansion of macro 'MOV_REG_WORD16_FROM_HOST_REG'
  639 |      MOV_REG_WORD16_FROM_HOST_REG(FC_OP1,DRC_REG_EAX);
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from core_dynrec.cpp:183:
core_dynrec/decoder.h: In function 'CacheBlock* CreateCacheBlock(CodePageHandler*, PhysPt, Bitu)':
core_dynrec/decoder.h:52:42: error: cast from 'CacheBlock*' to 'Bit32u' {aka 'unsigned int'} loses precision [-fpermissive]
   52 |  gen_mov_direct_ptr(&cache.block.running,(DRC_PTR_SIZE_IM)decode.block);
      |                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--- core_dyn_x86.o ---
mv -f .deps/core_dyn_x86.Tpo .deps/core_dyn_x86.Po
--- core_full.o ---
g++10 -std=gnu++14 -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include  -O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10  -Wl,-rpath=/usr/local/lib/gcc10  -I/usr/local/include/libpng16 -MT core_full.o -MD -MP -MF .deps/core_full.Tpo -c -o core_full.o core_full.cpp
--- core_dynrec.o ---
*** [core_dynrec.o] Error code 1

make[5]: stopped in /wrkdirs/usr/ports/emulators/dosbox-staging/work/dosbox-staging-0.76.0/src/cpu
--- core_full.o ---
mv -f .deps/core_full.Tpo .deps/core_full.Po
1 error

make[5]: stopped in /wrkdirs/usr/ports/emulators/dosbox-staging/work/dosbox-staging-0.76.0/src/cpu
===> 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/dosbox-staging


More information about the freebsd-pkg-fallout mailing list