Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Mar 2017 20:18:28 +0300
From:      Lev Serebryakov <lev@FreeBSD.org>
To:        FreeBSD CURRENT <freebsd-current@freebsd.org>
Cc:        imp@FreeBSD.org
Subject:   Re: Strange kernel build breakage (after r314283?)
Message-ID:  <12f82f8b-658e-23e0-c017-c917dd8cd638@FreeBSD.org>
In-Reply-To: <0b702c55-aa92-193f-77e1-c5c8aa1a668f@FreeBSD.org>
References:  <0b702c55-aa92-193f-77e1-c5c8aa1a668f@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?12f82f8b-658e-23e0-c017-c917dd8cd638>