[Bug 262560] devel/libunwind cannot build on arm6.aarch64

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 14 Mar 2022 22:29:42 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262560

            Bug ID: 262560
           Summary: devel/libunwind cannot build on arm6.aarch64
           Product: Ports & Packages
           Version: Latest
          Hardware: arm64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: sunpoet@FreeBSD.org
          Reporter: karamelichkin@gmail.com
             Flags: maintainer-feedback?(sunpoet@FreeBSD.org)
          Assignee: sunpoet@FreeBSD.org

clean poudriere box
cache is disabled

LOG:


=>> Building devel/libunwind
build started at Tue Mar 15 01:11:01 MSK 2022
port directory: /usr/ports/devel/libunwind
package name: libunwind-20211201
building for: FreeBSD 13RxARM64-main-base_build-job-01 13.0-RELEASE FreeBSD
13.0-RELEASE 1300139 arm64
maintained by: sunpoet@FreeBSD.org
Makefile ident: 
Poudriere version: 3.3.7_1
Host OSVERSION: 1300139
Jail OSVERSION: 1300139
Job Id: 01

---Begin Environment---
SHELL=/bin/csh
UNAME_p=aarch64
UNAME_m=arm64
ABI_FILE=/usr/lib/crt1.o
OSVERSION=1300139
UNAME_v=FreeBSD 13.0-RELEASE 1300139
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
QEMU_EMULATING=1
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.3.7_1
MASTERMNT=/builder/data/.m/13RxARM64-main-base_build/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=screen
PWD=/builder/data/.m/13RxARM64-main-base_build/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=13RxARM64-main-base_build
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/builder/data/.m/13RxARM64-main-base_build/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--
sunpoet@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
ac_cv_path_LATEX2MAN=true --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/devel/libunwind/work 
XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/libunwind/work 
XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/libunwind/work/.cache 
HOME=/wrkdirs/usr/ports/devel/libunwind/work TMPDIR="/tmp"
PATH=/wrkdirs/usr/ports/devel/libunwind/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
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/libunwind/work 
XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/libunwind/work 
XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/libunwind/work/.cache 
HOME=/wrkdirs/usr/ports/devel/libunwind/work TMPDIR="/tmp"
PATH=/wrkdirs/usr/ports/devel/libunwind/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
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-strict-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--
ARCH=aarch64 COREDUMP="" OSREL=13.0 PREFIX=%D LOCALBASE=/usr/local 
RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/libunwind" 
EXAMPLESDIR="share/examples/libunwind"  DATADIR="share/libunwind" 
WWWDIR="www/libunwind"  ETCDIR="etc/libunwind"
--End PLIST_SUB--

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

---Begin make.conf---
.sinclude "/etc/make.nxb.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
MACHINE=arm64
MACHINE_ARCH=aarch64
ARCH=${MACHINE_ARCH}
#### /usr/local/etc/poudriere.d/13RxARM64-make.conf ####
OPTIONS_UNSET+=DOCS EXAMPLES TESTS TEST MANPAGES MAN3 MAN4 NSS OPENGL X X11
INFO DEBUG CUPS KERBEROS WAYLAND AO2 GE2 GQ2 KA2
LICENSES_ACCEPTED=PDFlib
DEFAULT_VERSIONS+= apache=2.4 pgsql=9.6 samba=4.13 ruby=2.7 mysql=103m
python=3.7 ssl=base java=8 php=74
WITH_CCACHE_BUILD=yes
CCACHE_DIR=/root/.ccache
#### Misc Poudriere ####
.include "/etc/make.conf.ports_env"
GID=0
UID=0
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  131072
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)  19213
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 MIT accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   libunwind-20211201 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.17.5_1.pkg
[13RxARM64-main-base_build-job-01] Installing pkg-1.17.5_1...
[13RxARM64-main-base_build-job-01] Extracting pkg-1.17.5_1: .......... done
===>   libunwind-20211201 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of libunwind-20211201
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License MIT accepted by the user
===> Fetching all distfiles required by libunwind-20211201 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License MIT accepted by the user
===> Fetching all distfiles required by libunwind-20211201 for building
=> SHA256 Checksum OK for libunwind-1.6.2.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License MIT accepted by the user
===> Fetching all distfiles required by libunwind-20211201 for building
===>  Extracting for libunwind-20211201
=> SHA256 Checksum OK for libunwind-1.6.2.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for libunwind-20211201
===========================================================================
=======================<phase: build-depends  >============================
===>   libunwind-20211201 depends on package: pkgconf>=1.3.0_1 - not found
===>   Installing existing package /packages/All/pkgconf-1.8.0,1.pkg
[13RxARM64-main-base_build-job-01] Installing pkgconf-1.8.0,1...
[13RxARM64-main-base_build-job-01] Extracting pkgconf-1.8.0,1: .......... done
===>   libunwind-20211201 depends on package: pkgconf>=1.3.0_1 - found
===>   Returning to build of libunwind-20211201
===>   libunwind-20211201 depends on file: /usr/local/bin/ccache - not found
===>   Installing existing package /packages/All/ccache-3.7.12_3.pkg
[13RxARM64-main-base_build-job-01] Installing ccache-3.7.12_3...
[13RxARM64-main-base_build-job-01] Extracting ccache-3.7.12_3: ....... done
Create compiler links...
create symlink for cc
create symlink for cc (world)
create symlink for c++
create symlink for c++ (world)
create symlink for CC
create symlink for CC (world)
create symlink for clang
create symlink for clang (world)
create symlink for clang++
create symlink for clang++ (world)
=====
Message from ccache-3.7.12_3:

