[package - main-i386-default][devel/freebsd-gcc9] Failed for armv7-gcc9-9.5.0_11 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Mon, 26 Jun 2023 06:19:35 UTC
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:     jhb@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy17/data/main-i386-default/p4785b313b958_se8efee297c/logs/armv7-gcc9-9.5.0_11.log
Build URL:      https://pkg-status.freebsd.org/beefy17/build.html?mastername=main-i386-default&build=p4785b313b958_se8efee297c
Log:

=>> Building devel/freebsd-gcc9
build started at Mon Jun 26 06:10:04 UTC 2023
port directory: /usr/ports/devel/freebsd-gcc9
package name: armv7-gcc9-9.5.0_11
building for: FreeBSD main-i386-default-job-02 14.0-CURRENT FreeBSD 14.0-CURRENT 1400091 i386
maintained by: jhb@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400089
Jail OSVERSION: 1400091
Job Id: 02




!!! Jail is newer than host. (Jail: 1400091, Host: 1400089) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/sh
UNAME_p=i386
UNAME_m=i386
OSVERSION=1400091
UNAME_v=FreeBSD 14.0-CURRENT 1400091
UNAME_r=14.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-23-ga7f8d188
MASTERMNT=/usr/local/poudriere/data/.m/main-i386-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-i386-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-i386-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=armv7
DEPENDS_ARGS=
MAKE_ARGS= FLAVOR=armv7
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
---End OPTIONS List---

--MAINTAINER--
jhb@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--target=armv7-gnueabi-freebsd14.0 --disable-nls --enable-languages=c,c++  --enable-gnu-indirect-function  --enable-initfini-array  --program-prefix=armv7-gnueabi-freebsd14.0-  --program-suffix=9  --without-headers  --with-gmp=/usr/local  --with-pkgversion="FreeBSD Ports Collection for armv7"  --with-system-zlib  --without-zstd  --with-gxx-include-dir=/usr/include/c++/v1/  --with-sysroot="/"  --with-as=/usr/local/bin/arm-gnueabi-freebsd14.0-as  --with-ld=/usr/local/bin/arm-gnueabi-freebsd14.0-ld --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7  XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/.cache  HOME=/wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7  XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/.cache  HOME=/wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-DLIBICONV_PLUG"  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing  -DLIBICONV_PLUG "  MANPREFIX="/usr/local" BSD_INSTALL_PRO
GRAM="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--
OPSYS=freebsd  SUFFIX=9  TARGETARCH=armv7  GCC_TARGET=armv7-gnueabi-freebsd14.0  GCC_VERSION=9.5.0 PLUGINS="" FLOAT_H="" OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/gcc"  EXAMPLESDIR="share/examples/gcc"  DATADIR="share/gcc"  WWWDIR="www/gcc"  ETCDIR="etc/gcc"
--End PLIST_SUB--

--SUB_LIST--
BU_PREFIX=arm-gnueabi-freebsd14.0  GCC_TARGET=armv7-gnueabi-freebsd14.0  SUFFIX=9 PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/gcc DOCSDIR=/usr/local/share/doc/gcc EXAMPLESDIR=/usr/local/share/examples/gcc  WWWDIR=/usr/local/www/gcc ETCDIR=/usr/local/etc/gcc
--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
MACHINE=i386
MACHINE_ARCH=i386
ARCH=${MACHINE_ARCH}
#### /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=FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: i386-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: i386-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-m" "elf_i386_fbsd" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_53255a77=yes
CC_OUTPUT_921dbbb2_911cfe02=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
CC_OUTPUT_921dbbb2_af59ad06=yes
CC_OUTPUT_921dbbb2_a15f3fcf=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: i386-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=i386
OPSYS=FreeBSD
_OSRELEASE=14.0-CURRENT
OSREL=14.0
OSVERSION=1400091
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)  524288
stack size              (kbytes, -s)  65536
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 GPLv3 GPLv3RLE accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   armv7-gcc9-9.5.0_11 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.19.1_1.pkg
[main-i386-default-job-02] Installing pkg-1.19.1_1...
[main-i386-default-job-02] Extracting pkg-1.19.1_1: .......... done
===>   armv7-gcc9-9.5.0_11 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of armv7-gcc9-9.5.0_11
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv3 GPLv3RLE accepted by the user
===> Fetching all distfiles required by armv7-gcc9-9.5.0_11 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv3 GPLv3RLE accepted by the user
===> Fetching all distfiles required by armv7-gcc9-9.5.0_11 for building
=> SHA256 Checksum OK for gcc-9.5.0.tar.xz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv3 GPLv3RLE accepted by the user
===> Fetching all distfiles required by armv7-gcc9-9.5.0_11 for building
===>  Extracting for armv7-gcc9-9.5.0_11
=> SHA256 Checksum OK for gcc-9.5.0.tar.xz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for armv7-gcc9-9.5.0_11
===>  Applying FreeBSD patches for armv7-gcc9-9.5.0_11 from /usr/ports/devel/freebsd-gcc9/files
===========================================================================
=======================<phase: build-depends  >============================
<snip>
                   ^~~~~
                   struct
