Received: from eggs.gnu.org ([2001:4830:134:3::10]:59241) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XXrO6-0007SB-Ia for qemu-devel@nongnu.org; Sat, 27 Sep 2014 08:46:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XXrNs-0001AA-Dj for qemu-devel@nongnu.org; Sat, 27 Sep 2014 08:46:10 -0400 Received: from indium.canonical.com ([91.189.90.7]:46497) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XXrNs-00018y-4j for qemu-devel@nongnu.org; Sat, 27 Sep 2014 08:45:56 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.76 #1 (Debian)) id 1XXrNm-00051g-8v for ; Sat, 27 Sep 2014 12:45:50 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 40ADC2E80AF for ; Sat, 27 Sep 2014 12:45:50 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Sat, 27 Sep 2014 12:38:28 -0000 From: Thomas Eschenbacher Sender: bounces@canonical.com References: <20140924104945.5098.74269.malonedeb@wampee.canonical.com> Message-Id: <20140927123828.32614.40567.malone@gac.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1373362] Re: qemu-2.1.1 i386-softmmu compile error: q35_dsdt_applesmc_sta undeclared Reply-To: Bug 1373362 <1373362@bugs.launchpad.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hi Peter, thanks for the hints! Indeed there was an outdated version of iasl on my system, which I have manually installed in /usr/local/bin many years ago... (on both machines, on the gentoo as well as the kubuntu box) - sorry for that!!! That produced an error message during build (see below), but for some reason the make system did not recognize that and continued with broken files (not only here, all other files were affected too). ---------------------------------------------------------------------------= --------- iasl -vs -l -tc -p q35-acpi-dsdt q35-acpi-dsdt.dsl.i 2>&1 = q35-acpi-dsdt.dsl.i 48: If (LEqual(Arg0, ToUUID("33DB4D5= B-1FF7-401C-9657-7441C03DD766"))) { Error 1037 - ^ syntax e= rror, unexpected PARSEOP_NAMESEG, expecting ')' q35-acpi-dsdt.dsl.i 61: } Else { Error 1037 - ^ syntax error, unexpected = PARSEOP_ELSE ASL Input: q35-acpi-dsdt.dsl.i - 308 lines, 22112 bytes, 47 keywords Compilation complete. 2 Errors, 0 Warnings, 0 Remarks, 5 Optimizations ---------------------------------------------------------------------------= --------- The bad old version of iasl that produced the trouble was: ------------------------------------------------------------------- Intel ACPI Component Architecture ASL Optimizing Compiler / AML Disassembler version 20040715 [Oct 11 2004] Copyright (C) 2000 - 2004 Intel Corporation Supports ACPI Specification Revision 2.0c ------------------------------------------------------------------- Now I checked with iasl-20130117-32 (Gentoo) and iasl-20140214-64 (Kubuntu), both worked fine and both understand the command line parameter "-v" to get their version (which is not the case for the old one). Maybe it is worth writing some version check in the configure script ? IMO we can close this bug. thanks a lot for your help, Thomas -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1373362 Title: qemu-2.1.1 i386-softmmu compile error: q35_dsdt_applesmc_sta undeclared Status in QEMU: New Status in =E2=80=9Cqemu=E2=80=9D package in Gentoo Linux: New Bug description: I try to compile qemu-2.1.1 (Gentoo/x86), but the i386-softmmu fails to compile: CPP i386-softmmu/q35-acpi-dsdt.dsl.i.orig ACPI_PREPROCESS i386-softmmu/q35-acpi-dsdt.dsl.i IASL i386-softmmu/q35-acpi-dsdt.dsl.i ACPI_EXTRACT i386-softmmu/q35-acpi-dsdt.off CAT i386-softmmu/hw/i386/q35-acpi-dsdt.hex CC i386-softmmu/hw/i386/acpi-build.o /tmp/portage/app-emulation/qemu-2.1.1/work/qemu-2.1.1/hw/i386/acpi-build.= c: In function 'acpi_get_dsdt': /tmp/portage/app-emulation/qemu-2.1.1/work/qemu-2.1.1/hw/i386/acpi-build.= c:119:24: error: 'q35_dsdt_applesmc_sta' undeclared (first use in this func= tion) applesmc_sta =3D q35_dsdt_applesmc_sta; ^ /tmp/portage/app-emulation/qemu-2.1.1/work/qemu-2.1.1/hw/i386/acpi-build.= c:119:24: note: each undeclared identifier is reported only once for each f= unction it appears in make[1]: *** [hw/i386/acpi-build.o] Error 1 make: *** [subdir-i386-softmmu] Error 2 Something seems to go wrong when generating the file i386-softmmu/hw/i386/q35-acpi-dsdt.hex: # grep -r q35_dsdt_applesmc_sta ../ ../softmmu-build/x86_64-softmmu/q35-acpi-dsdt.dsl.i:/* ACPI_EXTRACT_NAME_= BYTE_CONST q35_dsdt_applesmc_sta */ ../softmmu-build/x86_64-softmmu/q35-acpi-dsdt.dsl.i.orig: ACPI_EXT= RACT_NAME_BYTE_CONST q35_dsdt_applesmc_sta ../softmmu-build/i386-softmmu/q35-acpi-dsdt.dsl.i:/* ACPI_EXTRACT_NAME_BY= TE_CONST q35_dsdt_applesmc_sta */ ../softmmu-build/i386-softmmu/q35-acpi-dsdt.dsl.i.orig: ACPI_EXTRA= CT_NAME_BYTE_CONST q35_dsdt_applesmc_sta ../hw/i386/acpi-build.c: applesmc_sta =3D q35_dsdt_applesmc_sta; ../hw/i386/q35-acpi-dsdt.dsl:#define DSDT_APPLESMC_STA q35_dsdt_applesmc_= sta To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1373362/+subscriptions