ar: error: libclang.a: 'ParseDecl.o': section header table goes past EOF

From: bob prohaska <fbsd_at_www.zefox.net>
Date: Tue, 05 May 2026 14:48:49 UTC
A Pi2B (armv7) is failing buildworld with:

Building static clang library
ar: error: libclang.a: 'ParseDecl.o': section header table goes past the end of 
the file: e_shoff = 0x131190
*** [libclang.a] Error code 1
....
make[4]: stopped making "all" in /usr/src/lib/clang/libclang
.ERROR_TARGET='libclang.a'
.ERROR_META_FILE='/usr/obj/usr/src/arm.armv7/tmp/obj-tools/lib/clang/libclang/li
bclang.a.meta'
.MAKE.LEVEL='4'
............

/usr/src was updated 5/4/26.

Re-running git pull reports:
Updating 8e8d87856241..9f2ad7c09709
and it looks as if only sbin and sys
files have changed.
 
I'll run a make cleandir and try again. If there are
other things to try please let me know.

Thanks for reading,

bob prohaska