In file included from /wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/cp/error.c:24:
In file included from /wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/coretypes.h:442:
In file included from /wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/hash-table.h:244:
/wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/ggc.h:275:8: warning: struct 'rtx_def' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
inline struct rtx_def *
       ^
/wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/coretypes.h:76:7: note: previous use is here
class rtx_def;
      ^
In file included from /wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/cp/error.c:24:
In file included from /wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/coretypes.h:442:
In file included from /wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/hash-table.h:244:
/wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/ggc.h:278:11: warning: struct 'rtx_def' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
  return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT);
          ^
/wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/coretypes.h:76:7: note: previous use is here
class rtx_def;
      ^
In file included from /wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/cp/error.c:24:
In file included from /wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/coretypes.h:442:
In file included from /wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/hash-table.h:575:
/wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
struct mem_usage
^
/wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/hash-table.h:350:1: note: did you mean struct here?
class mem_usage;
^~~~~
struct
6 warnings generated.
c++ -fno-PIE -c  -DIN_GCC_FRONTEND -fbracket-depth=512 -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE  -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -I. -Icp -I/wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc -I/wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/cp -I/wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/../include -I/wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/../libcpp/include -I/usr/local/include  -I/wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/../libdecnumber -I/wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/../libdecnumber/dpd -I../libdecnumber -I/wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/../libbacktrace  -DLIBICONV_PLUG -o cp/except.o -MT cp/exce
pt.o -MMD -MP -MF cp/.deps/except.TPo /wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/cp/except.c
c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated]
In file included from /wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/cp/except.c:26:
/wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/coretypes.h:76:1: warning: class 'rtx_def' was previously declared as a struct; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
class rtx_def;
^
/wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/coretypes.h:56:8: note: previous use is here
struct rtx_def;
       ^
In file included from /wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/cp/error.c:25:
In file included from /wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/cp/cp-tree.h:40:
In file included from /wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/c-family/c-common.h:26:
In file included from /wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/tree.h:23:
/wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/tree-core.h:1751:2: warning: struct 'symtab_node' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
 struct symtab_node *symtab_node;
 ^
/wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/coretypes.h:141:7: note: previous use is here
class symtab_node;
      ^
In file included from /wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/cp/except.c:26:
In file included from /wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/coretypes.h:435:
/wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/machmode.h:320:1: warning: 'pod_mode' defined as a struct template here but previously declared as a class template; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
struct pod_mode
^
/wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/coretypes.h:68:20: note: did you mean struct here?
template<typename> class pod_mode;
                   ^~~~~
                   struct
In file included from /wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/cp/error.c:37:
In file included from /wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/cp/cp-name-hint.h:31:
/wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/c-family/name-hint.h:109:66: warning: unqualified call to 'std::move' [-Wunqualified-std-cast-call]
  gnu::unique_ptr<deferred_diagnostic> take_deferred () { return move (m_deferred); }
                                                                 ^
                                                                 std::
In file included from /wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/cp/except.c:26:
In file included from /wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/coretypes.h:442:
In file included from /wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/hash-table.h:244:
/wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/ggc.h:275:8: warning: struct 'rtx_def' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
inline struct rtx_def *
       ^
/wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/coretypes.h:76:7: note: previous use is here
class rtx_def;
      ^
In file included from /wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/cp/except.c:26:
In file included from /wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/coretypes.h:442:
In file included from /wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/hash-table.h:244:
/wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/ggc.h:278:11: warning: struct 'rtx_def' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
  return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT);
          ^
/wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/coretypes.h:76:7: note: previous use is here
class rtx_def;
      ^
In file included from /wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/cp/except.c:26:
In file included from /wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/coretypes.h:442:
In file included from /wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/hash-table.h:575:
/wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
struct mem_usage
^
/wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/hash-table.h:350:1: note: did you mean struct here?
class mem_usage;
^~~~~
struct
In file included from /wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/cp/except.c:27:
In file included from /wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/cp/cp-tree.h:40:
In file included from /wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/c-family/c-common.h:26:
In file included from /wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/tree.h:23:
/wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/tree-core.h:1751:2: warning: struct 'symtab_node' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
 struct symtab_node *symtab_node;
 ^
/wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/coretypes.h:141:7: note: previous use is here
class symtab_node;
      ^
In file included from /wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/cp/except.c:968:
cfns.gperf:35:18: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
libc_name::hash (register const char *str, register unsigned int len)
                 ^~~~~~~~~
cfns.gperf:35:44: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
libc_name::hash (register const char *str, register unsigned int len)
                                           ^~~~~~~~~
cfns.gperf:66:3: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  register int hval = len;
  ^~~~~~~~~
cfns.gperf:93:25: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
libc_name::libc_name_p (register const char *str, register unsigned int len)
                        ^~~~~~~~~
cfns.gperf:93:51: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
libc_name::libc_name_p (register const char *str, register unsigned int len)
                                                  ^~~~~~~~~
cfns.gperf:359:7: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
      register int key = hash (str, len);
      ^~~~~~~~~
cfns.gperf:363:11: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
          register int index = lookup[key];
          ^~~~~~~~~
cfns.gperf:367:15: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
              register const char *s = wordlist[index].name;
              ^~~~~~~~~
7 warnings generated.
c++ -fno-PIE -c  -DIN_GCC_FRONTEND -fbracket-depth=512 -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE  -fno-strict-aliasing -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -I. -Icp -I/wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc -I/wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/cp -I/wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/../include -I/wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/../libcpp/include -I/usr/local/include  -I/wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/../libdecnumber -I/wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/../libdecnumber/dpd -I../libdecnumber -I/wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/../libbacktrace  -DLIBICONV_PLUG -o cp/expr.o -MT cp/expr.o
 -MMD -MP -MF cp/.deps/expr.TPo /wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/cp/expr.c
c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated]
6 warnings and 8 errors generated.
gmake[2]: *** [Makefile:1116: cp/except.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
In file included from /wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/cp/expr.c:24:
/wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/coretypes.h:76:1: warning: class 'rtx_def' was previously declared as a struct; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
class rtx_def;
^
/wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/coretypes.h:56:8: note: previous use is here
struct rtx_def;
       ^
In file included from /wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/cp/expr.c:24:
In file included from /wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/coretypes.h:435:
/wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/machmode.h:320:1: warning: 'pod_mode' defined as a struct template here but previously declared as a class template; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
struct pod_mode
^
/wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/coretypes.h:68:20: note: did you mean struct here?
template<typename> class pod_mode;
                   ^~~~~
                   struct
In file included from /wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/cp/expr.c:24:
In file included from /wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/coretypes.h:442:
In file included from /wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/hash-table.h:244:
/wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/ggc.h:275:8: warning: struct 'rtx_def' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
inline struct rtx_def *
       ^
/wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/coretypes.h:76:7: note: previous use is here
class rtx_def;
      ^
In file included from /wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/cp/expr.c:24:
In file included from /wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/coretypes.h:442:
In file included from /wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/hash-table.h:244:
/wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/ggc.h:278:11: warning: struct 'rtx_def' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
  return (struct rtx_def *) ggc_internal_alloc (s PASS_MEM_STAT);
          ^
/wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/coretypes.h:76:7: note: previous use is here
class rtx_def;
      ^
In file included from /wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/cp/expr.c:24:
In file included from /wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/coretypes.h:442:
In file included from /wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/hash-table.h:575:
/wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/mem-stats.h:126:1: warning: 'mem_usage' defined as a struct here but previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
struct mem_usage
^
/wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/hash-table.h:350:1: note: did you mean struct here?
class mem_usage;
^~~~~
struct
In file included from /wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/cp/expr.c:25:
In file included from /wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/cp/cp-tree.h:40:
In file included from /wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/c-family/c-common.h:26:
In file included from /wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/tree.h:23:
/wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/tree-core.h:1751:2: warning: struct 'symtab_node' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
 struct symtab_node *symtab_node;
 ^
/wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/gcc-9.5.0/gcc/coretypes.h:141:7: note: previous use is here
class symtab_node;
      ^
6 warnings generated.
rm gcc.pod
gmake[2]: Leaving directory '/wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/.build/gcc'
gmake[1]: *** [Makefile:4317: all-gcc] Error 2
gmake[1]: Leaving directory '/wrkdirs/usr/ports/devel/freebsd-gcc9/work-armv7/.build'
===> 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/devel/freebsd-gcc9