From owner-freebsd-current@freebsd.org Tue Mar 7 17:13:59 2017 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EBC98D0127E for ; Tue, 7 Mar 2017 17:13:59 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-ot0-x236.google.com (mail-ot0-x236.google.com [IPv6:2607:f8b0:4003:c0f::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B9A4C1983; Tue, 7 Mar 2017 17:13:59 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mail-ot0-x236.google.com with SMTP id 19so10040379oti.0; Tue, 07 Mar 2017 09:13:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=0xya9fICXWpVYr/QCXDnXymrHhYoXyamNjlit0/RKZs=; b=ZTpcSmzEVvXBPrOCiwgBwVgLIwvyjWs+esjgRTNm5j+gT/fFBqMz4YYFaLIOLoWq9G HTLYzEfLBUUMy1fXbbY3cS1WN7lT9b41/MDtgBdgKo+LFGG5O2V4gVAygDPtqJO+xat2 nOwP17tPueB0wDO2D/cUwN3Wq+vtCZnzANN8q7a7Lt/VipKD+7XUvHj54ytDOaSJXhsK L+sFAqbcV3RtFECFBygEX7crQjSxdY5Q06IoHq1DpXVo82Vi1fzJ0xjShCEsb8X4lgmX jrA8D2qXlVsr+bt2Qd8/h6mMEt7HsrSB26WmfP4A8I/LYz20GyWI+HMg+xRL6zRWHxcv HWgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=0xya9fICXWpVYr/QCXDnXymrHhYoXyamNjlit0/RKZs=; b=sTAdPKo049NEIOLLeJW0nsiyVOrggLO5RgD4Rm9UcMLfMYHpJ4hx1Z5qO4Ziux9Ro3 QWYJWCf7Au363yjB4rHAYQ2jGLU8/qPX2PRbjPD5DnjR4I5bFhM3dHW3vDbbQcdc0NLG LH9r+ElP8+lZUhjqAto9aGlu+A2D4v+nuwHrSrNZ1B7uIMCBJHt31V1dqluKbdGW0Hp2 wjrdtDYOsYdZ9u+lHFHs/Zt/8v36M82RK4wFmuYIgmtpUA2gmtVcP63Dx1SH3WFQY3ci OZDLPFToHlu+E27LwX2RJkkw4QjqKWNOCUP2EMKkL4f4xOCx37U9HGqRMMQWD4a1nFB0 FY3A== X-Gm-Message-State: AMke39lIYX+tLkAB6Zlow2WSqUxrv20AkL7kxmNEyrqNMr1GbE2emj0CHr0JBz4QcqZzllyZ6CHro4mYJ+5NAg== X-Received: by 10.157.8.98 with SMTP id 89mr894236oty.264.1488906838527; Tue, 07 Mar 2017 09:13:58 -0800 (PST) MIME-Version: 1.0 Sender: kob6558@gmail.com Received: by 10.74.32.79 with HTTP; Tue, 7 Mar 2017 09:13:58 -0800 (PST) In-Reply-To: <12f82f8b-658e-23e0-c017-c917dd8cd638@FreeBSD.org> References: <0b702c55-aa92-193f-77e1-c5c8aa1a668f@FreeBSD.org> <12f82f8b-658e-23e0-c017-c917dd8cd638@FreeBSD.org> From: Kevin Oberman Date: Tue, 7 Mar 2017 09:13:58 -0800 X-Google-Sender-Auth: SEjSWqeHnQ1g22whJQI0bk2ApSM Message-ID: Subject: Re: Strange kernel build breakage (after r314283?) To: Lev Serebryakov Cc: FreeBSD CURRENT , imp@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Mar 2017 17:14:00 -0000 On Mon, Mar 6, 2017 at 9:18 AM, Lev Serebryakov wrote: > 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 > If my memory is good (and it may not be), this option was recommended to prevent garbled syslog and console entries, but that was back in v8 days, long, long ago. I have not had his problem for a long time and I think that the option is no longer required and even they, 1024 was a LOT bigger than was recommended at the time. 128 or 256 seems tike the value recommended. -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683