Strange kernel build breakage (after r314283?)
Lev Serebryakov
lev at FreeBSD.org
Mon Mar 6 17:18:32 UTC 2017
On 06.03.2017 20:10, Lev Serebryakov wrote:
> I've got this error when tried to update my -CURRENT VM to r314772:
>
> /data/src/sys/cam/cam_xpt.c:84:1: error: static_assert failed
> "XPT_PRINT_LEN is too large"
> _Static_assert(XPT_PRINT_LEN <= XPT_PRINT_MAXLEN, "XPT_PRINT_LEN is too
> large");
> ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> I didn't define any XPT_xxxx macro by hands, but I have
>
> options PRINTF_BUFR_SIZE=1024
>
> in my kernel config.
Yep, removing this option helps, but it is surprising and not obvious
at all!
--
// Lev Serebryakov
More information about the freebsd-current
mailing list