Received: from eggs.gnu.org ([140.186.70.92]:44676) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RDTpu-0001V8-De for qemu-devel@nongnu.org; Tue, 11 Oct 2011 00:21:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RDTpr-0006ZT-4p for qemu-devel@nongnu.org; Tue, 11 Oct 2011 00:21:02 -0400 Received: from ozlabs.org ([203.10.76.45]:42252) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RDTpq-0006ZJ-Qc for qemu-devel@nongnu.org; Tue, 11 Oct 2011 00:20:59 -0400 Date: Tue, 11 Oct 2011 15:20:54 +1100 From: David Gibson Message-ID: <20111011042054.GA4849@truffala.fritz.box> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: [Qemu-devel] Build bug in virtio-9p-handle.c List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: jvrao@linux.vnet.ibm.com, qemu-devel@nongnu.org virtio-9p-handle.c relies on a "struct file_handle". From the code it appears that this is defined in sufficiently recent glibc versions. Specifically, the file defines the structure itself if built on a glibc version < 2.14. However, this test does not appear to be correct. Fedora 16, for example, currently has packaged libc 2.14.90 which does _not_ contain the struct file_handle definition. This means that qemu will not compile there, without hacking the #if. I don't know if struct file_handle was added partway through the 2.14 series and the test needs refinement, or if the test is just plain wrong, but one way or another, it needs a fix. -- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson