Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Sep 2012 21:50:14 GMT
From:      David Marker <dmarker@gmail.com>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/167671: [libkvm] [patch] libkvm doesn&#39;t initialize vnet
Message-ID:  <201209072150.q87LoEEn028021@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/167671; it has been noted by GNATS.

From: David Marker <dmarker@gmail.com>
To: bug-followup@FreeBSD.org, dmarker@gmail.com
Cc:  
Subject: Re: kern/167671: [libkvm] [patch] libkvm doesn&#39;t initialize
 vnet
Date: Fri, 7 Sep 2012 15:49:30 -0600

 I can confirm that Andriy Gapon's suggestion to just removing static also fixes kernels built with `options VIMAGE` and clang(1).
 
 -Dave  
 
 
 root@familiar:/usr/src # svn diff sys/kern/kern_shutdown.c
 Index: sys/kern/kern_shutdown.c
 ===================================================================
 --- sys/kern/kern_shutdown.c (revision 240204)
 +++ sys/kern/kern_shutdown.c (working copy)
 @@ -148,7 +148,7 @@
 
 /* Context information for dump-debuggers. */
 static struct pcb dumppcb; /* Registers. */
 -static lwpid_t dumptid; /* Thread ID. */
 +lwpid_t dumptid; /* Thread ID. */
 
 static void poweroff_wait(void *, int);
 static void shutdown_halt(void *junk, int howto);
 
 
 
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209072150.q87LoEEn028021>