Subject: compile of 1.4.2 fails with PMAP_NEW enabled
To: None <port-hp300@netbsd.org>
From: Jochen Friedrich <jochen@nwe.de>
List: port-hp300
Date: 06/16/2000 00:11:25
Hi,

for running cyrus mail on NetBSD, there is a performance and memory
penalty due to some incomplete implementation of shared mmap (according to
the authors of cyrus mail). However, on recent versions of NetBSD, the
problem is apparently fixed using the PMAP_NEW option which seems to
change the buffer cache stuff to synchronize file and mmaped operation on
the same file. However, when i try to compile 1.4.2 with "options
PMAP_NEW" on hp300, i get the following error. Is PMAP_NEW not yet
supported on hp300?

../../../../arch/hp300/hp300/pmap.c: In function `pmap_create':
../../../../arch/hp300/hp300/pmap.c:702: number of arguments doesn't match
prototype
../../../../vm/pmap.h:140: prototype declaration
../../../../arch/hp300/hp300/pmap.c: In function `pmap_page_protect':
../../../../arch/hp300/hp300/pmap.c:974: argument `pa' doesn't match
prototype
../../../../vm/pmap.h:170: prototype declaration
../../../../arch/hp300/hp300/pmap.c: At top level:
../../../../arch/hp300/hp300/pmap.c:1891: conflicting types for
`pmap_clear_modify'
../../../../vm/pmap.h:125: previous declaration of `pmap_clear_modify'
../../../../arch/hp300/hp300/pmap.c:1906: conflicting types for
`pmap_clear_reference'
../../../../vm/pmap.h:128: previous declaration of `pmap_clear_reference'
../../../../arch/hp300/hp300/pmap.c: In function `pmap_is_referenced':
../../../../arch/hp300/hp300/pmap.c:1923: argument `pa' doesn't match
prototype
../../../../vm/pmap.h:162: prototype declaration
../../../../arch/hp300/hp300/pmap.c: In function `pmap_is_modified':
../../../../arch/hp300/hp300/pmap.c:1943: argument `pa' doesn't match
prototype
../../../../vm/pmap.h:159: prototype declaration
*** Error code 1

Cheers,
Jochen