[package - 130powerpc64-quarterly][devel/xtensa-esp32-elf] Failed for xtensa-esp32-elf-1.22.0.g20200907_1 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Thu, 09 Sep 2021 10:18:57 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:     leres@FreeBSD.org
Log URL:        http://foul1.nyi.freebsd.org/data/130powerpc64-quarterly/2963f756953b/logs/xtensa-esp32-elf-1.22.0.g20200907_1.log
Build URL:      http://foul1.nyi.freebsd.org/build.html?mastername=130powerpc64-quarterly&build=2963f756953b
Log:

=>> Building devel/xtensa-esp32-elf
build started at Thu Sep  9 10:05:24 UTC 2021
port directory: /usr/ports/devel/xtensa-esp32-elf
package name: xtensa-esp32-elf-1.22.0.g20200907_1
building for: FreeBSD 130powerpc64-quarterly-job-01 13.0-RELEASE FreeBSD 13.0-RELEASE powerpc
maintained by: leres@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-21-g883afb07
Host OSVERSION: 1400008
Jail OSVERSION: 1300139
Job Id: 01

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

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

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

--MAINTAINER--
leres@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake PYTHON="/usr/local/bin/python3.8" XDG_DATA_HOME=/wrkdirs/usr/ports/devel/xtensa-esp32-elf/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/xtensa-esp32-elf/work  HOME=/wrkdirs/usr/ports/devel/xtensa-esp32-elf/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/xtensa-esp32-elf/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/devel/xtensa-esp32-elf/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/xtensa-esp32-elf/work  HOME=/wrkdirs/usr/ports/devel/xtensa-esp32-elf/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/xtensa-esp32-elf/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="gcc9" CFLAGS="-O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc9 -fno-strict-aliasing "  CPP="cpp9" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong -Wl,-rpath=/
 usr/local/lib/gcc9 -L/usr/local/lib/gcc9 " LIBS=""  CXX="g++9" CXXFLAGS="-O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc9  -Wl,-rpath=/usr/local/lib/gcc9 "  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--
