[exp - 123amd64-default-build-as-user][lang/rust-bootstrap] Failed for powerpc64-rust-bootstrap-1.66.0 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sat, 07 Jan 2023 14:53:34 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:     rust@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/package19/data/123amd64-default-build-as-user/ee83585085c3/logs/powerpc64-rust-bootstrap-1.66.0.log
Build URL:      https://pkg-status.freebsd.org/package19/build.html?mastername=123amd64-default-build-as-user&build=ee83585085c3
Log:

=>> Building lang/rust-bootstrap
build started at Sat Jan  7 10:48:55 UTC 2023
port directory: /usr/ports/lang/rust-bootstrap
package name: powerpc64-rust-bootstrap-1.66.0
building for: FreeBSD 123amd64-default-build-as-user-job-05 12.3-RELEASE-p10 FreeBSD 12.3-RELEASE-p10 amd64
maintained by: rust@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400073
Jail OSVERSION: 1203000
Job Id: 05

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1203000
UNAME_v=FreeBSD 12.3-RELEASE-p10
UNAME_r=12.3-RELEASE-p10
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-23-ga7f8d188
MASTERMNT=/poudriere/data/.m/123amd64-default-build-as-user/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
GID=0
UID=0
PWD=/poudriere/data/.m/123amd64-default-build-as-user/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=123amd64-default-build-as-user
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/poudriere/data/.m/123amd64-default-build-as-user/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=powerpc64
DEPENDS_ARGS=
MAKE_ARGS= FLAVOR=powerpc64
---End Poudriere Port Flags/Env---

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

--MAINTAINER--
rust@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
ac_cv_path_PERL=/usr/local/bin/perl ac_cv_path_PERL_PATH=/usr/local/bin/perl  PERL_USE_UNSAFE_INC=1 PYTHON="/usr/local/bin/python3.9" XDG_DATA_HOME=/wrkdirs/usr/ports/lang/rust-bootstrap/work-powerpc64  XDG_CONFIG_HOME=/wrkdirs/usr/ports/lang/rust-bootstrap/work-powerpc64  XDG_CACHE_HOME=/wrkdirs/usr/ports/lang/rust-bootstrap/work-powerpc64/.cache  HOME=/wrkdirs/usr/ports/lang/rust-bootstrap/work-powerpc64 TMPDIR="/wrkdirs/usr/ports/lang/rust-bootstrap/work-powerpc64" PATH=/wrkdirs/usr/ports/lang/rust-bootstrap/work-powerpc64/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/lang/rust-bootstrap/work-powerpc64/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
NINJA_STATUS="[%p %s/%t] " PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/wrkdirs/usr/ports/lang/rust-bootstrap/work-powerpc64  XDG_CONFIG_HOME=/wrkdirs/usr/ports/lang/rust-bootstrap/work-powerpc64  XDG_CACHE_HOME=/wrkdirs/usr/ports/lang/rust-bootstrap/work-powerpc64/.cache  HOME=/wrkdirs/usr/ports/lang/rust-bootstrap/work-powerpc64 TMPDIR="/wrkdirs/usr/ports/lang/rust-bootstrap/work-powerpc64" PATH=/wrkdirs/usr/ports/lang/rust-bootstrap/work-powerpc64/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/lang/rust-bootstrap/work-powerpc64/.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  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-st
 rict-aliasing  "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
