Odd stoppage in buildworld

bob prohaska <[email protected]> Sun, 5 Jul 2026 17:32:26 -0700
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <[email protected]>
A Pi2 (armv7) is stopping meta-mode buildworld in -current, reporting

...
Building /usr/obj/usr/src/arm.armv7/tmp/obj-tools/lib/clang/libllvm/libllvm.a
Building static llvm library
ar: error: libllvm.a: 'InstrProfWriter.o': section header table goes past the end of the file: e_shoff = 0xc6c24
*** [libllvm.a] Error code 1

Deleting the offending .o file didn't help, running make clean in /usr/src
didn't help, running make cleandir in /usr/src didn't help.

This error follows a kernel panic during buildworld, so I'm guessing
that has something to do with the problem, though the machine finished
fsck on reboot without obvious difficulty.

Removing /usr/obj seems the next thing to try, but that's going to
be slow. Is there a more efficient approach to salvaging the system?

It's at
root@www:/usr/src # uname -apKU
FreeBSD www.zefox.org 16.0-CURRENT FreeBSD 16.0-CURRENT #46 n287176-a2545f68f64b: Thu Jul  2 11:47:19 PDT 2026     [email protected]:/usr/obj/usr/src/arm.armv7/sys/GENERIC arm armv7 1600019 1600019

Thanks for reading!

bob prohaska