Re: Armv7 linker failure on -current
- Reply: bob prohaska : "Re: Armv7 linker failure on -current"
- In reply to: bob prohaska : "Armv7 linker failure on -current"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 17 Jun 2023 15:34:16 UTC
On Jun 17, 2023, at 07:34, bob prohaska <fbsd@www.zefox.net> wrote: > A Pi2 running -current stops in buildworld with I assume self building an update to main [so: 14]. What commit last built successfully? (This bounds what would be different in official materials.) > 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 Note the above error from prior activity not shown in your message. >>>> 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 This may be a consequence of what lead to the prior error message(s). I normally start with investigating the first error, not the later ones that may depends on earlier ones. > 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 > What is in the files: /usr/obj/usr/src/arm.armv7/usr.bin/cpio/tests/test_format_newc.o.meta /usr/obj/usr/src/arm.armv7/usr.bin/cpio/tests/bsdcpio_test.full.meta file after the build failure? Also, more of the build log might prove to be of interest. You may want to give access to it. For test_format_newc.o.meta , my last build of armv7 main shows: # Meta data file /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/usr.bin/cpio/tests/test_format_newc.o.meta CMD cc -mcpu=cortex-a7 -target armv7-gnueabihf-freebsd14.0 --sysroot=/usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp -B/usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/bin -O2 -pipe -fno-common -DPLATFORM_CONFIG_H=\"/usr/main-src/lib/libarchive/config_freebsd.h\" -I/usr/main-src/lib/libarchive -I/usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/usr.bin/cpio/tests -I/usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/usr.bin/cpio/tests -I/usr/main-src/contrib/libarchive/cpio -I/usr/main-src/contrib/libarchive/cpio/test -I/usr/main-src/contrib/libarchive/libarchive -I/usr/main-src/contrib/libarchive/libarchive_fe -I/usr/main-src/contrib/libarchive/test_utils -DNDEBUG -g -gz=zlib -std=gnu99 -Wno-format-zero-length -fstack-protector-strong -Wsystem-headers -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/main-src/contrib/libarchive/cpio/test/test_format_newc.c -o test_format_newc.o CMD CWD /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/usr.bin/cpio/tests TARGET test_format_newc.o -- command output -- -- filemon acquired metadata -- # filemon version 5 # Target pid 79320 # Start 1686464003.763817 V 5 E 79535 /bin/sh R 79535 /etc/libmap.conf R 79535 /usr/local/etc/libmap.d R 79535 /usr/local/etc/libmap.d/mesa.conf R 79535 /var/run/ld-elf.so.hints R 79535 /lib/libedit.so.8 R 79535 /lib/libc.so.7 R 79535 /lib/libtinfow.so.9 R 79535 /usr/share/locale/C.UTF-8/LC_CTYPE F 79535 79537 E 79537 /usr/bin/cc R 79537 /etc/libmap.conf R 79537 /usr/local/etc/libmap.d R 79537 /usr/local/etc/libmap.d/mesa.conf R 79537 /var/run/ld-elf.so.hints R 79537 /lib/libz.so.6 R 79537 /usr/lib/libexecinfo.so.1 R 79537 /lib/libncursesw.so.9 R 79537 /lib/libtinfow.so.9 R 79537 /lib/libthr.so.3 R 79537 /lib/libc++.so.1 R 79537 /lib/libcxxrt.so.1 R 79537 /lib/libm.so.5 R 79537 /lib/libc.so.7 R 79537 /lib/libelf.so.2 R 79537 /lib/libgcc_s.so.1 R 79537 /usr/main-src/contrib/libarchive/cpio/test/test_format_newc.c R 79537 test_format_newc-3286aa4d.o.tmp W 79537 test_format_newc-3286aa4d.o.tmp R 79537 /usr/main-src/contrib/libarchive/cpio/test/test.h R 79537 /usr/main-src/contrib/libarchive/test_utils/test_common.h R 79537 /usr/main-src/lib/libarchive/config_freebsd.h R 79537 /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/include/osreldate.h R 79537 /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/include/sys/types.h R 79537 /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/include/sys/cdefs.h R 79537 /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/include/machine/endian.h R 79537 /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/include/sys/_types.h R 79537 /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/include/machine/_types.h R 79537 /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/include/sys/_endian.h R 79537 /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/include/sys/_pthreadtypes.h R 79537 /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/include/sys/_stdint.h R 79537 /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/include/sys/bitcount.h R 79537 /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/include/sys/select.h R 79537 /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/include/sys/_sigset.h R 79537 /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/include/sys/_timeval.h R 79537 /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/include/sys/timespec.h R 79537 /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/include/sys/_timespec.h R 79537 /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/include/sys/stat.h R 79537 /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/include/sys/time.h R 79537 /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/include/sys/_clock_id.h R 79537 /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/include/time.h R 79537 /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/include/sys/_null.h R 79537 /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/include/xlocale/_time.h R 79537 /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/include/dirent.h R 79537 /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/include/sys/dirent.h R 79537 /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/include/errno.h R 79537 /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/include/fcntl.h R 79537 /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/include/stdint.h R 79537 /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/include/machine/_stdint.h R 79537 /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/include/stdio.h R 79537 /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/include/stdlib.h R 79537 /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/include/string.h R 79537 /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/include/strings.h R 79537 /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/include/xlocale/_strings.h R 79537 /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/include/xlocale/_string.h R 79537 /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/include/ctype.h R 79537 /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/include/_ctype.h R 79537 /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/include/runetype.h R 79537 /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/include/xlocale/_ctype.h R 79537 /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/include/unistd.h R 79537 /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/include/sys/unistd.h R 79537 /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/include/wchar.h R 79537 /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/include/machine/_limits.h R 79537 /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/include/xlocale/_wchar.h R 79537 /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/include/sys/acl.h R 79537 /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/include/sys/param.h R 79537 /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/include/sys/syslimits.h R 79537 /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/include/sys/signal.h R 79537 /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/include/machine/signal.h R 79537 /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/include/machine/param.h R 79537 /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/include/machine/_align.h R 79537 /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/include/sys/limits.h R 79537 /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/include/sys/queue.h R 79537 /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/include/vm/uma.h R 79537 /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/include/sys/malloc.h R 79537 /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/include/sys/_lock.h R 79537 /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/include/sys/_mutex.h R 79537 /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/include/sys/_smr.h R 79537 /usr/main-src/contrib/libarchive/libarchive/archive_platform_acl.h R 79537 /usr/main-src/contrib/libarchive/libarchive/archive_platform_xattr.h R 79537 /usr/main-src/contrib/libarchive/test_utils/test_utils.h R 79537 /usr/obj/BUILDs/main-CA7-nodbg-clang/usr/main-src/arm.armv7/tmp/usr/include/stddef.h M 79537 'test_format_newc-3286aa4d.o.tmp' 'test_format_newc.o' X 79537 0 0 X 79535 0 0 # Stop 1686464004.381820 # Bye bye === Mark Millard marklmi at yahoo.com