Re: make kernel build error on recent -current

From: Alexey Dokuchaev <danfe_at_nsu.ru>
Date: Thu, 22 Nov 2007 16:16:45 +0600
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
Received on Thu Nov 22 2007 - 09:13:35 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:22 UTC