PYTHON_INCLUDEDIR=include/python3.9  PYTHON_LIBDIR=lib/python3.9  PYTHON_PLATFORM=freebsd12  PYTHON_SITELIBDIR=lib/python3.9/site-packages  PYTHON_SUFFIX=39  PYTHON_EXT_SUFFIX=.cpython-39  PYTHON_VER=3.9  PYTHON_VERSION=python3.9 PYTHON2="@comment " PYTHON3="" OSREL=12.3 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib PERL_VERSION=5.32.1  PERL_VER=5.32  PERL5_MAN1=lib/perl5/site_perl/man/man1  PERL5_MAN3=lib/perl5/site_perl/man/man3  SITE_PERL=lib/perl5/site_perl  SITE_ARCH=lib/perl5/site_perl/mach/5.32 DOCSDIR="share/doc/rust"  EXAMPLESDIR="share/examples/rust"  DATADIR="share/rust"  WWWDIR="www/rust"  ETCDIR="etc/rust"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/rust DOCSDIR=/usr/local/share/doc/rust EXAMPLESDIR=/usr/local/share/examples/rust  WWWDIR=/usr/local/www/rust ETCDIR=/usr/local/etc/rust
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
FORCE_PACKAGE=yes
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
#### /usr/local/etc/poudriere.d/make.conf ####
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) Target: x86_64-unknown-freebsd12.3 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) Target: x86_64-unknown-freebsd12.3 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_53255a77=yes
CC_OUTPUT_921dbbb2_911cfe02=error: invalid value 'c++2b' in '-std=c++2b' note: use 'c++98' or 'c++03' for 'ISO C++ 1998 with amendments' standard note: use 'gnu++98' or 'gnu++03' for 'ISO C++ 1998 with amendments and GNU extensions' standard note: use 'c++11' for 'ISO C++ 2011 with amendments' standard note: use 'gnu++11' for 'ISO C++ 2011 with amendments and GNU extensions' standard note: use 'c++14' for 'ISO C++ 2014 with amendments' standard note: use 'gnu++14' for 'ISO C++ 2014 with amendments and GNU extensions' standard note: use 'c++17' for 'ISO C++ 2017 with amendments' standard note: use 'gnu++17' for 'ISO C++ 2017 with amendments and GNU extensions' standard note: use 'c++20' for 'ISO C++ 2020 DIS' standard note: use 'gnu++20' for 'ISO C++ 2020 DIS with GNU extensions' standard
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=error: invalid value 'gnu++2b' in '-std=gnu++2b' note: use 'c++98' or 'c++03' for 'ISO C++ 1998 with amendments' standard note: use 'gnu++98' or 'gnu++03' for 'ISO C++ 1998 with amendments and GNU extensions' standard note: use 'c++11' for 'ISO C++ 2011 with amendments' standard note: use 'gnu++11' for 'ISO C++ 2011 with amendments and GNU extensions' standard note: use 'c++14' for 'ISO C++ 2014 with amendments' standard note: use 'gnu++14' for 'ISO C++ 2014 with amendments and GNU extensions' standard note: use 'c++17' for 'ISO C++ 2017 with amendments' standard note: use 'gnu++17' for 'ISO C++ 2017 with amendments and GNU extensions' standard note: use 'c++20' for 'ISO C++ 2020 DIS' standard note: use 'gnu++20' for 'ISO C++ 2020 DIS with GNU extensions' standard
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) Target: x86_64-unknown-freebsd12.3 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=amd64
OPSYS=FreeBSD
_OSRELEASE=12.3-RELEASE-p10
OSREL=12.3
OSVERSION=1203000
PYTHONBASE=/usr/local
HAVE_COMPAT_IA32_KERN=YES
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  33554432
stack size              (kbytes, -s)  524288
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  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 APACHE20 MIT accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   powerpc64-rust-bootstrap-1.66.0 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.19.0.pkg
[123amd64-default-build-as-user-job-05] Installing pkg-1.19.0...
[123amd64-default-build-as-user-job-05] Extracting pkg-1.19.0: .......... done
===>   powerpc64-rust-bootstrap-1.66.0 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of powerpc64-rust-bootstrap-1.66.0
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License APACHE20 MIT accepted by the user
===> Fetching all distfiles required by powerpc64-rust-bootstrap-1.66.0 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License APACHE20 MIT accepted by the user
===> Fetching all distfiles required by powerpc64-rust-bootstrap-1.66.0 for building
=> SHA256 Checksum OK for rust/rustc-1.66.0-src.tar.xz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License APACHE20 MIT accepted by the user
===> Fetching all distfiles required by powerpc64-rust-bootstrap-1.66.0 for building
===>  Extracting for powerpc64-rust-bootstrap-1.66.0
=> SHA256 Checksum OK for rust/rustc-1.66.0-src.tar.xz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for powerpc64-rust-bootstrap-1.66.0
===>  Applying FreeBSD patches for powerpc64-rust-bootstrap-1.66.0 from /usr/ports/lang/rust-bootstrap/../rust/files
===========================================================================
=======================<phase: build-depends  >============================
===>   powerpc64-rust-bootstrap-1.66.0 depends on package: powerpc64-freebsd-sysroot>=a2021.09.14 - not found
===>   Installing existing package /packages/All/powerpc64-freebsd-sysroot-a2022.12.14.pkg
[123amd64-default-build-as-user-job-05] Installing powerpc64-freebsd-sysroot-a2022.12.14...
[123amd64-default-build-as-user-job-05] Extracting powerpc64-freebsd-sysroot-a2022.12.14: .......... done
===>   powerpc64-rust-bootstrap-1.66.0 depends on package: powerpc64-freebsd-sysroot>=a2021.09.14 - found
===>   Returning to build of powerpc64-rust-bootstrap-1.66.0
===>   powerpc64-rust-bootstrap-1.66.0 depends on executable: cmake - not found
===>   Installing existing package /packages/All/cmake-core-3.24.3_2.pkg
[123amd64-default-build-as-user-job-05] Installing cmake-core-3.24.3_2...
[123amd64-default-build-as-user-job-05] `-- Installing expat-2.5.0...
[123amd64-default-build-as-user-job-05] `-- Extracting expat-2.5.0: .......... done
[123amd64-default-build-as-user-job-05] `-- Installing jsoncpp-1.9.5...
[123amd64-default-build-as-user-job-05] `-- Extracting jsoncpp-1.9.5: .......... done
[123amd64-default-build-as-user-job-05] `-- Installing libuv-1.44.2...
[123amd64-default-build-as-user-job-05] `-- Extracting libuv-1.44.2: .......... done
[123amd64-default-build-as-user-job-05] `-- Installing rhash-1.4.3...
[123amd64-default-build-as-user-job-05] |   `-- Installing gettext-runtime-0.21.1...
[123amd64-default-build-as-user-job-05] |   | `-- Installing indexinfo-0.3.1...
[123amd64-default-build-as-user-job-05] |   | `-- Extracting indexinfo-0.3.1: .... done
[123amd64-default-build-as-user-job-05] |   `-- Extracting gettext-runtime-0.21.1: .......... done
<snip>
[ 10% 240/2348] Building IntrinsicsAArch64.h...
[ 10% 241/2348] Building IntrinsicsAMDGPU.h...
[ 10% 242/2348] Building IntrinsicsARM.h...
[ 10% 243/2348] Building IntrinsicsBPF.h...
[ 10% 244/2348] Building IntrinsicsDirectX.h...
[ 10% 245/2348] Building IntrinsicsHexagon.h...
[ 10% 246/2348] Building IntrinsicsMips.h...
[ 10% 247/2348] Building IntrinsicsNVPTX.h...
[ 10% 248/2348] Building IntrinsicsPowerPC.h...
[ 10% 249/2348] Building IntrinsicsR600.h...
[ 10% 250/2348] Building IntrinsicsRISCV.h...
[ 10% 251/2348] Building IntrinsicsS390.h...
[ 10% 252/2348] Building IntrinsicsSPIRV.h...
[ 10% 253/2348] Building IntrinsicsVE.h...
[ 10% 254/2348] Building IntrinsicsWebAssembly.h...
[ 10% 255/2348] Building IntrinsicsX86.h...
[ 10% 256/2348] Building IntrinsicsXCore.h...
[ 10% 257/2348] Generating VCSRevision.h
CMake Warning at /wrkdirs/usr/ports/lang/rust-bootstrap/work-powerpc64/rustc-1.66.0-src/src/llvm-project/llvm/cmake/modules/VersionFromVCS.cmake:49 (message):
  Git not found.  Version cannot be determined.
Call Stack (most recent call first):
  /wrkdirs/usr/ports/lang/rust-bootstrap/work-powerpc64/rustc-1.66.0-src/src/llvm-project/llvm/cmake/modules/GenerateVersionFromVCS.cmake:23 (get_source_info)
  /wrkdirs/usr/ports/lang/rust-bootstrap/work-powerpc64/rustc-1.66.0-src/src/llvm-project/llvm/cmake/modules/GenerateVersionFromVCS.cmake:45 (append_info)


[ 10% 258/2348] Building ACC.h.inc...
[ 10% 259/2348] Building ACC.inc...
[ 11% 260/2348] Building OMP.h.inc...
[ 11% 261/2348] Building OMP.inc...
[ 11% 262/2348] Building CXX object lib/FuzzMutate/CMakeFiles/LLVMFuzzerCLI.dir/FuzzerCLI.cpp.o
[ 11% 263/2348] Building CXX object utils/TableGen/GlobalISel/CMakeFiles/LLVMTableGenGlobalISel.dir/GIMatchTree.cpp.o
[ 11% 264/2348] Linking CXX static library lib/libLLVMTableGenGlobalISel.a
[ 11% 265/2348] Linking CXX executable bin/llvm-tblgen
FAILED: bin/llvm-tblgen 
: && /usr/local/freebsd-sysroot/powerpc64/bin/c++ -ffunction-sections -fdata-sections -fPIC -m64 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wno-comment -Wstring-conversion -Wmisleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -lz  -fstack-protector-strong  -Wl,-Bsymbolic -static-libstdc++ -Wl,--color-diagnostics    -Wl,-z,origin  -Wl,--gc-sections utils/TableGen/CMakeFiles/llvm-tblgen.dir/AsmMatcherEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/AsmWriterEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/AsmWriterInst.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/Attributes.cpp.o uti
 ls/TableGen/CMakeFiles/llvm-tblgen.dir/CallingConvEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/CodeEmitterGen.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/CodeGenDAGPatterns.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/CodeGenHwModes.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/CodeGenInstruction.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/CodeGenMapTable.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/CodeGenRegisters.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/CodeGenSchedule.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/CodeGenTarget.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/DAGISelEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/DAGISelMatcherEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/DAGISelMatcherGen.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/DAGISelMatcherOpt.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/DAGISelMatcher.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/DecoderEmitter.cpp.o utils/TableGen/CMakeFiles/l
 lvm-tblgen.dir/DFAEmitter.cpp.o utils/TableG!
 en/CMakeFiles/llvm-tblgen.dir/DFAPacketizerEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/DirectiveEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/DisassemblerEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/DXILEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/ExegesisEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/FastISelEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/GICombinerEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/GlobalISelEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/InfoByHwMode.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/InstrInfoEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/InstrDocsEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/IntrinsicEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/OptEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/OptParserEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/OptRSTEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/Pre
 dicateExpander.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/PseudoLoweringEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/CompressInstEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/RegisterBankEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/RegisterInfoEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/SDNodeProperties.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/SearchableTableEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/SubtargetEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/SubtargetFeatureInfo.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/TableGen.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/Types.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/VarLenCodeEmitterGen.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/X86DisassemblerTables.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/X86EVEX2VEXTablesEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/X86FoldTablesEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.di
 r/X86MnemonicTables.cpp.o utils/TableGen/CMa!
 keFiles/l!
 lvm-tblgen.dir/X86ModRMFilters.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/X86RecognizableInstr.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/WebAssemblyDisassemblerEmitter.cpp.o utils/TableGen/CMakeFiles/llvm-tblgen.dir/CTagsEmitter.cpp.o -o bin/llvm-tblgen  -Wl,-rpath,"\$ORIGIN/../lib"  lib/libLLVMSupport.a  lib/libLLVMTableGen.a  -lpthread  lib/libLLVMTableGenGlobalISel.a  lib/libLLVMTableGen.a  lib/libLLVMSupport.a  -lrt  -lexecinfo  -lpthread  -lm  lib/libLLVMDemangle.a && :
c++: warning: argument unused during compilation: '-static-libstdc++' [-Wunused-command-line-argument]
ld: error: relocation refers to a discarded section: .text._ZNSt3__127__tree_balance_after_insertIPNS_16__tree_node_baseIPvEEEEvT_S5_
>>> defined in utils/TableGen/CMakeFiles/llvm-tblgen.dir/AsmWriterEmitter.cpp.o
>>> section group signature: _ZNSt3__127__tree_balance_after_insertIPNS_16__tree_node_baseIPvEEEEvT_S5_
>>> prevailing definition is in utils/TableGen/CMakeFiles/llvm-tblgen.dir/AsmMatcherEmitter.cpp.o
>>> referenced by AsmWriterEmitter.cpp
>>>               utils/TableGen/CMakeFiles/llvm-tblgen.dir/AsmWriterEmitter.cpp.o:(UnescapeString(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&))

ld: error: relocation refers to a discarded section: .text._ZN4llvmplERKNS_5TwineES2_
>>> defined in utils/TableGen/CMakeFiles/llvm-tblgen.dir/AsmWriterEmitter.cpp.o
>>> section group signature: _ZN4llvmplERKNS_5TwineES2_
>>> prevailing definition is in utils/TableGen/CMakeFiles/llvm-tblgen.dir/AsmMatcherEmitter.cpp.o
>>> referenced by AsmWriterEmitter.cpp
>>>               utils/TableGen/CMakeFiles/llvm-tblgen.dir/AsmWriterEmitter.cpp.o:(emitRegisterNameString(llvm::raw_ostream&, llvm::StringRef, std::__1::deque<llvm::CodeGenRegister, std::__1::allocator<llvm::CodeGenRegister> > const&))

ld: error: relocation refers to a discarded section: .text._ZNK4llvm6Record12isSubClassOfENS_9StringRefE
>>> defined in utils/TableGen/CMakeFiles/llvm-tblgen.dir/AsmWriterEmitter.cpp.o
>>> section group signature: _ZNK4llvm6Record12isSubClassOfENS_9StringRefE
>>> prevailing definition is in utils/TableGen/CMakeFiles/llvm-tblgen.dir/AsmMatcherEmitter.cpp.o
>>> referenced by AsmWriterEmitter.cpp
>>>               utils/TableGen/CMakeFiles/llvm-tblgen.dir/AsmWriterEmitter.cpp.o:(emitRegisterNameString(llvm::raw_ostream&, llvm::StringRef, std::__1::deque<llvm::CodeGenRegister, std::__1::allocator<llvm::CodeGenRegister> > const&))

ld: error: relocation refers to a discarded section: .text._ZN4llvmplERKNS_5TwineES2_
>>> defined in utils/TableGen/CMakeFiles/llvm-tblgen.dir/AsmWriterInst.cpp.o
>>> section group signature: _ZN4llvmplERKNS_5TwineES2_
>>> prevailing definition is in utils/TableGen/CMakeFiles/llvm-tblgen.dir/AsmMatcherEmitter.cpp.o
>>> referenced by AsmWriterInst.cpp
>>>               utils/TableGen/CMakeFiles/llvm-tblgen.dir/AsmWriterInst.cpp.o:(llvm::AsmWriterInst::AddLiteralString(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&))

ld: error: relocation refers to a discarded section: .text._ZNSt3__127__tree_balance_after_insertIPNS_16__tree_node_baseIPvEEEEvT_S5_
>>> defined in utils/TableGen/CMakeFiles/llvm-tblgen.dir/CallingConvEmitter.cpp.o
>>> section group signature: _ZNSt3__127__tree_balance_after_insertIPNS_16__tree_node_baseIPvEEEEvT_S5_
>>> prevailing definition is in utils/TableGen/CMakeFiles/llvm-tblgen.dir/AsmMatcherEmitter.cpp.o
>>> referenced by CallingConvEmitter.cpp
>>>               utils/TableGen/CMakeFiles/llvm-tblgen.dir/CallingConvEmitter.cpp.o:((anonymous namespace)::CallingConvEmitter::EmitAction(llvm::Record*, unsigned int, llvm::raw_ostream&))

ld: error: relocation refers to a discarded section: .text._ZNSt3__16__treeINS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEENS_4lessIS6_EENS4_IS6_EEE7destroyEPNS_11__tree_nodeIS6_PvEE
>>> defined in utils/TableGen/CMakeFiles/llvm-tblgen.dir/CallingConvEmitter.cpp.o
>>> section group signature: _ZNSt3__16__treeINS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEENS_4lessIS6_EENS4_IS6_EEE7destroyEPNS_11__tree_nodeIS6_PvEE
>>> prevailing definition is in utils/TableGen/CMakeFiles/llvm-tblgen.dir/AsmMatcherEmitter.cpp.o
>>> referenced by CallingConvEmitter.cpp
>>>               utils/TableGen/CMakeFiles/llvm-tblgen.dir/CallingConvEmitter.cpp.o:((anonymous namespace)::CallingConvEmitter::EmitAction(llvm::Record*, unsigned int, llvm::raw_ostream&))

ld: error: relocation refers to a discarded section: .text._ZNK4llvm6Record12isSubClassOfENS_9StringRefE
>>> defined in utils/TableGen/CMakeFiles/llvm-tblgen.dir/CallingConvEmitter.cpp.o
>>> section group signature: _ZNK4llvm6Record12isSubClassOfENS_9StringRefE
>>> prevailing definition is in utils/TableGen/CMakeFiles/llvm-tblgen.dir/AsmMatcherEmitter.cpp.o
>>> referenced by CallingConvEmitter.cpp
>>>               utils/TableGen/CMakeFiles/llvm-tblgen.dir/CallingConvEmitter.cpp.o:((anonymous namespace)::CallingConvEmitter::EmitAction(llvm::Record*, unsigned int, llvm::raw_ostream&))

ld: error: relocation refers to a discarded section: .text._ZNSt3__16__treeINS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEENS_4lessIS6_EENS4_IS6_EEE25__emplace_unique_key_argsIS6_JS6_EEENS_4pairINS_15__tree_iteratorIS6_PNS_11__tree_nodeIS6_PvEElEEbEERKT_DpOT0_
>>> defined in utils/TableGen/CMakeFiles/llvm-tblgen.dir/CallingConvEmitter.cpp.o
>>> section group signature: _ZNSt3__16__treeINS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEENS_4lessIS6_EENS4_IS6_EEE25__emplace_unique_key_argsIS6_JS6_EEENS_4pairINS_15__tree_iteratorIS6_PNS_11__tree_nodeIS6_PvEElEEbEERKT_DpOT0_
>>> prevailing definition is in utils/TableGen/CMakeFiles/llvm-tblgen.dir/AsmMatcherEmitter.cpp.o
>>> referenced by CallingConvEmitter.cpp
>>>               utils/TableGen/CMakeFiles/llvm-tblgen.dir/CallingConvEmitter.cpp.o:((anonymous namespace)::CallingConvEmitter::EmitAction(llvm::Record*, unsigned int, llvm::raw_ostream&))

ld: error: relocation refers to a discarded section: .text._ZNSt3__113__tree_removeIPNS_16__tree_node_baseIPvEEEEvT_S5_
>>> defined in utils/TableGen/CMakeFiles/llvm-tblgen.dir/CallingConvEmitter.cpp.o
>>> section group signature: _ZNSt3__113__tree_removeIPNS_16__tree_node_baseIPvEEEEvT_S5_
>>> prevailing definition is in utils/TableGen/CMakeFiles/llvm-tblgen.dir/AsmWriterEmitter.cpp.o
>>> referenced by CallingConvEmitter.cpp
>>>               utils/TableGen/CMakeFiles/llvm-tblgen.dir/CallingConvEmitter.cpp.o:((anonymous namespace)::CallingConvEmitter::EmitAction(llvm::Record*, unsigned int, llvm::raw_ostream&))

ld: error: relocation refers to a discarded section: .text._ZNSt3__127__tree_balance_after_insertIPNS_16__tree_node_baseIPvEEEEvT_S5_
>>> defined in utils/TableGen/CMakeFiles/llvm-tblgen.dir/CodeEmitterGen.cpp.o
>>> section group signature: _ZNSt3__127__tree_balance_after_insertIPNS_16__tree_node_baseIPvEEEEvT_S5_
>>> prevailing definition is in utils/TableGen/CMakeFiles/llvm-tblgen.dir/AsmMatcherEmitter.cpp.o
>>> referenced by CodeEmitterGen.cpp
>>>               utils/TableGen/CMakeFiles/llvm-tblgen.dir/CodeEmitterGen.cpp.o:((anonymous namespace)::CodeEmitterGen::emitInstructionBaseValues(llvm::raw_ostream&, llvm::ArrayRef<llvm::CodeGenInstruction const*>, llvm::CodeGenTarget&, int))

ld: error: relocation refers to a discarded section: .text._ZN4llvm6itostrEl
>>> defined in utils/TableGen/CMakeFiles/llvm-tblgen.dir/CodeEmitterGen.cpp.o
>>> section group signature: _ZN4llvm6itostrEl
>>> prevailing definition is in utils/TableGen/CMakeFiles/llvm-tblgen.dir/AsmMatcherEmitter.cpp.o
>>> referenced by CodeEmitterGen.cpp
>>>               utils/TableGen/CMakeFiles/llvm-tblgen.dir/CodeEmitterGen.cpp.o:((anonymous namespace)::emitInstBits(llvm::raw_ostream&, llvm::APInt const&))

ld: error: relocation refers to a discarded section: .text._ZN4llvm11raw_ostreamlsEPKc
>>> defined in utils/TableGen/CMakeFiles/llvm-tblgen.dir/CodeGenDAGPatterns.cpp.o
>>> section group signature: _ZN4llvm11raw_ostreamlsEPKc
>>> prevailing definition is in utils/TableGen/CMakeFiles/llvm-tblgen.dir/CodeEmitterGen.cpp.o
>>> referenced by CodeGenDAGPatterns.cpp
>>>               utils/TableGen/CMakeFiles/llvm-tblgen.dir/CodeGenDAGPatterns.cpp.o:(llvm::TypeSetByHwMode::insert(llvm::ValueTypeByHwMode const&))

ld: error: relocation refers to a discarded section: .text._ZN4llvmplERKNS_5TwineES2_
>>> defined in utils/TableGen/CMakeFiles/llvm-tblgen.dir/CodeGenDAGPatterns.cpp.o
>>> section group signature: _ZN4llvmplERKNS_5TwineES2_
>>> prevailing definition is in utils/TableGen/CMakeFiles/llvm-tblgen.dir/AsmMatcherEmitter.cpp.o
>>> referenced by CodeGenDAGPatterns.cpp
>>>               utils/TableGen/CMakeFiles/llvm-tblgen.dir/CodeGenDAGPatterns.cpp.o:(std::__1::__bind<llvm::TypeInfer::EnforceSameSize(llvm::TypeSetByHwMode&, llvm::TypeSetByHwMode&)::$_12&, llvm::SmallSet<llvm::TypeSize, 2u, (anonymous namespace)::TypeSizeComparator>&, std::__1::placeholders::__ph<1> const&> std::__1::bind<llvm::TypeInfer::EnforceSameSize(llvm::TypeSetByHwMode&, llvm::TypeSetByHwMode&)::$_12&, llvm::SmallSet<llvm::TypeSize, 2u, (anonymous namespace)::TypeSizeComparator>&, std::__1::placeholders::__ph<1> const&>(llvm::TypeInfer::EnforceSameSize(llvm::TypeSetByHwMode&, llvm::TypeSetByHwMode&)::$_12&, llvm::SmallSet<llvm::TypeSize, 2u, (anonymous namespace)::TypeSizeComparator>&, std::__1::placeholders::__ph<1> const&))

ld: error: relocation refers to a discarded section: .text._ZNK4llvm6Record12isSubClassOfENS_9StringRefE
>>> defined in utils/TableGen/CMakeFiles/llvm-tblgen.dir/CodeGenDAGPatterns.cpp.o
>>> section group signature: _ZNK4llvm6Record12isSubClassOfENS_9StringRefE
>>> prevailing definition is in utils/TableGen/CMakeFiles/llvm-tblgen.dir/AsmMatcherEmitter.cpp.o
>>> referenced by CodeGenDAGPatterns.cpp
>>>               utils/TableGen/CMakeFiles/llvm-tblgen.dir/CodeGenDAGPatterns.cpp.o:(getPatternSize(llvm::TreePatternNode const*, llvm::CodeGenDAGPatterns const&))

ld: error: relocation refers to a discarded section: .text._ZNSt3__127__tree_balance_after_insertIPNS_16__tree_node_baseIPvEEEEvT_S5_
>>> defined in utils/TableGen/CMakeFiles/llvm-tblgen.dir/CodeGenDAGPatterns.cpp.o
>>> section group signature: _ZNSt3__127__tree_balance_after_insertIPNS_16__tree_node_baseIPvEEEEvT_S5_
>>> prevailing definition is in utils/TableGen/CMakeFiles/llvm-tblgen.dir/AsmMatcherEmitter.cpp.o
>>> referenced by CodeGenDAGPatterns.cpp
>>>               utils/TableGen/CMakeFiles/llvm-tblgen.dir/CodeGenDAGPatterns.cpp.o:(SimplifyTree(std::__1::shared_ptr<llvm::TreePatternNode>&))

ld: error: relocation refers to a discarded section: .text._ZN4llvm18raw_string_ostreamC2ERNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE
>>> defined in utils/TableGen/CMakeFiles/llvm-tblgen.dir/CodeGenDAGPatterns.cpp.o
>>> section group signature: _ZN4llvm18raw_string_ostreamC2ERNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE
>>> prevailing definition is in utils/TableGen/CMakeFiles/llvm-tblgen.dir/CodeEmitterGen.cpp.o
>>> referenced by CodeGenDAGPatterns.cpp
>>>               utils/TableGen/CMakeFiles/llvm-tblgen.dir/CodeGenDAGPatterns.cpp.o:(SimplifyTree(std::__1::shared_ptr<llvm::TreePatternNode>&))

ld: error: relocation refers to a discarded section: .text._ZNSt3__16__treeINS_12__value_typeINS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEjEENS_19__map_value_compareIS7_S8_NS_4lessIS7_EELb1EEENS5_IS8_EEE7destroyEPNS_11__tree_nodeIS8_PvEE
>>> defined in utils/TableGen/CMakeFiles/llvm-tblgen.dir/CodeGenDAGPatterns.cpp.o
>>> section group signature: _ZNSt3__16__treeINS_12__value_typeINS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEjEENS_19__map_value_compareIS7_S8_NS_4lessIS7_EELb1EEENS5_IS8_EEE7destroyEPNS_11__tree_nodeIS8_PvEE
>>> prevailing definition is in utils/TableGen/CMakeFiles/llvm-tblgen.dir/AsmWriterEmitter.cpp.o
>>> referenced by CodeGenDAGPatterns.cpp
>>>               utils/TableGen/CMakeFiles/llvm-tblgen.dir/CodeGenDAGPatterns.cpp.o:(SimplifyTree(std::__1::shared_ptr<llvm::TreePatternNode>&))

ld: error: relocation refers to a discarded section: .text._ZNSt3__16__treeIjNS_4lessIjEENS_9allocatorIjEEE7destroyEPNS_11__tree_nodeIjPvEE
>>> defined in utils/TableGen/CMakeFiles/llvm-tblgen.dir/CodeGenDAGPatterns.cpp.o
>>> section group signature: _ZNSt3__16__treeIjNS_4lessIjEENS_9allocatorIjEEE7destroyEPNS_11__tree_nodeIjPvEE
>>> prevailing definition is in utils/TableGen/CMakeFiles/llvm-tblgen.dir/CodeEmitterGen.cpp.o
>>> referenced by CodeGenDAGPatterns.cpp
>>>               utils/TableGen/CMakeFiles/llvm-tblgen.dir/CodeGenDAGPatterns.cpp.o:(FindDepVarsOf(llvm::TreePatternNode*, llvm::StringMap<int, llvm::MallocAllocator>&))

ld: error: relocation refers to a discarded section: .text._ZNSt3__16vectorINS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEENS4_IS6_EEE21__push_back_slow_pathIS6_EEvOT_
>>> defined in utils/TableGen/CMakeFiles/llvm-tblgen.dir/CodeGenDAGPatterns.cpp.o
>>> section group signature: _ZNSt3__16vectorINS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEENS4_IS6_EEE21__push_back_slow_pathIS6_EEvOT_
>>> prevailing definition is in utils/TableGen/CMakeFiles/llvm-tblgen.dir/CodeEmitterGen.cpp.o
>>> referenced by CodeGenDAGPatterns.cpp
>>>               utils/TableGen/CMakeFiles/llvm-tblgen.dir/CodeGenDAGPatterns.cpp.o:(GenerateVariantsOf(std::__1::shared_ptr<llvm::TreePatternNode>, std::__1::vector<std::__1::shared_ptr<llvm::TreePatternNode>, std::__1::allocator<std::__1::shared_ptr<llvm::TreePatternNode> > >&, llvm::CodeGenDAGPatterns&, llvm::StringSet<llvm::MallocAllocator> const&))

ld: error: relocation refers to a discarded section: .text._ZNSt3__113__tree_removeIPNS_16__tree_node_baseIPvEEEEvT_S5_
>>> defined in utils/TableGen/CMakeFiles/llvm-tblgen.dir/CodeGenDAGPatterns.cpp.o
>>> section group signature: _ZNSt3__113__tree_removeIPNS_16__tree_node_baseIPvEEEEvT_S5_
>>> prevailing definition is in utils/TableGen/CMakeFiles/llvm-tblgen.dir/AsmWriterEmitter.cpp.o
>>> referenced by CodeGenDAGPatterns.cpp
>>>               utils/TableGen/CMakeFiles/llvm-tblgen.dir/CodeGenDAGPatterns.cpp.o:(GenerateVariantsOf(std::__1::shared_ptr<llvm::TreePatternNode>, std::__1::vector<std::__1::shared_ptr<llvm::TreePatternNode>, std::__1::allocator<std::__1::shared_ptr<llvm::TreePatternNode> > >&, llvm::CodeGenDAGPatterns&, llvm::StringSet<llvm::MallocAllocator> const&))

ld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors)
c++: error: linker command failed with exit code 1 (use -v to see invocation)
[ 11% 265/2348] Building CXX object lib/IR/CMakeFiles/LLVMCore.dir/AbstractCallSite.cpp.o
ninja: build stopped: subcommand failed.
thread 'main' panicked at '
command did not execute successfully, got: exit status: 1

build script failed, must exit now', /wrkdirs/usr/ports/lang/rust-bootstrap/work-powerpc64/rustc-1.66.0-src/vendor/cmake/src/lib.rs:975:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
	finished in 448.272 seconds
Traceback (most recent call last):
  File "/wrkdirs/usr/ports/lang/rust-bootstrap/work-powerpc64/rustc-1.66.0-src/x.py", line 28, in <module>
    bootstrap.main()
  File "/wrkdirs/usr/ports/lang/rust-bootstrap/work-powerpc64/rustc-1.66.0-src/src/bootstrap/bootstrap.py", line 936, in main
    bootstrap(help_triggered)
  File "/wrkdirs/usr/ports/lang/rust-bootstrap/work-powerpc64/rustc-1.66.0-src/src/bootstrap/bootstrap.py", line 922, in bootstrap
    run(args, env=env, verbose=build.verbose, is_bootstrap=True)
  File "/wrkdirs/usr/ports/lang/rust-bootstrap/work-powerpc64/rustc-1.66.0-src/src/bootstrap/bootstrap.py", line 166, in run
    raise RuntimeError(err)
RuntimeError: failed to run: /wrkdirs/usr/ports/lang/rust-bootstrap/work-powerpc64/_build/bootstrap/debug/bootstrap dist --jobs=2 cargo rustc rust-std
*** Error code 1

Stop.
make: stopped in /usr/ports/lang/rust-bootstrap