make kernel build error on recent -current

Alexey Dokuchaev danfe at
Thu Nov 22 02:13:35 PST 2007

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.


More information about the freebsd-current mailing list