From nobody Sat Jun 17 14:34:04 2023 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Qjz6v0tWKz4dtN9 for ; Sat, 17 Jun 2023 14:33:59 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Received: from www.zefox.net (www.zefox.net [50.1.20.27]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "www.zefox.com", Issuer "www.zefox.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Qjz6s4d8rz3rHS for ; Sat, 17 Jun 2023 14:33:57 +0000 (UTC) (envelope-from fbsd@www.zefox.net) Authentication-Results: mx1.freebsd.org; dkim=none; spf=none (mx1.freebsd.org: domain of fbsd@www.zefox.net has no SPF policy when checking 50.1.20.27) smtp.mailfrom=fbsd@www.zefox.net; dmarc=none Received: from www.zefox.net (localhost [127.0.0.1]) by www.zefox.net (8.17.1/8.15.2) with ESMTPS id 35HEY4Rs035935 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Sat, 17 Jun 2023 07:34:04 -0700 (PDT) (envelope-from fbsd@www.zefox.net) Received: (from fbsd@localhost) by www.zefox.net (8.17.1/8.15.2/Submit) id 35HEY472035934 for freebsd-arm@freebsd.org; Sat, 17 Jun 2023 07:34:04 -0700 (PDT) (envelope-from fbsd) Date: Sat, 17 Jun 2023 07:34:04 -0700 From: bob prohaska To: freebsd-arm@freebsd.org Subject: Armv7 linker failure on -current Message-ID: List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable X-Spamd-Result: default: False [-1.09 / 15.00]; AUTH_NA(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.996]; NEURAL_HAM_MEDIUM(-1.00)[-0.995]; MID_RHS_WWW(0.50)[]; WWW_DOT_DOMAIN(0.50)[]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:7065, ipnet:50.1.16.0/20, country:US]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[zefox.net]; RCPT_COUNT_ONE(0.00)[1]; RCVD_TLS_LAST(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4Qjz6s4d8rz3rHS X-Spamd-Bar: - X-ThisMailContainsUnwantedMimeParts: N 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