PKGBASE=xtensa-esp32-elf GCCVER=5.2.0 PYTHON_INCLUDEDIR=include/python3.8  PYTHON_LIBDIR=lib/python3.8  PYTHON_PLATFORM=freebsd13  PYTHON_SITELIBDIR=lib/python3.8/site-packages  PYTHON_SUFFIX=38  PYTHON_EXT_SUFFIX=.cpython-38  PYTHON_VER=3.8  PYTHON_VERSION=python3.8 PYTHON2="@comment " PYTHON3="" OSREL=13.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/xtensa-esp32-elf"  EXAMPLESDIR="share/examples/xtensa-esp32-elf"  DATADIR="share/xtensa-esp32-elf"  WWWDIR="www/xtensa-esp32-elf"  ETCDIR="etc/xtensa-esp32-elf"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/xtensa-esp32-elf DOCSDIR=/usr/local/share/doc/xtensa-esp32-elf EXAMPLESDIR=/usr/local/share/examples/xtensa-esp32-elf  WWWDIR=/usr/local/www/xtensa-esp32-elf ETCDIR=/usr/local/etc/xtensa-esp32-elf
--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=FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: powerpc64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: powerpc64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--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_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: powerpc64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=powerpc64
PPC_ABI=ELFv2
OPSYS=FreeBSD
_OSRELEASE=13.0-RELEASE
OSREL=13.0
OSVERSION=1300139
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 LGPL21 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   xtensa-esp32-elf-1.22.0.g20200907_1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.16.3.txz
[130powerpc64-quarterly-job-01] Installing pkg-1.16.3...
[130powerpc64-quarterly-job-01] Extracting pkg-1.16.3: .......... done
===>   xtensa-esp32-elf-1.22.0.g20200907_1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of xtensa-esp32-elf-1.22.0.g20200907_1
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv2 LGPL21 accepted by the user
===> Fetching all distfiles required by xtensa-esp32-elf-1.22.0.g20200907_1 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv2 LGPL21 accepted by the user
===> Fetching all distfiles required by xtensa-esp32-elf-1.22.0.g20200907_1 for building
=> SHA256 Checksum OK for binutils-2.25.1.tar.bz2.
=> SHA256 Checksum OK for expat-2.1.0.tar.gz.
=> SHA256 Checksum OK for gcc-5.2.0.tar.bz2.
=> SHA256 Checksum OK for gdb-7.10.tar.xz.
=> SHA256 Checksum OK for gmp-6.0.0a.tar.xz.
=> SHA256 Checksum OK for isl-0.14.tar.xz.
=> SHA256 Checksum OK for mpc-1.0.3.tar.gz.
=> SHA256 Checksum OK for mpfr-3.1.3.tar.xz.
=> SHA256 Checksum OK for ncurses-6.0.tar.gz.
=> SHA256 Checksum OK for newlib-2.2.0.tar.gz.
=> SHA256 Checksum OK for espressif-crosstool-NG-1.22.0.g20200907-1.22.0-97-gc752ad5_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv2 LGPL21 accepted by the user
===> Fetching all distfiles required by xtensa-esp32-elf-1.22.0.g20200907_1 for building
===>  Extracting for xtensa-esp32-elf-1.22.0.g20200907_1
=> SHA256 Checksum OK for binutils-2.25.1.tar.bz2.
=> SHA256 Checksum OK for expat-2.1.0.tar.gz.
=> SHA256 Checksum OK for gcc-5.2.0.tar.bz2.
=> SHA256 Checksum OK for gdb-7.10.tar.xz.
=> SHA256 Checksum OK for gmp-6.0.0a.tar.xz.
=> SHA256 Checksum OK for isl-0.14.tar.xz.
=> SHA256 Checksum OK for mpc-1.0.3.tar.gz.
=> SHA256 Checksum OK for mpfr-3.1.3.tar.xz.
=> SHA256 Checksum OK for ncurses-6.0.tar.gz.
=> SHA256 Checksum OK for newlib-2.2.0.tar.gz.
=> SHA256 Checksum OK for espressif-crosstool-NG-1.22.0.g20200907-1.22.0-97-gc752ad5_GH0.tar.gz.
/bin/mkdir -p /wrkdirs/usr/ports/devel/xtensa-esp32-elf/work/crosstool-NG-1.22.0-97-gc752ad5/.build/tarballs
/bin/ln -s /portdistfiles/binutils-2.25.1.tar.bz2 /wrkdirs/usr/ports/devel/xtensa-esp32-elf/work/crosstool-NG-1.22.0-97-gc752ad5/.build/tarballs
/bin/ln -s /portdistfiles/expat-2.1.0.tar.gz /wrkdirs/usr/ports/devel/xtensa-esp32-elf/work/crosstool-NG-1.22.0-97-gc752ad5/.build/tarballs
/bin/ln -s /portdistfiles/gcc-5.2.0.tar.bz2 /wrkdirs/usr/ports/devel/xtensa-esp32-elf/work/crosstool-NG-1.22.0-97-gc752ad5/.build/tarballs
/bin/ln -s /portdistfiles/gdb-7.10.tar.xz /wrkdirs/usr/ports/devel/xtensa-esp32-elf/work/crosstool-NG-1.22.0-97-gc752ad5/.build/tarballs
/bin/ln -s /portdistfiles/gmp-6.0.0a.tar.xz /wrkdirs/usr/ports/devel/xtensa-esp32-elf/work/crosstool-NG-1.22.0-97-gc752ad5/.build/tarballs
<snip>
checking for stat... stat
checking for readlink... readlink
checking for wget... wget
checking for tar... tar
checking for gzip... gzip
checking for bzip2... bzip2
checking for help2man... help2man
checking for gpatch... gpatch
checking for absolute path to gpatch... /usr/local/bin/gpatch
checking for bash >= 3.1... /usr/local/bin/bash
checking for GNU awk... /usr/local/bin/gawk
checking for GNU make >= 3.80... /usr/local/bin/gmake
checking whether /usr/local/bin/gmake sets $(MAKE)... yes
checking for make 3.81... no
checking for GNU libtool >= 1.5.26... /usr/local/bin/libtool
checking for GNU libtoolize >= 1.5.26... /usr/local/bin/libtoolize
checking for GNU automake >= 1.10... /usr/local/bin/automake
checking for the type used in gperf declarations... size_t
checking for xz... xz
checking for cvs... no
checking for svn... no
checking for inline... inline
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking for size_t... yes
checking for working alloca.h... no
checking for alloca... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking whether gettext is declared... yes
checking for library containing bindtextdomain... -lintl
checking ncurses/ncurses.h usability... no
checking ncurses/ncurses.h presence... no
checking for ncurses/ncurses.h... no
checking ncurses/curses.h usability... no
checking ncurses/curses.h presence... no
checking for ncurses/curses.h... no
checking ncursesw/curses.h usability... no
checking ncursesw/curses.h presence... no
checking for ncursesw/curses.h... no
checking ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
checking for library containing initscr... -lncursesw
checking for library containing tgetent... none required
configure: overiding all of --prefix and the likes, because --enable-local was set
configure: creating ./config.status
config.status: creating Makefile
cd /wrkdirs/usr/ports/devel/xtensa-esp32-elf/work/crosstool-NG-1.22.0-97-gc752ad5 &&  /usr/bin/env -uMAKELEVEL -uMAKEFLAGS -u.MAKE.LEVEL.ENV CT_ALLOW_BUILD_AS_ROOT_SURE=1  CT_FORBID_DOWNLOAD=y  GREP=/usr/local/bin/grep  LD_RUN_PATH=/usr/local/lib/gcc9  LDFLAGS=-I/usr/local/lib  PATH=/wrkdirs/usr/ports/devel/xtensa-esp32-elf/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin  gmake install && /usr/bin/env CT_ALLOW_BUILD_AS_ROOT_SURE=1  CT_FORBID_DOWNLOAD=y  GREP=/usr/local/bin/grep  LD_RUN_PATH=/usr/local/lib/gcc9  LDFLAGS=-I/usr/local/lib  PATH=/wrkdirs/usr/ports/devel/xtensa-esp32-elf/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin ./ct-ng xtensa-esp32-elf
  SED    'ct-ng'
  SED    'scripts/crosstool-NG.sh'
  SED    'scripts/saveSample.sh'
  SED    'scripts/showTuple.sh'
  GEN    'config/configure.in'
  GEN    'paths.mk'
  GEN    'paths.sh'
  DEP    'nconf.gui.dep'
  DEP    'nconf.dep'
  DEP    'lxdialog/yesno.dep'
  DEP    'lxdialog/util.dep'
  DEP    'lxdialog/textbox.dep'
  DEP    'lxdialog/menubox.dep'
  DEP    'lxdialog/inputbox.dep'
  DEP    'lxdialog/checklist.dep'
  DEP    'mconf.dep'
  DEP    'conf.dep'
  BISON  'zconf.tab.c'
  GPERF  'zconf.hash.c'
  LEX    'zconf.lex.c'
  DEP    'zconf.tab.dep'
  CC     'zconf.tab.o'
  CC     'conf.o'
  LD     'conf'
  CC     'lxdialog/checklist.o'
  CC     'lxdialog/inputbox.o'
  CC     'lxdialog/menubox.o'
  CC     'lxdialog/textbox.o'
  CC     'lxdialog/util.o'
  CC     'lxdialog/yesno.o'
  CC     'mconf.o'
  LD     'mconf'
  CC     'nconf.o'
  CC     'nconf.gui.o'
  LD     'nconf'
  SED    'docs/ct-ng.1'
  GZIP   'docs/ct-ng.1.gz'
