Re: Strange kernel build breakage (after r314283?)

From: Lev Serebryakov <lev_at_FreeBSD.org>
Date: Mon, 6 Mar 2017 20:18:28 +0300
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
Received on Mon Mar 06 2017 - 16:18:32 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:10 UTC