Re: Buildkernel fails in /usr/obj/usr/src/arm.armv7/sys/GENERIC/vchiq_shim.o
Date: Sat, 01 Nov 2025 16:05:09 UTC
On Nov 1, 2025, at 08:18, bob prohaska <fbsd@www.zefox.net> wrote:
> A Raspberry Pi 2 v1.1 is failing buildkernel with
> Building /usr/obj/usr/src/arm.armv7/sys/GENERIC/vchiq_shim.o
> --- vchiq_2835_arm.o ---
> /usr/src/sys/contrib/vchiq/interface/vchiq_arm/vchiq_2835_arm.c:549:71: error: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Werror,-Wformat]
> 549 | "free_pagelist - %zx, %d (%u bytes @%p)", (size_t)pagelist, actual, pagelist->length, bi->buf);
> | ~~ ^~~~~~~~~~~~~~~~
> | %lu
> /usr/src/sys/contrib/vchiq/interface/vchiq_arm/vchiq_core.h:73:39: note: expanded from macro 'vchiq_log_trace'
> 73 | printf(VCHIQ_LOG_PREFIX fmt "\n", ##__VA_ARGS__); } while (0)
> | ~~~ ^~~~~~~~~~~
> 1 error generated.
> *** [vchiq_2835_arm.o] Error code 1
>
> uname -a reports
> FreeBSD pelorus.zefox.org 16.0-CURRENT FreeBSD 16.0-CURRENT #1 main-n281567-8d5a88ac95b2: Wed Oct 29 18:14:25 PDT 2025 bob@pelorus.zefox.org:/usr/obj/usr/src/arm.armv7/sys/GENERIC arm
>
> Git reset --hard reported
> HEAD is now at c6e02892bbca bsd-family-tree: add macOS 26
>
> This has been going on for a couple of days at least.
>
See, for example,
https://lists.freebsd.org/archives/dev-commits-src-main/2025-October/037175.html
The official Continuous Integration builds are still broken
and have been since:
QUOTE from https://ci.freebsd.org/job/FreeBSD-main-armv7-build/26157/
#26157 (Thu Oct 30 00:53:07 GMT 2025)
. . .
Revision: 8b43286fc3badc646ff5a828bae226c8fca90268
Repository: https://git.freebsd.org/src.git
• refs/remotes/origin/main
Changes
• vchiq: logging/tracing refactoring (details / cgit)
• vchiq: fix another logging format string for 32/64 bit (details / cgit)
END QUOTE
I've reported it another way that got noticed by one of
those involved. I added the notes to the original review:
https://reviews.freebsd.org/D53372
===
Mark Millard
marklmi at yahoo.com