The following reply was made to PR kern/167671; it has been noted by GNATS.

From: David Marker <[email protected]>
To: [email protected], [email protected]
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);
 
 
 
 
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to