amd64/59833: <brocken compile of make buildkernel
Adriaan de Groot
adridg at cs.kun.nl
Sun Nov 30 06:40:12 PST 2003
The following reply was made to PR amd64/59833; it has been noted by GNATS.
From: Adriaan de Groot <adridg at cs.kun.nl>
To: FreeBSD-gnats-submit at FreeBSD.org
Cc:
Subject: Re: amd64/59833: <brocken compile of make buildkernel
Date: Sun, 30 Nov 2003 15:35:14 +0100
On Sunday 30 November 2003 13:48, roemer.ulrich at gmx.de wrote:
> >Number: 59833
> >Category: amd64
> >Synopsis: <brocken compile of make buildkernel
> >Confidential: no
> >Severity: critical
> >Description:
>
> /space/src/sys/vm/uma_core.c: In function `zone_timeout':
> /space/src/sys/vm/uma_core.c:345: error: `mp_maxid' undeclared (first use
> /space/src/sys/vm/uma_core.c:572: error: `mp_maxid' undeclared (first use
Can confirm here. I built a kernel from thursday's sources, I think, that was
ok, but this morning's cvsup introduces this error. The problem appears to be
that smp.h declares mp_maxid in an #ifdef SMP block, while the uma code
doesn't differentiate. I believe the right workaround thing to do is add
"options SMP" to your kernel config, even if it's not an SMP machine. Longer
term would be to declare mp_maxid in all forms, and just set it to 1 in the
uniprocessor configuration.
--
pub 1024D/FEA2A3FE 2002-06-18 Adriaan de Groot <groot at kde.org>
If the door is ajar, can we fill it with door-jamb?
More information about the freebsd-amd64
mailing list