From owner-freebsd-current@FreeBSD.ORG Tue Apr 7 11:42:05 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 15A311065674 for ; Tue, 7 Apr 2009 11:42:05 +0000 (UTC) (envelope-from mister.olli@googlemail.com) Received: from mail-fx0-f167.google.com (mail-fx0-f167.google.com [209.85.220.167]) by mx1.freebsd.org (Postfix) with ESMTP id 91C348FC1D for ; Tue, 7 Apr 2009 11:42:04 +0000 (UTC) (envelope-from mister.olli@googlemail.com) Received: by fxm11 with SMTP id 11so2237867fxm.43 for ; Tue, 07 Apr 2009 04:42:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:subject:from:reply-to:to :content-type:date:message-id:mime-version:x-mailer; bh=4gRkklAJ3PaCCsn3IFD01+IQNQOzVrTEVdgit3RCKdM=; b=HKEjlyOdYUXSx/wexVPhOXg+MWVMZfGgvM67wscUiefyxCuLrza2bIc/gD3ZzlZRKN y+Y1iIFR/InyDLAMs+ppPn9VwoAMp/CMg8j6I4JMJwYM7AjSOk5YC0J6pqvOyEgbZD9l YbzlwoQBuEwmL12FoQoFe2vXhA8EAoO2S3utc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=subject:from:reply-to:to:content-type:date:message-id:mime-version :x-mailer; b=LbsERUpneEj5eysXv2d4vUxykx0/qPSMOoiqNNZp4KO9148dlDheKMauvtEgwz7Uyw 7iOsmF6vpI1np3yhGPoiwkbjsgT6ANdFLAB/kR4sv1J8HxnSzrcFBqbhtYCdkhkWngMO ucGePUZjV4LR6qUCHxrFnrBglWaOAr63bKkUk= Received: by 10.204.31.77 with SMTP id x13mr50585bkc.6.1239104523580; Tue, 07 Apr 2009 04:42:03 -0700 (PDT) Received: from ?10.20.86.26? ([217.111.64.3]) by mx.google.com with ESMTPS id z15sm1673924fkz.11.2009.04.07.04.42.02 (version=SSLv3 cipher=RC4-MD5); Tue, 07 Apr 2009 04:42:03 -0700 (PDT) From: Mister Olli To: freebsd-current@freebsd.org Content-Type: multipart/mixed; boundary="=-hm4JSLlRAVIeCEhw/vqN" Date: Tue, 07 Apr 2009 13:41:55 +0200 Message-Id: <1239104515.18207.15.camel@phoenix.blechhirn.net> Mime-Version: 1.0 X-Mailer: Evolution 2.24.5 Subject: Build XEN PV without WITNESS support X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: mister.olli@googlemail.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Apr 2009 11:42:05 -0000 --=-hm4JSLlRAVIeCEhw/vqN Content-Type: text/plain Content-Transfer-Encoding: 7bit Hi list, building a XEN pv domU without WITNESS support, fails with the following error: In file included from /usr/src/sys/dev/xen/netfront/netfront.c:33: /usr/src/sys/sys/sx.h:210:2: error: #error "LOCK_DEBUG not defined, include before " mkdep: compile failed *** Error code 1 Stop in /usr/obj/usr/src/sys/freebsd8_WITHOUT_WITNESS. *** Error code 1 The bug has been acknowledged by Kip Macy in the beginning of february, but unfortunately it's not fixed in SVN yet. The appended patch does the fixing. Regards, Olli --=-hm4JSLlRAVIeCEhw/vqN Content-Disposition: attachment; filename="LOCK_DEBUG.patch" Content-Type: text/x-patch; name="LOCK_DEBUG.patch"; charset="ISO-8859-15" Content-Transfer-Encoding: 7bit --- sys/dev/xen/netfront/netfront.c.ORIG 2009-04-06 23:22:05.000000000 +0200 +++ sys/dev/xen/netfront/netfront.c 2009-04-06 23:24:02.000000000 +0200 @@ -30,6 +30,7 @@ #include #include #include +#include #include #include --=-hm4JSLlRAVIeCEhw/vqN--