svn commit: r235777 - head/sys/kern

2012-05-22 Thread Hartmut Brandt
Author: harti Date: Tue May 22 07:23:41 2012 New Revision: 235777 URL: http://svn.freebsd.org/changeset/base/235777 Log: Make dumptid non-static. It is used by libkvm to detect whether this is a VNET-kernel or not. gcc used to put the static symbol into the symbol table, clang does not.

Re: svn commit: r235777 - head/sys/kern

2012-05-22 Thread Bruce Evans
On Tue, 22 May 2012, Hartmut Brandt wrote: Log: Make dumptid non-static. It is used by libkvm to detect whether this is a VNET-kernel or not. gcc used to put the static symbol into the symbol table, clang does not. This fixes the 'netstat: no namelist' error seen on clang+VNET systems.

Re: svn commit: r235777 - head/sys/kern

2012-05-22 Thread Hartmut Brandt
On Tue, 22 May 2012, Bruce Evans wrote: BEOn Tue, 22 May 2012, Hartmut Brandt wrote: BE BE Log: BE Make dumptid non-static. It is used by libkvm to detect whether BE this is a VNET-kernel or not. gcc used to put the static symbol into BE the symbol table, clang does not. This fixes the

Re: svn commit: r235777 - head/sys/kern

2012-05-22 Thread Bjoern A. Zeeb
On 22. May 2012, at 07:23 , Hartmut Brandt wrote: Author: harti Date: Tue May 22 07:23:41 2012 New Revision: 235777 URL: http://svn.freebsd.org/changeset/base/235777 Log: Make dumptid non-static. It is used by libkvm to detect whether this is a VNET-kernel or not. Just for

Re: svn commit: r235777 - head/sys/kern

2012-05-22 Thread Bruce Evans
On Tue, 22 May 2012, Hartmut Brandt wrote: On Tue, 22 May 2012, Bruce Evans wrote: BEOn Tue, 22 May 2012, Hartmut Brandt wrote: BE BE Log: BE Make dumptid non-static. It is used by libkvm to detect whether BE this is a VNET-kernel or not. gcc used to put the static symbol into BE the symbol