Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Nov 2007 16:16:45 +0600
From:      Alexey Dokuchaev <danfe@nsu.ru>
To:        Ruslan Ermilov <ru@freebsd.org>
Cc:        current@freebsd.org
Subject:   Re: make kernel build error on recent -current
Message-ID:  <20071122101645.GA19887@regency.nsu.ru>
In-Reply-To: <20071121145646.GA80149@regency.nsu.ru>
References:  <20071121090527.GA57912@regency.nsu.ru> <20071121135823.GE1617@team.vega.ru> <20071121145646.GA80149@regency.nsu.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Nov 21, 2007 at 08:56:46PM +0600, Alexey Dokuchaev wrote:
> On Wed, Nov 21, 2007 at 04:58:24PM +0300, Ruslan Ermilov wrote:
> > I cannot reproduce this on neither RELENG_7 or HEAD, compiling
> > GENERIC or LINT (you didn't tell what combination you're using),
> 
> Indeed.  GENERIC is building just fine.  Will investigate further.
> 
> > but NO_WERROR never affected -Werror in kernel and module builds.
> 
> Right, I overlooked it.
> 
> > In this case, you can reset -Werror like this:
> > 
> > 	make ... WERROR=
> 
> I'd still like to figure out what is going wrong with my custom kernel.

It seems that RESTARTABLE_PANICS option is the cause.  See the code in
`/sys/sys/systm.h', around line 146, where panic() is defined depending
on that option.

./danfe



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071122101645.GA19887>