--
NOTE:
Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for
information on using ccache with FreeBSD ports and src.
===>   libunwind-20211201 depends on file: /usr/local/bin/ccache - found
===>   Returning to build of libunwind-20211201
===========================================================================
=======================<phase: lib-depends    >============================
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for libunwind-20211201
configure: loading site script /usr/ports/Templates/config.site
checking build system type... aarch64-portbld-freebsd13.0
checking host system type... aarch64-portbld-freebsd13.0
checking target system type... aarch64-portbld-freebsd13.0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p
checking for gawk... (cached) /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking whether cc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of cc... gcc3
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking dependency style of c++... gcc3
checking whether make sets $(MAKE)... (cached) yes
checking for ar... ar
checking the archiver (ar) interface... ar
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for fgrep... (cached) /usr/bin/fgrep
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm
checking the name lister (/usr/bin/nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... (cached) 524288
checking how to convert aarch64-portbld-freebsd13.0 file names to
aarch64-portbld-freebsd13.0 format... func_convert_file_noop
checking how to convert aarch64-portbld-freebsd13.0 file names to toolchain
format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... no
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm output from cc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... cpp
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for dlfcn.h... (cached) yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... yes
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... freebsd13.0 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... c++ -E
checking for ld used by c++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking for c++ option to produce PIC... -fPIC -DPIC
checking if c++ PIC flag -fPIC -DPIC works... yes
checking if c++ static flag -static works... yes
checking if c++ supports -c -o file.o... yes
checking if c++ supports -c -o file.o... (cached) yes
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... freebsd13.0 ld.so
checking how to hardcode library paths into programs... immediate
checking dependency style of cc... gcc3
checking for __uc_get_grs in -luca... no
checking for library containing dlopen... none required
checking for ANSI C header files... (cached) yes
checking asm/ptrace_offsets.h usability... no
checking asm/ptrace_offsets.h presence... no
checking for asm/ptrace_offsets.h... no
checking asm/ptrace.h usability... no
checking asm/ptrace.h presence... no
checking for asm/ptrace.h... no
checking endian.h usability... no
checking endian.h presence... no
checking for endian.h... no
checking sys/endian.h usability... yes
checking sys/endian.h presence... yes
checking for sys/endian.h... yes
checking for sys/param.h... (cached) yes
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking ia64intrin.h usability... no
checking ia64intrin.h presence... no
checking for ia64intrin.h... no
checking sys/uc_access.h usability... no
checking sys/uc_access.h presence... no
checking for sys/uc_access.h... no
checking for unistd.h... (cached) yes
checking for signal.h... (cached) yes
checking for sys/types.h... (cached) yes
checking sys/procfs.h usability... yes
checking sys/procfs.h presence... yes
checking for sys/procfs.h... yes
checking for sys/ptrace.h... (cached) yes
checking sys/syscall.h usability... yes
checking sys/syscall.h presence... yes
checking for sys/syscall.h... yes
checking for byteswap.h... (cached) no
checking for elf.h... (cached) yes
checking sys/elf.h usability... yes
checking sys/elf.h presence... yes
checking for sys/elf.h... yes
checking link.h usability... yes
checking link.h presence... yes
checking for link.h... yes
checking sys/link.h usability... no
checking sys/link.h presence... no
checking for sys/link.h... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... (cached) yes
checking size of off_t... 8
checking for struct dl_phdr_info.dlpi_subs... yes
checking for struct elf_prstatus... no
checking for struct prstatus... yes
checking whether PTRACE_POKEUSER is declared... no
checking whether PTRACE_POKEDATA is declared... no
checking whether PTRACE_SETREGSET is declared... no
checking whether PTRACE_TRACEME is declared... no
checking whether PTRACE_CONT is declared... no
checking whether PTRACE_SINGLESTEP is declared... no
checking whether PTRACE_SYSCALL is declared... yes
checking whether PT_IO is declared... yes
checking whether PT_GETREGS is declared... yes
checking whether PT_GETFPREGS is declared... yes
checking whether PT_CONTINUE is declared... yes
checking whether PT_TRACE_ME is declared... yes
checking whether PT_STEP is declared... yes
checking whether PT_SYSCALL is declared... yes
checking for dl_iterate_phdr... yes
checking for dl_phdr_removals_counter... no
checking for dlmodinfo... no
checking for getunwind... no
checking for ttrace... no
checking for mincore... (cached) yes
checking for pipe2... yes
checking if building with AltiVec... no
checking for Android... no
checking if we should build libunwind-coredump... yes
checking for sys/ptrace.h... (cached) yes
checking if we should build libunwind-ptrace... yes
checking if we should export unwind.h... yes
checking if we should build libunwind-setjmp... yes
checking for build architecture... aarch64
checking for host architecture... aarch64
checking for target architecture... aarch64
checking for target operating system... freebsd13.0
checking for ELF helper width... 64
checking whether to include DWARF support... yes
checking whether to restrict build to remote support... no
checking whether to enable debug support... 
checking whether to enable C++ exception support... no
checking whether to load .debug_frame sections... yes
checking whether to block signals during mutex ops... yes
checking whether to validate memory addresses before use... yes
checking whether to enable msabi support... 
checking whether to support LZMA-compressed symbol tables... auto
checking for lzma_mf_is_supported in -llzma... yes
checking whether to support ZLIB-compressed symbol tables... auto
checking for uncompress in -lz... yes
checking whether to support UNW_CACHE_PER_THREAD... 
checking for Intel compiler... no
checking if building on Solaris then define __EXTENSIONS__ macro... yes
checking for QCC compiler... no
checking for __builtin___clear_cache... yes
checking for __builtin_unreachable... yes
checking for library containing backtrace... -lexecinfo
checking for latex2man... (cached) true
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating doc/Makefile
config.status: creating doc/common.tex
config.status: creating tests/Makefile
config.status: creating tests/check-namespace.sh
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating include/libunwind-common.h
config.status: creating include/libunwind.h
config.status: creating include/tdep/libunwind_i.h
config.status: creating src/unwind/libunwind.pc
config.status: creating src/coredump/libunwind-coredump.pc
config.status: creating src/ptrace/libunwind-ptrace.pc
config.status: creating src/setjmp/libunwind-setjmp.pc
config.status: creating src/libunwind-generic.pc
config.status: creating include/config.h
config.status: executing depfiles commands
config.status: executing libtool commands
===========================================================================
=======================<phase: build          >============================
===>  Building for libunwind-20211201
Making all in src
/usr/bin/make  all-am
depbase=`echo os-freebsd.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /bin/sh
../libtool  --tag=CC    --mode=compile cc -DHAVE_CONFIG_H  -I. -I../include 
-I../include -I../include/tdep-aarch64 -I. -D_GNU_SOURCE -DNDEBUG   -O2 -pipe 
-fstack-protector-strong -fno-strict-aliasing  -fexceptions -Wall
-Wsign-compare -D__EXTENSIONS__ -MT os-freebsd.lo -MD -MP -MF $depbase.Tpo -c
-o os-freebsd.lo os-freebsd.c && mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I../include -I../include
-I../include/tdep-aarch64 -I. -D_GNU_SOURCE -DNDEBUG -O2 -pipe
-fstack-protector-strong -fno-strict-aliasing -fexceptions -Wall -Wsign-compare
-D__EXTENSIONS__ -MT os-freebsd.lo -MD -MP -MF .deps/os-freebsd.Tpo -c
os-freebsd.c  -fPIC -DPIC -o .libs/os-freebsd.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I../include -I../include
-I../include/tdep-aarch64 -I. -D_GNU_SOURCE -DNDEBUG -O2 -pipe
-fstack-protector-strong -fno-strict-aliasing -fexceptions -Wall -Wsign-compare
-D__EXTENSIONS__ -MT os-freebsd.lo -MD -MP -MF .deps/os-freebsd.Tpo -c
os-freebsd.c -o os-freebsd.o >/dev/null 2>&1
depbase=`echo mi/init.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /bin/sh
../libtool  --tag=CC    --mode=compile cc -DHAVE_CONFIG_H  -I. -I../include 
-I../include -I../include/tdep-aarch64 -I. -D_GNU_SOURCE -DNDEBUG   -O2 -pipe 
-fstack-protector-strong -fno-strict-aliasing  -fexceptions -Wall
-Wsign-compare -D__EXTENSIONS__ -MT mi/init.lo -MD -MP -MF $depbase.Tpo -c -o
mi/init.lo mi/init.c && mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I../include -I../include
-I../include/tdep-aarch64 -I. -D_GNU_SOURCE -DNDEBUG -O2 -pipe
-fstack-protector-strong -fno-strict-aliasing -fexceptions -Wall -Wsign-compare
-D__EXTENSIONS__ -MT mi/init.lo -MD -MP -MF mi/.deps/init.Tpo -c mi/init.c 
-fPIC -DPIC -o mi/.libs/init.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I../include -I../include
-I../include/tdep-aarch64 -I. -D_GNU_SOURCE -DNDEBUG -O2 -pipe
-fstack-protector-strong -fno-strict-aliasing -fexceptions -Wall -Wsign-compare
-D__EXTENSIONS__ -MT mi/init.lo -MD -MP -MF mi/.deps/init.Tpo -c mi/init.c -o
mi/init.o >/dev/null 2>&1
depbase=`echo mi/flush_cache.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /bin/sh
../libtool  --tag=CC    --mode=compile cc -DHAVE_CONFIG_H  -I. -I../include 
-I../include -I../include/tdep-aarch64 -I. -D_GNU_SOURCE -DNDEBUG   -O2 -pipe 
-fstack-protector-strong -fno-strict-aliasing  -fexceptions -Wall
-Wsign-compare -D__EXTENSIONS__ -MT mi/flush_cache.lo -MD -MP -MF $depbase.Tpo
-c -o mi/flush_cache.lo mi/flush_cache.c && mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I../include -I../include
-I../include/tdep-aarch64 -I. -D_GNU_SOURCE -DNDEBUG -O2 -pipe
-fstack-protector-strong -fno-strict-aliasing -fexceptions -Wall -Wsign-compare
-D__EXTENSIONS__ -MT mi/flush_cache.lo -MD -MP -MF mi/.deps/flush_cache.Tpo -c
mi/flush_cache.c  -fPIC -DPIC -o mi/.libs/flush_cache.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I../include -I../include
-I../include/tdep-aarch64 -I. -D_GNU_SOURCE -DNDEBUG -O2 -pipe
-fstack-protector-strong -fno-strict-aliasing -fexceptions -Wall -Wsign-compare
-D__EXTENSIONS__ -MT mi/flush_cache.lo -MD -MP -MF mi/.deps/flush_cache.Tpo -c
mi/flush_cache.c -o mi/flush_cache.o >/dev/null 2>&1
depbase=`echo mi/mempool.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /bin/sh
../libtool  --tag=CC    --mode=compile cc -DHAVE_CONFIG_H  -I. -I../include 
-I../include -I../include/tdep-aarch64 -I. -D_GNU_SOURCE -DNDEBUG   -O2 -pipe 
-fstack-protector-strong -fno-strict-aliasing  -fexceptions -Wall
-Wsign-compare -D__EXTENSIONS__ -MT mi/mempool.lo -MD -MP -MF $depbase.Tpo -c
-o mi/mempool.lo mi/mempool.c && mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I../include -I../include
-I../include/tdep-aarch64 -I. -D_GNU_SOURCE -DNDEBUG -O2 -pipe
-fstack-protector-strong -fno-strict-aliasing -fexceptions -Wall -Wsign-compare
-D__EXTENSIONS__ -MT mi/mempool.lo -MD -MP -MF mi/.deps/mempool.Tpo -c
mi/mempool.c  -fPIC -DPIC -o mi/.libs/mempool.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I../include -I../include
-I../include/tdep-aarch64 -I. -D_GNU_SOURCE -DNDEBUG -O2 -pipe
-fstack-protector-strong -fno-strict-aliasing -fexceptions -Wall -Wsign-compare
-D__EXTENSIONS__ -MT mi/mempool.lo -MD -MP -MF mi/.deps/mempool.Tpo -c
mi/mempool.c -o mi/mempool.o >/dev/null 2>&1
depbase=`echo mi/strerror.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /bin/sh
../libtool  --tag=CC    --mode=compile cc -DHAVE_CONFIG_H  -I. -I../include 
-I../include -I../include/tdep-aarch64 -I. -D_GNU_SOURCE -DNDEBUG   -O2 -pipe 
-fstack-protector-strong -fno-strict-aliasing  -fexceptions -Wall
-Wsign-compare -D__EXTENSIONS__ -MT mi/strerror.lo -MD -MP -MF $depbase.Tpo -c
-o mi/strerror.lo mi/strerror.c && mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I../include -I../include
-I../include/tdep-aarch64 -I. -D_GNU_SOURCE -DNDEBUG -O2 -pipe
-fstack-protector-strong -fno-strict-aliasing -fexceptions -Wall -Wsign-compare
-D__EXTENSIONS__ -MT mi/strerror.lo -MD -MP -MF mi/.deps/strerror.Tpo -c
mi/strerror.c  -fPIC -DPIC -o mi/.libs/strerror.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I../include -I../include
-I../include/tdep-aarch64 -I. -D_GNU_SOURCE -DNDEBUG -O2 -pipe
-fstack-protector-strong -fno-strict-aliasing -fexceptions -Wall -Wsign-compare
-D__EXTENSIONS__ -MT mi/strerror.lo -MD -MP -MF mi/.deps/strerror.Tpo -c
mi/strerror.c -o mi/strerror.o >/dev/null 2>&1
depbase=`echo aarch64/is_fpreg.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /bin/sh
../libtool  --tag=CC    --mode=compile cc -DHAVE_CONFIG_H  -I. -I../include 
-I../include -I../include/tdep-aarch64 -I. -D_GNU_SOURCE -DNDEBUG   -O2 -pipe 
-fstack-protector-strong -fno-strict-aliasing  -fexceptions -Wall
-Wsign-compare -D__EXTENSIONS__ -MT aarch64/is_fpreg.lo -MD -MP -MF
$depbase.Tpo -c -o aarch64/is_fpreg.lo aarch64/is_fpreg.c && mv -f $depbase.Tpo
$depbase.Plo
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I../include -I../include
-I../include/tdep-aarch64 -I. -D_GNU_SOURCE -DNDEBUG -O2 -pipe
-fstack-protector-strong -fno-strict-aliasing -fexceptions -Wall -Wsign-compare
-D__EXTENSIONS__ -MT aarch64/is_fpreg.lo -MD -MP -MF aarch64/.deps/is_fpreg.Tpo
-c aarch64/is_fpreg.c  -fPIC -DPIC -o aarch64/.libs/is_fpreg.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I../include -I../include
-I../include/tdep-aarch64 -I. -D_GNU_SOURCE -DNDEBUG -O2 -pipe
-fstack-protector-strong -fno-strict-aliasing -fexceptions -Wall -Wsign-compare
-D__EXTENSIONS__ -MT aarch64/is_fpreg.lo -MD -MP -MF aarch64/.deps/is_fpreg.Tpo
-c aarch64/is_fpreg.c -o aarch64/is_fpreg.o >/dev/null 2>&1
depbase=`echo aarch64/regname.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /bin/sh
../libtool  --tag=CC    --mode=compile cc -DHAVE_CONFIG_H  -I. -I../include 
-I../include -I../include/tdep-aarch64 -I. -D_GNU_SOURCE -DNDEBUG   -O2 -pipe 
-fstack-protector-strong -fno-strict-aliasing  -fexceptions -Wall
-Wsign-compare -D__EXTENSIONS__ -MT aarch64/regname.lo -MD -MP -MF $depbase.Tpo
-c -o aarch64/regname.lo aarch64/regname.c && mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I../include -I../include
-I../include/tdep-aarch64 -I. -D_GNU_SOURCE -DNDEBUG -O2 -pipe
-fstack-protector-strong -fno-strict-aliasing -fexceptions -Wall -Wsign-compare
-D__EXTENSIONS__ -MT aarch64/regname.lo -MD -MP -MF aarch64/.deps/regname.Tpo
-c aarch64/regname.c  -fPIC -DPIC -o aarch64/.libs/regname.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I../include -I../include
-I../include/tdep-aarch64 -I. -D_GNU_SOURCE -DNDEBUG -O2 -pipe
-fstack-protector-strong -fno-strict-aliasing -fexceptions -Wall -Wsign-compare
-D__EXTENSIONS__ -MT aarch64/regname.lo -MD -MP -MF aarch64/.deps/regname.Tpo
-c aarch64/regname.c -o aarch64/regname.o >/dev/null 2>&1
depbase=`echo mi/backtrace.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; /bin/sh
../libtool  --tag=CC    --mode=compile cc -DHAVE_CONFIG_H  -I. -I../include 
-I../include -I../include/tdep-aarch64 -I. -D_GNU_SOURCE -DNDEBUG   -O2 -pipe 
-fstack-protector-strong -fno-strict-aliasing  -fexceptions -Wall
-Wsign-compare -D__EXTENSIONS__ -MT mi/backtrace.lo -MD -MP -MF $depbase.Tpo -c
-o mi/backtrace.lo mi/backtrace.c && mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I../include -I../include
-I../include/tdep-aarch64 -I. -D_GNU_SOURCE -DNDEBUG -O2 -pipe
-fstack-protector-strong -fno-strict-aliasing -fexceptions -Wall -Wsign-compare
-D__EXTENSIONS__ -MT mi/backtrace.lo -MD -MP -MF mi/.deps/backtrace.Tpo -c
mi/backtrace.c  -fPIC -DPIC -o mi/.libs/backtrace.o
mi/backtrace.c:71:7: error: no member named 'regs' in 'struct __mcontext'
      unw_getcontext (&uc);
      ^~~~~~~~~~~~~~~~~~~~
../include/libunwind-common.h:127:29: note: expanded from macro
'unw_getcontext'
#define unw_getcontext(uc)              unw_tdep_getcontext(uc)
                                        ^~~~~~~~~~~~~~~~~~~~~~~
../include/libunwind-aarch64.h:237:79: note: expanded from macro
'unw_tdep_getcontext'
  register uint64_t unw_base __asm__ ("x0") = (uint64_t)
unw_ctx->uc_mcontext.regs; \
                                                         ~~~~~~~~~~~~~~~~~~~~ ^
1 error generated.
*** Error code 1

Stop.
make[3]: stopped in /wrkdirs/usr/ports/devel/libunwind/work/libunwind-1.6.2/src
*** Error code 1

Stop.
make[2]: stopped in /wrkdirs/usr/ports/devel/libunwind/work/libunwind-1.6.2/src
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/devel/libunwind/work/libunwind-1.6.2
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/libunwind
=>> Cleaning up wrkdir
===>  Cleaning for libunwind-20211201
build of devel/libunwind | libunwind-20211201 ended at Tue Mar 15 01:17:28 MSK
2022
build time: 00:06:27
!!! build failure encountered !!!

-- 
You are receiving this mail because:
You are the assignee for the bug.