Subject: port-i386/14777: release-1-4 fails tom compile whith USER_LDT
To: None <gnats-bugs@gnats.netbsd.org>
From: None <Manuel.Bouyer@lip6.fr>
List: netbsd-bugs
Date: 11/29/2001 21:59:55
>Number:         14777
>Category:       port-i386
>Synopsis:       release-1-4 fails tom compile whith USER_LDT
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 29 13:00:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Manuel Bouyer
>Release:        1.4.3A
>Organization:
	LIP6/RP
>Environment:
	
System: NetBSD dess06.ipv6.lip6.fr 1.4.3A NetBSD 1.4.3A (DESS06) #0: Tue Nov 27 22:44:36 MET 2001 bouyer@dess06.ipv6.lip6.fr:/home/dess/permanents/bouyer/NetBSD-1.4.3/src/sys/arch/i386/compile/DESS06 i386


>Description:
	Compiling a kernel with
	options USER_LDT
	in the config file dies with:
cc  -O2 -Werror -Wall -Wmissing-prototypes -Wstrict-prototypes  -Wpointer-arith -Wno-main -I. -I../../../../arch -I../../../.. -nostdinc -DDIAGNOSTIC -DMAXUSERS=32 -D_KERNEL -Di386  -c ../../../../arch/i386/i386/sys_machdep.c
../../../../arch/i386/i386/sys_machdep.c: In function `i386_set_ldt':
../../../../arch/i386/i386/sys_machdep.c:397: `pmap' undeclared (first use in this function)
../../../../arch/i386/i386/sys_machdep.c:397: (Each undeclared identifier is reported only once
../../../../arch/i386/i386/sys_machdep.c:397: for each function it appears in.)
*** Error code 1
>How-To-Repeat:
	cvs checkout release-1-4, uncomment 'options USER_LDT' in kernel
	config file and start compile.
>Fix:
	Don't know.
>Release-Note:
>Audit-Trail:
>Unformatted: