NetBSD Problem Report #50744

From www@NetBSD.org  Tue Feb  2 07:44:46 2016
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.NetBSD.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id D9E947AC9C
	for <gnats-bugs@gnats.NetBSD.org>; Tue,  2 Feb 2016 07:44:46 +0000 (UTC)
Message-Id: <20160202074445.7B9977ACA7@mollari.NetBSD.org>
Date: Tue,  2 Feb 2016 07:44:45 +0000 (UTC)
From: nonakap@gmail.com
Reply-To: nonakap@gmail.com
To: gnats-bugs@NetBSD.org
Subject: uvm/uvm_extern.h: present but cannot be compiled
X-Send-Pr-Version: www-1.0

>Number:         50744
>Category:       bin
>Synopsis:       uvm/uvm_extern.h: present but cannot be compiled
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 02 07:45:00 +0000 2016
>Closed-Date:    Fri Aug 13 21:42:17 +0000 2021
>Last-Modified:  Fri Aug 13 21:42:17 +0000 2021
>Originator:     NONAKA Kimihiro
>Release:        HEAD (20160201)
>Organization:
>Environment:
NetBSD netbsd-vm 7.99.26 NetBSD 7.99.26 (GENERIC) #3: Tue Feb  2 12:39:18 JST 2016  nonaka@netbsd:/home/storage/snapshot/NetBSD/HEAD-20160127/obj.NetBSD-amd64/amd64/sys/arch/amd64/compile/GENERIC amd64
>Description:
When net-snmp build, the following message was displayed.
It was caused by the recent "Hide {p,v}{addr,size}_t and register_t" changes.

-----
checking uvm/uvm_extern.h usability... no
checking uvm/uvm_extern.h presence... yes
configure: WARNING: uvm/uvm_extern.h: present but cannot be compiled
configure: WARNING: uvm/uvm_extern.h:     check for missing prerequisite headers?
configure: WARNING: uvm/uvm_extern.h: see the Autoconf documentation
configure: WARNING: uvm/uvm_extern.h:     section "Present But Cannot Be Compiled"
configure: WARNING: uvm/uvm_extern.h: proceeding with the compiler's result
configure: WARNING:     ## ---------------------------------------------------- ##
configure: WARNING:     ## Report this to net-snmp-coders@lists.sourceforge.net ##
configure: WARNING:     ## ---------------------------------------------------- ##
-----

----- config.log
configure:16275: checking uvm/uvm_extern.h usability
configure:16275: gcc -c -fno-strict-aliasing -g -O2 -Unetbsd7 -Dnetbsd7=netbsd7  conftest.c >&5
In file included from /usr/include/uvm/uvm_extern.h:472:0,
                 from conftest.c:129:
/usr/include/uvm/uvm_map.h:130:2: error: unknown type name 'vsize_t'
  vsize_t   gap;  /* free space after */
  ^
/usr/include/uvm/uvm_map.h:131:2: error: unknown type name 'vsize_t'
  vsize_t   maxgap;  /* space in subtree */
  ^
/usr/include/uvm/uvm_map.h:134:2: error: unknown type name 'vaddr_t'
  vaddr_t   start;  /* start address */
  ^
/usr/include/uvm/uvm_map.h:135:2: error: unknown type name 'vaddr_t'
  vaddr_t   end;  /* end address */
  ^
/usr/include/uvm/uvm_map.h:218:2: error: unknown type name 'vsize_t'
  vsize_t   size;  /* virtual size */
  ^
In file included from /usr/include/uvm/uvm_extern.h:473:0,
                 from conftest.c:129:
/usr/include/uvm/uvm_pager.h:128:43: error: unknown type name 'vaddr_t'
  int (*pgo_fault)(struct uvm_faultinfo *, vaddr_t, struct vm_page **,
                                           ^
configure:16275: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Net-SNMP"
| #define PACKAGE_TARNAME "net-snmp"
| #define PACKAGE_VERSION "5.7.3"
| #define PACKAGE_STRING "Net-SNMP 5.7.3"
| #define PACKAGE_BUGREPORT "net-snmp-coders@lists.sourceforge.net"
| #define PACKAGE_URL ""
| #define NETSNMP_CONFIGURE_OPTIONS " '--with-defaults'"
| #define NETSNMP_ENABLE_SCAPI_AUTHPRIV 1
| #define NETSNMP_WITH_OPAQUE_SPECIAL_TYPES 1
| #define NETSNMP_PERSISTENT_MASK 077
| #define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX"
| #define NETSNMP_NO_DUMMY_VALUES 1
| #define NETSNMP_AGENTX_SOCKET "/var/agentx/master"
| #define NETSNMP_DEFAULT_SNMP_VERSION 3
| #define NETSNMP_SYS_CONTACT "@localdomain"
| #define NETSNMP_SYS_LOC "Unknown"
| #define NETSNMP_LOGFILE "/var/log/snmpd.log"
| #define NETSNMP_PERSISTENT_DIRECTORY "/var/net-snmp"
| #define UNAMEPROG "/usr/bin/uname"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define __EXTENSIONS__ 1
| #define _ALL_SOURCE 1
| #define _GNU_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define _TANDEM_SOURCE 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define NETSNMP_SYSTEM_INCLUDE_FILE "net-snmp/system/netbsd.h"
| #define NETSNMP_MACHINE_INCLUDE_FILE "net-snmp/machine/generic.h"
| #define SNMPLIBPATH "/usr/local/lib/snmp"
| #define SNMPDLMODPATH "/usr/local/lib/snmp/dlmod"
| #define SNMPSHAREPATH "/usr/local/share/snmp"
| #define NETSNMP_DEFAULT_MIBDIRS "$HOME/.snmp/mibs:/usr/local/share/snmp/mibs"
| #define SNMPCONFPATH "/usr/local/etc/snmp"
| #define STDC_HEADERS 1
| #define HAVE_DIRENT_H 1
| #define HAVE_SYS_WAIT_H 1
| #define HAVE_GETOPT_H 1
| #define HAVE_PTHREAD_H 1
| #define HAVE_REGEX_H 1
| #define HAVE_STRING_H 1
| #define HAVE_SYSLOG_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYS_TIMEB_H 1
| #define HAVE_SYS_UN_H 1
| #define HAVE_NLIST_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_LOCALE_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_SOCKIO_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TIMES_H 1
| #define HAVE_SYS_UIO_H 1
| #define HAVE_SYS_UTSNAME_H 1
| #define HAVE_DLFCN_H 1
| #define HAVE_ERR_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_FSTAB_H 1
| #define HAVE_GRP_H 1
| #define HAVE_KVM_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_PWD_H 1
| #define HAVE_UTMPX_H 1
| #define HAVE_SYS_DKIO_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_FILIO_H 1
| #define HAVE_SYS_IOCTL_H 1
| #define HAVE_SYS_POOL_H 1
| #define HAVE_SYS_PROTOSW_H 1
| #define HAVE_SYS_SOCKIO_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_STATVFS_H 1
| #define HAVE_SYS_UTSNAME_H 1
| #define HAVE_SYS_VMMETER_H 1
| #define HAVE_MACHINE_PARAM_H 1
| #define HAVE_NETINET_TCP_FSM_H 1
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| #include <uvm/uvm_extern.h>
configure:16275: result: no
configure:16275: checking uvm/uvm_extern.h presence
configure:16275: gcc -E  conftest.c
configure:16275: $? = 0
configure:16275: result: yes
configure:16275: WARNING: uvm/uvm_extern.h: present but cannot be compiled
configure:16275: WARNING: uvm/uvm_extern.h:     check for missing prerequisite headers?
configure:16275: WARNING: uvm/uvm_extern.h: see the Autoconf documentation
configure:16275: WARNING: uvm/uvm_extern.h:     section "Present But Cannot Be Compiled"
configure:16275: WARNING: uvm/uvm_extern.h: proceeding with the compiler's result
configure:16275: checking for uvm/uvm_extern.h
configure:16275: result: no
----- config.log

>How-To-Repeat:
Compile the following source.

-----
#include <stdint.h>
#include <uvm/uvm_extern.h>
-----

netbsd-7: compile success.
HEAD: compile failure.

>Fix:
N/A

>Release-Note:

>Audit-Trail:
From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: bin/50744: uvm/uvm_extern.h: present but cannot be compiled
Date: Tue, 2 Feb 2016 12:02:18 +0100

 On Tue, Feb 02, 2016 at 07:45:00AM +0000, nonakap@gmail.com wrote:
 > When net-snmp build, the following message was displayed.
 > It was caused by the recent "Hide {p,v}{addr,size}_t and register_t" changes.

 Add 

 #define _KMEMUSER      /* NetBSD hides many types for regular userland */

 before the first include in that file.

 Martin

State-Changed-From-To: open->closed
State-Changed-By: nonaka@NetBSD.org
State-Changed-When: Tue, 02 Feb 2016 11:58:24 +0000
State-Changed-Why:


From: NONAKA Kimihiro <nonakap@gmail.com>
To: "gnats-bugs@netbsd.org" <gnats-bugs@netbsd.org>
Cc: "gnats-admin@netbsd.org" <gnats-admin@netbsd.org>, 
	"netbsd-bugs@netbsd.org" <netbsd-bugs@netbsd.org>
Subject: Re: bin/50744: uvm/uvm_extern.h: present but cannot be compiled
Date: Tue, 2 Feb 2016 20:57:27 +0900

 OK, thanks.

 2016-02-02 20:05 GMT+09:00 Martin Husemann <martin@duskware.de>:
 > The following reply was made to PR bin/50744; it has been noted by GNATS.
 >
 > From: Martin Husemann <martin@duskware.de>
 > To: gnats-bugs@NetBSD.org
 > Cc:
 > Subject: Re: bin/50744: uvm/uvm_extern.h: present but cannot be compiled
 > Date: Tue, 2 Feb 2016 12:02:18 +0100
 >
 >  On Tue, Feb 02, 2016 at 07:45:00AM +0000, nonakap@gmail.com wrote:
 >  > When net-snmp build, the following message was displayed.
 >  > It was caused by the recent "Hide {p,v}{addr,size}_t and register_t" changes.
 >
 >  Add
 >
 >  #define _KMEMUSER      /* NetBSD hides many types for regular userland */
 >
 >  before the first include in that file.
 >
 >  Martin
 >

From: christos@zoulas.com (Christos Zoulas)
To: gnats-bugs@NetBSD.org, gnats-admin@netbsd.org, netbsd-bugs@netbsd.org
Cc: 
Subject: Re: bin/50744: uvm/uvm_extern.h: present but cannot be compiled
Date: Tue, 2 Feb 2016 08:56:15 -0500

 On Feb 2,  7:45am, nonakap@gmail.com (nonakap@gmail.com) wrote:
 -- Subject: bin/50744: uvm/uvm_extern.h: present but cannot be compiled

 | >Number:         50744
 | >Category:       bin
 | >Synopsis:       uvm/uvm_extern.h: present but cannot be compiled
 | >Confidential:   no
 | >Severity:       serious
 | >Priority:       medium
 | >Responsible:    bin-bug-people
 | >State:          open
 | >Class:          sw-bug
 | >Submitter-Id:   net
 | >Arrival-Date:   Tue Feb 02 07:45:00 +0000 2016
 | >Originator:     NONAKA Kimihiro
 | >Release:        HEAD (20160201)
 | >Organization:
 | >Environment:
 | NetBSD netbsd-vm 7.99.26 NetBSD 7.99.26 (GENERIC) #3: Tue Feb  2 12:39:18 JST 2016  nonaka@netbsd:/home/storage/snapshot/NetBSD/HEAD-20160127/obj.NetBSD-amd64/amd64/sys/arch/amd64/compile/GENERIC amd64
 | >Description:
 | When net-snmp build, the following message was displayed.
 | It was caused by the recent "Hide {p,v}{addr,size}_t and register_t" changes.

 What is net_snmp looking for in this header?

 christos

From: christos@zoulas.com (Christos Zoulas)
To: gnats-bugs@NetBSD.org, gnats-admin@netbsd.org, netbsd-bugs@netbsd.org, 
	nonakap@gmail.com
Cc: 
Subject: Re: bin/50744: uvm/uvm_extern.h: present but cannot be compiled
Date: Tue, 2 Feb 2016 08:58:55 -0500

 On Feb 2, 11:05am, martin@duskware.de (Martin Husemann) wrote:
 -- Subject: Re: bin/50744: uvm/uvm_extern.h: present but cannot be compiled

 | The following reply was made to PR bin/50744; it has been noted by GNATS.
 | 
 | From: Martin Husemann <martin@duskware.de>
 | To: gnats-bugs@NetBSD.org
 | Cc: 
 | Subject: Re: bin/50744: uvm/uvm_extern.h: present but cannot be compiled
 | Date: Tue, 2 Feb 2016 12:02:18 +0100
 | 
 |  On Tue, Feb 02, 2016 at 07:45:00AM +0000, nonakap@gmail.com wrote:
 |  > When net-snmp build, the following message was displayed.
 |  > It was caused by the recent "Hide {p,v}{addr,size}_t and register_t" changes.
 |  
 |  Add 
 |  
 |  #define _KMEMUSER      /* NetBSD hides many types for regular userland */
 |  
 |  before the first include in that file.

 Or -D_KERNTYPES for less exposed headers. But the interesting question is
 why net-snmp wants from uvm_extern.h and should less of the header be exposed
 by default if stuff it needs is there?

 christos

From: NONAKA Kimihiro <nonakap@gmail.com>
To: Christos Zoulas <christos@zoulas.com>
Cc: "gnats-bugs@netbsd.org" <gnats-bugs@netbsd.org>, 
	"gnats-admin@netbsd.org" <gnats-admin@netbsd.org>, "netbsd-bugs@netbsd.org" <netbsd-bugs@netbsd.org>
Subject: Re: bin/50744: uvm/uvm_extern.h: present but cannot be compiled
Date: Tue, 2 Feb 2016 23:19:03 +0900

 It seems to include uvm_extern.h for struct uvmexp and struct uvmexp_sysctl.

 2016-02-02 22:58 GMT+09:00 Christos Zoulas <christos@zoulas.com>:
 > On Feb 2, 11:05am, martin@duskware.de (Martin Husemann) wrote:
 > -- Subject: Re: bin/50744: uvm/uvm_extern.h: present but cannot be compiled
 >
 > | The following reply was made to PR bin/50744; it has been noted by GNATS.
 > |
 > | From: Martin Husemann <martin@duskware.de>
 > | To: gnats-bugs@NetBSD.org
 > | Cc:
 > | Subject: Re: bin/50744: uvm/uvm_extern.h: present but cannot be compiled
 > | Date: Tue, 2 Feb 2016 12:02:18 +0100
 > |
 > |  On Tue, Feb 02, 2016 at 07:45:00AM +0000, nonakap@gmail.com wrote:
 > |  > When net-snmp build, the following message was displayed.
 > |  > It was caused by the recent "Hide {p,v}{addr,size}_t and register_t" changes.
 > |
 > |  Add
 > |
 > |  #define _KMEMUSER      /* NetBSD hides many types for regular userland */
 > |
 > |  before the first include in that file.
 >
 > Or -D_KERNTYPES for less exposed headers. But the interesting question is
 > why net-snmp wants from uvm_extern.h and should less of the header be exposed
 > by default if stuff it needs is there?
 >
 > christos

From: christos@zoulas.com (Christos Zoulas)
To: gnats-bugs@NetBSD.org, gnats-admin@netbsd.org, netbsd-bugs@netbsd.org, 
	nonakap@gmail.com
Cc: 
Subject: Re: bin/50744: uvm/uvm_extern.h: present but cannot be compiled
Date: Tue, 2 Feb 2016 09:39:14 -0500

 On Feb 2,  2:20pm, nonakap@gmail.com (NONAKA Kimihiro) wrote:
 -- Subject: Re: bin/50744: uvm/uvm_extern.h: present but cannot be compiled

 |  It seems to include uvm_extern.h for struct uvmexp and struct uvmexp_sysctl.

 Thanks,

 Does this help?


 Index: uvm_extern.h
 ===================================================================
 RCS file: /cvsroot/src/sys/uvm/uvm_extern.h,v
 retrieving revision 1.193
 diff -u -u -r1.193 uvm_extern.h
 --- uvm_extern.h        6 Feb 2015 18:19:22 -0000       1.193
 +++ uvm_extern.h        2 Feb 2016 14:38:37 -0000
 @@ -465,8 +465,10 @@
  #include <uvm/uvm_param.h>
  #include <uvm/uvm_prot.h>
  #include <uvm/uvm_pmap.h>
 +#if defined(_KERNEL) || defined(_KMEMUSER)
  #include <uvm/uvm_map.h>
  #include <uvm/uvm_pager.h>
 +#endif

  /*
   * helpers for calling ubc_release()

From: NONAKA Kimihiro <nonakap@gmail.com>
To: Christos Zoulas <christos@zoulas.com>
Cc: "gnats-bugs@netbsd.org" <gnats-bugs@netbsd.org>, 
	"gnats-admin@netbsd.org" <gnats-admin@netbsd.org>, "netbsd-bugs@netbsd.org" <netbsd-bugs@netbsd.org>
Subject: Re: bin/50744: uvm/uvm_extern.h: present but cannot be compiled
Date: Tue, 2 Feb 2016 23:53:29 +0900

 2016-02-02 23:39 GMT+09:00 Christos Zoulas <christos@zoulas.com>:

 > On Feb 2,  2:20pm, nonakap@gmail.com (NONAKA Kimihiro) wrote:
 > -- Subject: Re: bin/50744: uvm/uvm_extern.h: present but cannot be compiled
 >
 > |  It seems to include uvm_extern.h for struct uvmexp and struct uvmexp_sysctl.
 >
 > Thanks,
 >
 > Does this help?

 Doesn't still help.

 -----
 configure:16275: checking uvm/uvm_extern.h usability
 configure:16275: gcc -c -fno-strict-aliasing -O2 -Dnetbsd1
 -I/usr/include -I/usr/pkg/include -Unetbsd -Dnetbsd=netbsd
 -I/usr/include -I/usr/pkg/include conftest.c >&5
 In file included from conftest.c:128:0:
 /usr/include/uvm/uvm_extern.h:493:16: error: field 'vm_map' has incomplete type
   struct vm_map vm_map; /* VM address map */
                 ^
 -----

From: christos@zoulas.com (Christos Zoulas)
To: gnats-bugs@NetBSD.org, gnats-admin@netbsd.org, netbsd-bugs@netbsd.org, 
	nonakap@gmail.com
Cc: 
Subject: Re: bin/50744: uvm/uvm_extern.h: present but cannot be compiled
Date: Tue, 2 Feb 2016 12:52:18 -0500

 On Feb 2,  2:55pm, nonakap@gmail.com (NONAKA Kimihiro) wrote:
 -- Subject: Re: bin/50744: uvm/uvm_extern.h: present but cannot be compiled

 |  Doesn't still help.

 Yes, and exposing vm_map needs vsize_t etc. _KMEMUSER or _KERNTYPES it is
 for now. This needs to be re-visited.

 christos

From: matthew green <mrg@eterna.com.au>
To: gnats-bugs@NetBSD.org
Cc: gnats-admin@netbsd.org, netbsd-bugs@netbsd.org, nonakap@gmail.com
Subject: re: bin/50744: uvm/uvm_extern.h: present but cannot be compiled
Date: Fri, 05 Feb 2016 09:08:11 +1100

 Martin Husemann writes:
 > The following reply was made to PR bin/50744; it has been noted by GNATS=
 .
 > =

 > From: Martin Husemann <martin@duskware.de>
 > To: gnats-bugs@NetBSD.org
 > Cc: =

 > Subject: Re: bin/50744: uvm/uvm_extern.h: present but cannot be compiled
 > Date: Tue, 2 Feb 2016 12:02:18 +0100
 > =

 >  On Tue, Feb 02, 2016 at 07:45:00AM +0000, nonakap@gmail.com wrote:
 >  > When net-snmp build, the following message was displayed.
 >  > It was caused by the recent "Hide {p,v}{addr,size}_t and register_t" =
 changes.
 >  =

 >  Add =

 >  =

 >  #define _KMEMUSER      /* NetBSD hides many types for regular userland =
 */
 >  =

 >  before the first include in that file.

 this doesn't seem like the right fix to me.

 <uvm/uvm_extern.h> is a userland API we've expsoed for a long time,
 and it should not require defining special things to get it to
 compile.  if the normal usage is including kernel-specific stuff
 that seems like the right place to fix it to me.


 .mrg.

From: matthew green <mrg@eterna.com.au>
To: christos@zoulas.com (Christos Zoulas)
Cc: gnats-bugs@NetBSD.org, gnats-admin@netbsd.org,
    netbsd-bugs@netbsd.org
Subject: re: bin/50744: uvm/uvm_extern.h: present but cannot be compiled
Date: Fri, 05 Feb 2016 09:11:29 +1100

 > | When net-snmp build, the following message was displayed.
 > | It was caused by the recent "Hide {p,v}{addr,size}_t and register_t" c=
 hanges.
 > =

 > What is net_snmp looking for in this header?

 one assumes struct uvmexp_sysctl, which is an exposed support API.


 .mrg.

From: Christos Zoulas <christos@zoulas.com>
To: matthew green <mrg@eterna.com.au>
Cc: gnats-bugs@NetBSD.org, gnats-admin@netbsd.org, netbsd-bugs@netbsd.org,
 nonakap@gmail.com
Subject: Re: bin/50744: uvm/uvm_extern.h: present but cannot be compiled
Date: Thu, 4 Feb 2016 20:02:43 -0500

 > Yes I am planning to fix it properly, but I am still contemplating how.

 christos

From: "Christos Zoulas" <christos@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/50744 CVS commit: src/sys/uvm
Date: Thu, 4 Feb 2016 23:18:55 -0500

 Module Name:	src
 Committed By:	christos
 Date:		Fri Feb  5 04:18:55 UTC 2016

 Modified Files:
 	src/sys/uvm: uvm_extern.h

 Log Message:
 PR/50744: NONAKA Kimihiro: Protect more stuff with _KERNEL && _KMEMUSER to
 make uvm_extern.h compile standalone again for net-snmp.


 To generate a diff of this commit:
 cvs rdiff -u -r1.195 -r1.196 src/sys/uvm/uvm_extern.h

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: closed->open
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Mon, 15 Feb 2016 12:06:19 +0000
State-Changed-Why:
closed prematurely


State-Changed-From-To: open->feedback
State-Changed-By: maya@NetBSD.org
State-Changed-When: Tue, 19 Jun 2018 23:30:54 +0000
State-Changed-Why:
Is this fixed well enough now?


State-Changed-From-To: feedback->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Fri, 13 Aug 2021 21:42:17 +0000
State-Changed-Why:
looks like it


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.