tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: x96 cannot build without MULTIPROCESSOR



On Wed, Jul 01, 2015 at 07:20:14PM +0800, Paul Goyette wrote:
> On Wed, 1 Jul 2015, Joerg Sonnenberger wrote:
> 
> >On Wed, Jul 01, 2015 at 08:01:30AM +0000, Emmanuel Dreyfus wrote:
> >>In -current, x86 seems to be unable to build withotu MUTLIPROCESSOR:
> >>src/sys/kern/kern_stub.c:195:5: error: #error __HAVE_PREEMPTION requires MULTIPROCESSOR
> >
> >Yes, the option is required.
> 
> (American) English 101:
> 
> sounds rather contradictory.  If it's an option, it's optional;  if it's
> required, it's not an option.

It's defined in std.*. It's a flag on other architectures, but mandatory
on x86. There are other "optional" parts of the system like that too.

Joerg


Home | Main Index | Thread Index | Old Index