Re: CVS commit: src/sys/arch/x86/x86

2015-05-18 Thread Masanobu SAITOH

On 2015/05/18 22:09, SAITOH Masanobu wrote:

Module Name:src
Committed By:   msaitoh
Date:   Mon May 18 13:09:55 UTC 2015

Modified Files:
src/sys/arch/x86/x86: cpu.c

Log Message:
  PS. Revert previous.


To generate a diff of this commit:
cvs rdiff -u -r1.114 -r1.115 src/sys/arch/x86/x86/cpu.c

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


 Sorry. I accidentally committed my test implementation to support
Intel rdrand instruction for rnd(4). That feasture should be attached
as a driver via cpufeature bus.

--
---
SAITOH Masanobu (msai...@execsw.org
 msai...@netbsd.org)


Re: CVS commit: src/sys

2015-05-18 Thread Joerg Sonnenberger
On Sun, May 10, 2015 at 07:41:16AM +, Paul Goyette wrote:
 Module Name:  src
 Committed By: pgoyette
 Date: Sun May 10 07:41:16 UTC 2015
 
 Modified Files:
   src/sys/compat/common: compat_mod.c sysv_ipc_50.c
   src/sys/kern: files.kern syscalls.master sysv_ipc.c
   src/sys/modules: Makefile
   src/sys/modules/compat: Makefile
   src/sys/sys: ipc.h
 Added Files:
   src/sys/compat/common: compat_sysv_mod.c
   src/sys/modules/compat_sysv: Makefile

This broke sysutils/libgtop:

/usr/include/sys/ipc.h:138:42: error: a parameter list without types is only 
allowed in a function 
definition
void sysvipc50_set_compat_sysctl(int (*)(SYSCTLFN_PROTO));
 ^

joerg


Re: CVS commit: src/sys

2015-05-18 Thread Paul Goyette

On Mon, 18 May 2015, Joerg Sonnenberger wrote:


On Sun, May 10, 2015 at 07:41:16AM +, Paul Goyette wrote:

Module Name:src
Committed By:   pgoyette
Date:   Sun May 10 07:41:16 UTC 2015

Modified Files:
src/sys/compat/common: compat_mod.c sysv_ipc_50.c
src/sys/kern: files.kern syscalls.master sysv_ipc.c
src/sys/modules: Makefile
src/sys/modules/compat: Makefile
src/sys/sys: ipc.h
Added Files:
src/sys/compat/common: compat_sysv_mod.c
src/sys/modules/compat_sysv: Makefile


This broke sysutils/libgtop:

/usr/include/sys/ipc.h:138:42: error: a parameter list without types is
only allowed in a function definition
void sysvipc50_set_compat_sysctl(int (*)(SYSCTLFN_PROTO));


Really?  This line is wrapped inside '#ifdef _KERNEL' protection (see 
ipc.h:110) and should probably not be compiled for userland.


Let me see if I can figure out what's going on...



-
| Paul Goyette | PGP Key fingerprint: | E-mail addresses:   |
| (Retired)| FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com|
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd.org  |
-


Re: CVS commit: src/sys

2015-05-18 Thread Paul Goyette
Hmmm, I just updated my pkgsrc tree and built libgtop-2.28.4nb7 without 
any problems.  It doesn't look like anything in the package has been 
updated recently, so I don't understand why you got that error message.


My build was running on a amd64-7.99.15 host.

Can you retry?  And provide complete log of the libgtop build?


On Tue, 19 May 2015, Paul Goyette wrote:


On Mon, 18 May 2015, Joerg Sonnenberger wrote:


On Sun, May 10, 2015 at 07:41:16AM +, Paul Goyette wrote:

Module Name:src
Committed By:   pgoyette
Date:   Sun May 10 07:41:16 UTC 2015

Modified Files:
src/sys/compat/common: compat_mod.c sysv_ipc_50.c
src/sys/kern: files.kern syscalls.master sysv_ipc.c
src/sys/modules: Makefile
src/sys/modules/compat: Makefile
src/sys/sys: ipc.h
Added Files:
src/sys/compat/common: compat_sysv_mod.c
src/sys/modules/compat_sysv: Makefile


This broke sysutils/libgtop:

/usr/include/sys/ipc.h:138:42: error: a parameter list without types is
only allowed in a function definition
void sysvipc50_set_compat_sysctl(int (*)(SYSCTLFN_PROTO));


Really?  This line is wrapped inside '#ifdef _KERNEL' protection (see 
ipc.h:110) and should probably not be compiled for userland.


Let me see if I can figure out what's going on...



-
| Paul Goyette | PGP Key fingerprint: | E-mail addresses:   |
| (Retired)| FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com|
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd.org  |
-



-
| Paul Goyette | PGP Key fingerprint: | E-mail addresses:   |
| (Retired)| FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com|
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd.org  |
-