Armv7 linker failure on -current

From: bob prohaska <fbsd_at_www.zefox.net>
Date: Sat, 17 Jun 2023 14:34:04 UTC
A Pi2 running -current stops in buildworld with

Building /usr/obj/usr/src/arm.armv7/usr.sbin/tcpdump/tcpdump/print-wb.o
(cd /usr/src/usr.bin/cpio/tests &&  DEPENDFILE=.depend.bsdcpio_test  NO_SUBDIR=1 make -f /usr
/src/usr.bin/cpio/tests/Makefile _RECURSING_PROGS=t  PROG=bsdcpio_test )
Building /usr/obj/usr/src/arm.armv7/usr.bin/cpio/tests/bsdcpio_test.full
ld: error: test_format_newc.o:2: unknown directive: CMD
>>> CMD cc -target armv7-gnueabihf-freebsd14.0 --sysroot=/usr/obj/usr/src/arm.armv7/tmp -B/usr/obj/usr/src/arm.armv7/tmp/usr/bin  -O2 -pipe -fno-common -DPLATFORM_CONFIG_H=\"/usr/src/lib/libarchive/config_freebsd.h\" -I/usr/src/lib/libarchive -I/usr/obj/usr/src/arm.armv7/usr.bin/cpio/tests -I/usr/obj/usr/src/arm.armv7/usr.bin/cpio/tests -I/usr/src/contrib/libarchive/cpio -I/usr/src/contrib/libarchive/cpio/test -I/usr/src/contrib/libarchive/libarchive -I/usr/src/contrib/libarchive/libarchive_fe -I/usr/src/contrib/libarchive/test_utils   -g -gz=zlib -std=gnu99 -Wno-format-zero-length -fstack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Wnested-externs -Wold-style-definition -Wno-pointer-sign -Wdate-time -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=unused-but-set-variable -Wno-error=unused-but-set-parameter  -Qunused-arguments  -c /usr/src/contrib/libarchive/cpio/test/test_extract_cpio_zstd.c -o test_extract_cpio_zstd.o
>>> ^
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** [bsdcpio_test.full] Error code 1

Raspberry Pi 3 and 4 at the same revision completed successfully running aarch64.

A re-run of git pull reported the Pi2 as "up to date". The filesystem is UFS, 
the build command is 
make  -j2 -DWITH_META_MODE  buildworld > buildworld.log && make -j4 -DWITH_META_MODE KERNCONF=GENERIC buildkernel  > buildkernel.log


Thanks for reading, and any guidance!

bob prohaska