gmake[1]: Entering directory '/wrkdirs/usr/ports/devel/xtensa-esp32-elf/work/crosstool-NG-1.22.0-97-gc752ad5'
  MKDIR config.gen
  IN    config.gen/arch.in
  IN    config.gen/kernel.in
  IN    config.gen/cc.in
  IN    config.gen/binutils.in
  IN    config.gen/libc.in
  IN    config.gen/debug.in
  CONF  config/config.in
#
# configuration written to .config
#

***********************************************************

Initially reported by: Ivan Grokhotkov <ivan@espressif.com>
URL: https://github.com/espressif/crosstool-NG

Comment:
Initially based on xtensa-esp108-elf sample reported by Max Filippov <jcmvbkbc@gmail.com>

***********************************************************

WARNING! This sample may enable experimental features.
         Please be sure to review the configuration prior
         to building and using your toolchain!
Now, you have been warned!

***********************************************************

Now configured for "xtensa-esp32-elf"
gmake[1]: Leaving directory '/wrkdirs/usr/ports/devel/xtensa-esp32-elf/work/crosstool-NG-1.22.0-97-gc752ad5'
===========================================================================
=======================<phase: build          >============================
===>  Building for xtensa-esp32-elf-1.22.0.g20200907_1
cd /wrkdirs/usr/ports/devel/xtensa-esp32-elf/work/crosstool-NG-1.22.0-97-gc752ad5 && /usr/bin/env CT_ALLOW_BUILD_AS_ROOT_SURE=1  CT_FORBID_DOWNLOAD=y  GREP=/usr/local/bin/grep  LD_RUN_PATH=/usr/local/lib/gcc9  LDFLAGS=-I/usr/local/lib  PATH=/wrkdirs/usr/ports/devel/xtensa-esp32-elf/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin ./ct-ng build
gmake[1]: Entering directory '/wrkdirs/usr/ports/devel/xtensa-esp32-elf/work/crosstool-NG-1.22.0-97-gc752ad5'
[INFO ]  Performing some trivial sanity checks
[INFO ]  Build started 20210909.100654
[INFO ]  Building environment variables
[INFO ]  =================================================================
[INFO ]  Retrieving needed toolchain components' tarballs
[INFO ]  Retrieving needed toolchain components' tarballs: done in 1.00s (at 00:18)
[INFO ]  =================================================================
[INFO ]  Extracting and patching toolchain components
[INFO ]  Extracting and patching toolchain components: done in 105.00s (at 02:03)
[INFO ]  =================================================================
[INFO ]  Installing ncurses for build
[INFO ]  Installing ncurses for build: done in 120.00s (at 04:03)
[INFO ]  =================================================================
[INFO ]  Installing GMP for host
[INFO ]  Installing GMP for host: done in 252.00s (at 08:15)
[INFO ]  =================================================================
[INFO ]  Installing MPFR for host
[INFO ]  Installing MPFR for host: done in 129.00s (at 10:24)
[INFO ]  =================================================================
[INFO ]  Installing ISL for host
[ERROR]    collect2: error: ld returned 1 exit status
[ERROR]    collect2: error: ld returned 1 exit status
[ERROR]    gmake[4]: *** [Makefile:1169: isl_closure] Error 1
[ERROR]    gmake[4]: *** [Makefile:1189: isl_polyhedron_sample] Error 1
[ERROR]    collect2: error: ld returned 1 exit status
[ERROR]    gmake[4]: *** [Makefile:1173: isl_codegen] Error 1
[ERROR]    collect2: error: ld returned 1 exit status
[ERROR]    collect2: error: ld returned 1 exit status
[ERROR]    collect2: error: ld returned 1 exit status
[ERROR]    gmake[4]: *** [Makefile:1193: isl_polytope_scan] Error 1
[ERROR]    collect2: error: ld returned 1 exit status
[ERROR]    gmake[4]: *** [Makefile:1165: isl_cat] Error 1
[ERROR]    gmake[4]: *** [Makefile:1177: isl_pip] Error 1
[ERROR]    gmake[4]: *** [Makefile:1161: isl_bound] Error 1
[ERROR]    collect2: error: ld returned 1 exit status
[ERROR]    collect2: error: ld returned 1 exit status
[ERROR]    gmake[4]: *** [Makefile:1185: isl_polyhedron_minimize] Error 1
[ERROR]    gmake[4]: *** [Makefile:1181: isl_polyhedron_detect_equalities] Error 1
[ERROR]    collect2: error: ld returned 1 exit status
[ERROR]    gmake[4]: *** [Makefile:1197: isl_test] Error 1
[ERROR]    gmake[3]: *** [Makefile:1418: all-recursive] Error 1
[ERROR]    gmake[2]: *** [Makefile:1040: all] Error 2
[ERROR]  
[ERROR]  >>
[ERROR]  >>  Build failed in step 'Installing ISL for host'
[ERROR]  >>        called in step '(top-level)'
[ERROR]  >>
[ERROR]  >>  Error happened in: CT_DoExecLog[scripts/functions@257]
[ERROR]  >>        called from: do_isl_backend[scripts/build/companion_libs/121-isl.sh@125]
[ERROR]  >>        called from: do_isl_for_host[scripts/build/companion_libs/121-isl.sh@73]
[ERROR]  >>        called from: do_companion_libs_for_host[scripts/build/companion_libs.sh@36]
[ERROR]  >>        called from: main[scripts/crosstool-NG.sh@646]
[ERROR]  >>
[ERROR]  >>  For more info on this error, look at the file: 'build.log'
[ERROR]  >>  There is a list of known issues, some with workarounds, in:
[ERROR]  >>      'docs/B - Known issues.txt'
[ERROR]  
[ERROR]  (elapsed: 11:52.00)
gmake[1]: *** [ct-ng:152: build] Error 2
gmake[1]: Leaving directory '/wrkdirs/usr/ports/devel/xtensa-esp32-elf/work/crosstool-NG-1.22.0-97-gc752ad5'
*** Error code 2

Stop.
make: stopped in /usr/ports/devel/xtensa-esp32-elf