From owner-freebsd-amd64@FreeBSD.ORG Sun Nov 30 06:40:12 2003 Return-Path: Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4209E16A4CE for ; Sun, 30 Nov 2003 06:40:12 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 14FA343FE0 for ; Sun, 30 Nov 2003 06:40:11 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id hAUEeAFY080833 for ; Sun, 30 Nov 2003 06:40:10 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id hAUEeA9R080832; Sun, 30 Nov 2003 06:40:10 -0800 (PST) (envelope-from gnats) Date: Sun, 30 Nov 2003 06:40:10 -0800 (PST) Message-Id: <200311301440.hAUEeA9R080832@freefall.freebsd.org> To: freebsd-amd64@FreeBSD.org From: Adriaan de Groot Subject: Re: amd64/59833: List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Nov 2003 14:40:12 -0000 The following reply was made to PR amd64/59833; it has been noted by GNATS. From: Adriaan de Groot To: FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: Re: amd64/59833: >Number: 59833 > >Category: amd64 > >Synopsis: >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 If the door is ajar, can we fill it with door-jamb?