From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54304) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vjt2p-00079w-U1 for qemu-devel@nongnu.org; Fri, 22 Nov 2013 10:53:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vjt2g-0000wJ-Ip for qemu-devel@nongnu.org; Fri, 22 Nov 2013 10:53:23 -0500 Received: from mail-wi0-x234.google.com ([2a00:1450:400c:c05::234]:61783) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vjt2g-0000wF-8A for qemu-devel@nongnu.org; Fri, 22 Nov 2013 10:53:14 -0500 Received: by mail-wi0-f180.google.com with SMTP id hm4so2783305wib.1 for ; Fri, 22 Nov 2013 07:53:13 -0800 (PST) Date: Fri, 22 Nov 2013 16:53:10 +0100 From: Stefan Hajnoczi Message-ID: <20131122155310.GC3232@stefanha-thinkpad.redhat.com> References: <250225497.60855.1385021203160.open-xchange@email.1und1.de> <20131121083648.GI24886@G08FNSTD100614.fnst.cn.fujitsu.com> <528E70AD.4050900@rdsoftware.de> <20131122105631.GE24388@stefanha-thinkpad.redhat.com> <54035371.127078.1385118997906.open-xchange@email.1und1.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <54035371.127078.1385118997906.open-xchange@email.1und1.de> Subject: Re: [Qemu-devel] GIT master fails compilation for ACPI List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Erik Rull Cc: Hu Tao , "qemu-devel@nongnu.org" , "Michael S. Tsirkin" On Fri, Nov 22, 2013 at 12:16:37PM +0100, Erik Rull wrote: > > On November 22, 2013 at 11:56 AM Stefan Hajnoczi wrote: > > > > > > On Thu, Nov 21, 2013 at 09:44:29PM +0100, Erik Rull wrote: > > > Hu Tao wrote: > > > >On Thu, Nov 21, 2013 at 09:06:43AM +0100, Erik Rull wrote: > > > >>Hi all, > > > >> > > > >>when doing a git clone on the latest master, it fails compiling: > > > >> > > > >>   CC    x86_64-softmmu/memory_mapping.o > > > >>   CC    x86_64-softmmu/dump.o > > > >>   CC    x86_64-softmmu/xen-stub.o > > > >>   CC    x86_64-softmmu/hw/i386/multiboot.o > > > >>   CC    x86_64-softmmu/hw/i386/smbios.o > > > >>   CC    x86_64-softmmu/hw/i386/pc.o > > > >>   CC    x86_64-softmmu/hw/i386/pc_piix.o > > > >>   CC    x86_64-softmmu/hw/i386/pc_q35.o > > > >>   CC    x86_64-softmmu/hw/i386/pc_sysfw.o > > > >>   CC    x86_64-softmmu/hw/i386/kvmvapic.o > > > >>   CPP x86_64-softmmu/acpi-dsdt.dsl.i.orig > > > >>   ACPI_PREPROCESS x86_64-softmmu/acpi-dsdt.dsl.i > > > >>   IASL x86_64-softmmu/acpi-dsdt.dsl.i > > > >>make[1]: *** [hw/i386/acpi-dsdt.hex] Error 1 > > > >>make: *** [subdir-x86_64-softmmu] Error 2 > > > >>erik@debian:~/qemu-test/qemu$ > > > >> > > > >> > > > >>My configure options are: > > > >>./configure --prefix= --target-list=x86_64-softmmu --disable-vnc-png > > > > > > > >Are you sure about --prefix= and... > > > > > > > >>--disable-vnc-jpeg --disable-vnc-tls --disable-vnc-sasl  --audio-drv-list= > > > > > > > >... --audio-drv-list= ? > > > > > > > >>--enable-sdl --disable-xen --disable-brlapi --disable-bluez --disable-curl > > > >>--disable-guest-agent --disable-spice > > > > > > > >I can't even do a configure with exactly the above options, it gives an > > > >error message: > > > > > > > >   ERROR: unknown option --disable-vnc-sasl > > > > > > > >While removing --prefix= and --audio-drv-list=, the compilation goes > > > >fine. > > > > > > > > > > No, sorry, the error is still the same! I did a make distclean and > > > redid the configure without the options you pointed out. > > > > > > Any further ideas? Are there more possibilities to debug why the > > > compilation fails? > > > > Just a guess, but do you have the acpica-tools package installed?  You > > need the iasl compiler. > > > > Stefan > > > > Hi Stefan, > > my distro doesn't seem to have this package: > debian:/home/erik# apt-get install acpica-tools > Reading package lists... Done > Building dependency tree... Done > E: Couldn't find package acpica-tools > debian:/home/erik# > > The IASL compiler is installed, here the version: > Intel ACPI Component Architecture > ASL Optimizing Compiler version 20060912 [Dec 20 2006] > Copyright (C) 2000 - 2006 Intel Corporation > Supports ACPI Specification Revision 3.0a > > And there is no newer version available for my distro. > > It's getting more and more complex to build qemu, is there a reason why everyone > needs to build the acpi stuff by himself? It should be something static like the > bios binary files, right? (Sorry for this question, I'm not familiar with ACPI) > So you could provide the defaults directly and everyone that wants to modify the > defaults is free to compile it by himself. > > And if these tools are required, please add an error message at configure > runtime so that the successive errors at runtime will not appear, because > compiling is then blocked by configure. And if the IASL is too old, a version > check at configure runtime would be helpful as well. All of this is reasonable but I don't know the answers :). CCing Michael Tsirkin for ACPI help Stefan