Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Jun 2023 07:34:04 -0700
From:      bob prohaska <fbsd@www.zefox.net>
To:        freebsd-arm@freebsd.org
Subject:   Armv7 linker failure on -current
Message-ID:  <ZI3EXC3kjZOyEdM6@www.zefox.net>

next in thread | raw e-mail | index | archive | help
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=3D.depend.bsdcpio_test  NO_S=
UBDIR=3D1 make -f /usr
/src/usr.bin/cpio/tests/Makefile _RECURSING_PROGS=3Dt  PROG=3Dbsdcpio_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=3D/usr/obj/usr/src=
/arm.armv7/tmp -B/usr/obj/usr/src/arm.armv7/tmp/usr/bin  -O2 -pipe -fno-com=
mon -DPLATFORM_CONFIG_H=3D\"/usr/src/lib/libarchive/config_freebsd.h\" -I/u=
sr/src/lib/libarchive -I/usr/obj/usr/src/arm.armv7/usr.bin/cpio/tests -I/us=
r/obj/usr/src/arm.armv7/usr.bin/cpio/tests -I/usr/src/contrib/libarchive/cp=
io -I/usr/src/contrib/libarchive/cpio/test -I/usr/src/contrib/libarchive/li=
barchive -I/usr/src/contrib/libarchive/libarchive_fe -I/usr/src/contrib/lib=
archive/test_utils   -g -gz=3Dzlib -std=3Dgnu99 -Wno-format-zero-length -fs=
tack-protector-strong -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wn=
o-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith=
 -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-param=
eter -Wcast-align -Wchar-subscripts -Wnested-externs -Wold-style-definition=
 -Wno-pointer-sign -Wdate-time -Wmissing-variable-declarations -Wthread-saf=
ety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-er=
ror=3Dunused-but-set-variable -Wno-error=3Dunused-but-set-parameter  -Qunus=
ed-arguments  -c /usr/src/contrib/libarchive/cpio/test/test_extract_cpio_zs=
td.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 aa=
rch64.

A re-run of git pull reported the Pi2 as "up to date". The filesystem is UF=
S,=20
the build command is=20
make  -j2 -DWITH_META_MODE  buildworld > buildworld.log && make -j4 -DWITH_=
META_MODE KERNCONF=3DGENERIC buildkernel  > buildkernel.log


Thanks for reading, and any guidance!

bob prohaska




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ZI3EXC3kjZOyEdM6>