Failed assertion in buildworld on armv7

bob prohaska <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <[email protected]>
A Pi2 (armv7) self-hosting -current is failing buildworld with
...
Building /usr/obj/usr/src/arm.armv7/lib/clang/libllvm/Target/ARM/ARMMachineFunctionInfo.pico
<jemalloc>: /usr/src/contrib/jemalloc/include/jemalloc/internal/ehooks.h:184: Failed assertion: "p[i * (size / sizeof(size_t) / nchecks)] == 0"
PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0.      Program arguments: c++ -target armv7-gnueabihf-freebsd16.0 --sysroot=/usr/obj/usr/src/arm.armv7/tmp -B/usr/obj/usr/src/arm.armv7/tmp/usr/bin -fpic -DPIC -UPIC -O2 -pipe -fno-common -I/usr/obj/usr/src/arm.armv7/lib/clang/libllvm -I/usr/src/sys/contrib/zstd/lib -I/usr/src/contrib/llvm-project/llvm/lib/Target/AArch64 -I/usr/src/contrib/llvm-project/llvm/lib/Target/ARM -I/usr/src/contrib/llvm-project/llvm/lib/Target/PowerPC -I/usr/src/contrib/llvm-project/llvm/lib/Target/RISCV -I/usr/src/contrib/llvm-project/llvm/lib/Target/X86 -I/usr/src/contrib/llvm-project/llvm/lib/ObjCopy -DBLAKE3_NO_AVX512 -DBLAKE3_NO_AVX2 -DBLAKE3_NO_SSE41 -DBLAKE3_NO_SSE2 -DBLAKE3_USE_NEON=0 -I/usr/src/lib/clang/include -I/usr/src/contrib/llvm-project/llvm/include -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DHAVE_VCS_VERSION_INC -DLLVM_DEFAULT_TARGET_TRIPLE=\"armv7-unknown-freebsd16.0-gnueabihf\" -DLLVM_HOST_TRIPLE=\"armv7-unknown-freebsd16.0\" -DDEFAULT_SYSROOT=\"\" -DLLVM_TARGET_ENABLE_AARCH64 -DLLVM_TARGET_ENABLE_ARM -DLLVM_TARGET_ENABLE_POWERPC -DLLVM_TARGET_ENABLE_RISCV -DLLVM_TARGET_ENABLE_X86 -DLLVM_NATIVE_ASMPARSER=LLVMInitializeARMAsmParser -DLLVM_NATIVE_ASMPRINTER=LLVMInitializeARMAsmPrinter -DLLVM_NATIVE_DISASSEMBLER=LLVMInitializeARMDisassembler -DLLVM_NATIVE_TARGET=LLVMInitializeARMTarget -DLLVM_NATIVE_TARGETINFO=LLVMInitializeARMTargetInfo -DLLVM_NATIVE_TARGETMC=LLVMInitializeARMTargetMC -ffunction-sections -fdata-sections -gline-tables-only -Wno-format-zero-length -fstack-pro

...


The host reports
root@www:/usr/src # uname -a
FreeBSD www.zefox.org 15.0-PRERELEASE FreeBSD 15.0-PRERELEASE #104 main-n280063-d3462294c1f0: Fri Sep  5 03:42:52 PDT 2025     [email protected]:/usr/obj/usr/src/arm.armv7/sys/GENERIC arm

A subsequent git pull notes:
 lib/libc/gen/Makefile.inc                          |    1 +
 lib/libc/gen/Symbol.map                            |    1 +
 lib/libc/gen/directory.3                           |   51 +-
 lib/libc/gen/gen-compat.h                          |    1 -
 lib/libc/gen/gen-private.h                         |    3 +
 lib/libc/gen/readdir-compat11.c                    |    2 +-
 lib/libc/gen/readdir.c                             |    8 +-

Buildworld has been restarted, if other measures should be taken
please let me know.

Thanks for reading,

bob prohaska
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.