All of lore.kernel.org
 help / color / mirror / Atom feed
From: Olaf Hering <olaf@aepfle.de>
To: xen-devel@lists.xen.org
Subject: acpi compile errors in seabios
Date: Mon, 13 May 2013 14:56:36 +0200	[thread overview]
Message-ID: <20130513125636.GA13383@aepfle.de> (raw)


xen-unstable fails to compile in openSuSE:Factory since a few weeks.
I think the reason is a newer acpica package, because compilation works
fine in openSuSE 12.3 and older. There is no obvious difference between
the Factory and 12.3 acpica pacakge.

This link suggests that seabios itself is to blame:
http://bugs.debian.org/707454

Any ideas what needs to be done?

Olaf

rpm -qfi `which iasl`
Name        : acpica
Version     : 20121220

...

 make -C firmware install
 make[3]: Entering directory `/home/abuild/rpmbuild/BUILD/xen-4.3.27026/non-dbg/tools/firmware'
 GIT=git /home/abuild/rpmbuild/BUILD/xen-4.3.27026/non-dbg/tools/firmware/../../scripts/git-checkout.sh git://xenbits.xen.org/seabios.git rel-1.7.1 seabios-dir
 cp seabios-config seabios-dir/.config;
 make PYTHON=python subdirs-all
 make[4]: Entering directory `/home/abuild/rpmbuild/BUILD/xen-4.3.27026/non-dbg/tools/firmware'
 make[5]: Entering directory `/home/abuild/rpmbuild/BUILD/xen-4.3.27026/non-dbg/tools/firmware'
 make -C seabios-dir all
   Working around non-functional -combine
 make[6]: Entering directory `/home/abuild/rpmbuild/BUILD/xen-4.3.27026/non-dbg/seabios-dir-remote'
   Build Kconfig config file
   Compiling IASL out/acpi-dsdt.hex
 out/acpi-dsdt.dsl.i    578:             Return(0x01)
 Warning  1104 -                                  ^ Reserved method should not return a value (_L00)

 out/acpi-dsdt.dsl.i    581:             Return(\_SB.PCI0.PCNF())
 Warning  1104 -  Reserved method should not return a value ^  (_E01)

 out/acpi-dsdt.dsl.i    584:             Return(\_SB.PRSC())
 Warning  1104 -                                       ^ Reserved method should not return a value (_E02)

 out/acpi-dsdt.dsl.i    587:             Return(0x01)
 Warning  1104 -                                  ^ Reserved method should not return a value (_L03)

 out/acpi-dsdt.dsl.i    590:             Return(0x01)
 Warning  1104 -                                  ^ Reserved method should not return a value (_L04)

 out/acpi-dsdt.dsl.i    593:             Return(0x01)
 Warning  1104 -                                  ^ Reserved method should not return a value (_L05)

 out/acpi-dsdt.dsl.i    596:             Return(0x01)
 Warning  1104 -                                  ^ Reserved method should not return a value (_L06)

 out/acpi-dsdt.dsl.i    599:             Return(0x01)
 Warning  1104 -                                  ^ Reserved method should not return a value (_L07)

 out/acpi-dsdt.dsl.i    602:             Return(0x01)
 Warning  1104 -                                  ^ Reserved method should not return a value (_L08)

 out/acpi-dsdt.dsl.i    605:             Return(0x01)
 Warning  1104 -                                  ^ Reserved method should not return a value (_L09)

 out/acpi-dsdt.dsl.i    608:             Return(0x01)
 Warning  1104 -                                  ^ Reserved method should not return a value (_L0A)

 out/acpi-dsdt.dsl.i    611:             Return(0x01)
 Warning  1104 -                                  ^ Reserved method should not return a value (_L0B)

 out/acpi-dsdt.dsl.i    614:             Return(0x01)
 Warning  1104 -                                  ^ Reserved method should not return a value (_L0C)

 out/acpi-dsdt.dsl.i    617:             Return(0x01)
 Warning  1104 -                                  ^ Reserved method should not return a value (_L0D)

 out/acpi-dsdt.dsl.i    620:             Return(0x01)
 Warning  1104 -                                  ^ Reserved method should not return a value (_L0E)

 out/acpi-dsdt.dsl.i    623:             Return(0x01)
 Warning  1104 -                                  ^ Reserved method should not return a value (_L0F)

 ASL Input:     out/acpi-dsdt.dsl.i - 628 lines, 22960 bytes, 344 keywords
 AML Output:    out/acpi-dsdt.aml - 4682 bytes, 163 named objects, 181 executable opcodes
 Listing File:  out/acpi-dsdt.lst - 150565 bytes
 Hex Dump:      out/acpi-dsdt.hex - 44234 bytes

 Compilation complete. 0 Errors, 16 Warnings, 0 Remarks, 257 Optimizations
   Compiling IASL out/ssdt-proc.hex
 ASL Input:     out/ssdt-proc.dsl.i - 35 lines, 765 bytes, 8 keywords
 AML Output:    out/ssdt-proc.aml - 120 bytes, 6 named objects, 2 executable opcodes
 Listing File:  out/ssdt-proc.lst - 2563 bytes
 Hex Dump:      out/ssdt-proc.hex - 1407 bytes

 Compilation complete. 0 Errors, 0 Warnings, 0 Remarks, 0 Optimizations
   Compiling IASL out/ssdt-pcihp.hex
 out/ssdt-pcihp.dsl.i     12:  Method (_EJ0, 1) { Return(PCEJ(0x01)) } Name (_SUN, 0x01) }
 Warning  1104 - Reserved method should not return a value ^  (_EJ0)

 out/ssdt-pcihp.dsl.i     17:  Method (_EJ0, 1) { Return(PCEJ(0x02)) } Name (_SUN, 0x02) }
 Warning  1104 - Reserved method should not return a value ^  (_EJ0)

 out/ssdt-pcihp.dsl.i     22:  Method (_EJ0, 1) { Return(PCEJ(0x03)) } Name (_SUN, 0x03) }
 Warning  1104 - Reserved method should not return a value ^  (_EJ0)

 out/ssdt-pcihp.dsl.i     27:  Method (_EJ0, 1) { Return(PCEJ(0x04)) } Name (_SUN, 0x04) }
 Warning  1104 - Reserved method should not return a value ^  (_EJ0)

 out/ssdt-pcihp.dsl.i     32:  Method (_EJ0, 1) { Return(PCEJ(0x05)) } Name (_SUN, 0x05) }
 Warning  1104 - Reserved method should not return a value ^  (_EJ0)

 out/ssdt-pcihp.dsl.i     37:  Method (_EJ0, 1) { Return(PCEJ(0x06)) } Name (_SUN, 0x06) }
 Warning  1104 - Reserved method should not return a value ^  (_EJ0)

 out/ssdt-pcihp.dsl.i     42:  Method (_EJ0, 1) { Return(PCEJ(0x07)) } Name (_SUN, 0x07) }
 Warning  1104 - Reserved method should not return a value ^  (_EJ0)

 out/ssdt-pcihp.dsl.i     47:  Method (_EJ0, 1) { Return(PCEJ(0x08)) } Name (_SUN, 0x08) }
 Warning  1104 - Reserved method should not return a value ^  (_EJ0)

 out/ssdt-pcihp.dsl.i     52:  Method (_EJ0, 1) { Return(PCEJ(0x09)) } Name (_SUN, 0x09) }
 Warning  1104 - Reserved method should not return a value ^  (_EJ0)

 out/ssdt-pcihp.dsl.i     57:  Method (_EJ0, 1) { Return(PCEJ(0x0a)) } Name (_SUN, 0x0a) }
 Warning  1104 - Reserved method should not return a value ^  (_EJ0)

 out/ssdt-pcihp.dsl.i     62:  Method (_EJ0, 1) { Return(PCEJ(0x0b)) } Name (_SUN, 0x0b) }
 Warning  1104 - Reserved method should not return a value ^  (_EJ0)

 out/ssdt-pcihp.dsl.i     67:  Method (_EJ0, 1) { Return(PCEJ(0x0c)) } Name (_SUN, 0x0c) }
 Warning  1104 - Reserved method should not return a value ^  (_EJ0)

 out/ssdt-pcihp.dsl.i     72:  Method (_EJ0, 1) { Return(PCEJ(0x0d)) } Name (_SUN, 0x0d) }
 Warning  1104 - Reserved method should not return a value ^  (_EJ0)

 out/ssdt-pcihp.dsl.i     77:  Method (_EJ0, 1) { Return(PCEJ(0x0e)) } Name (_SUN, 0x0e) }
 Warning  1104 - Reserved method should not return a value ^  (_EJ0)

 out/ssdt-pcihp.dsl.i     82:  Method (_EJ0, 1) { Return(PCEJ(0x0f)) } Name (_SUN, 0x0f) }
 Warning  1104 - Reserved method should not return a value ^  (_EJ0)

 out/ssdt-pcihp.dsl.i     87:  Method (_EJ0, 1) { Return(PCEJ(0x10)) } Name (_SUN, 0x10) }
 Warning  1104 - Reserved method should not return a value ^  (_EJ0)

 out/ssdt-pcihp.dsl.i     92:  Method (_EJ0, 1) { Return(PCEJ(0x11)) } Name (_SUN, 0x11) }
 Warning  1104 - Reserved method should not return a value ^  (_EJ0)

 out/ssdt-pcihp.dsl.i     97:  Method (_EJ0, 1) { Return(PCEJ(0x12)) } Name (_SUN, 0x12) }
 Warning  1104 - Reserved method should not return a value ^  (_EJ0)

 out/ssdt-pcihp.dsl.i    102:  Method (_EJ0, 1) { Return(PCEJ(0x13)) } Name (_SUN, 0x13) }
 Warning  1104 - Reserved method should not return a value ^  (_EJ0)

 out/ssdt-pcihp.dsl.i    107:  Method (_EJ0, 1) { Return(PCEJ(0x14)) } Name (_SUN, 0x14) }
 Warning  1104 - Reserved method should not return a value ^  (_EJ0)

 out/ssdt-pcihp.dsl.i    112:  Method (_EJ0, 1) { Return(PCEJ(0x15)) } Name (_SUN, 0x15) }
 Warning  1104 - Reserved method should not return a value ^  (_EJ0)

 out/ssdt-pcihp.dsl.i    117:  Method (_EJ0, 1) { Return(PCEJ(0x16)) } Name (_SUN, 0x16) }
 Warning  1104 - Reserved method should not return a value ^  (_EJ0)

 out/ssdt-pcihp.dsl.i    122:  Method (_EJ0, 1) { Return(PCEJ(0x17)) } Name (_SUN, 0x17) }
 Warning  1104 - Reserved method should not return a value ^  (_EJ0)

 out/ssdt-pcihp.dsl.i    127:  Method (_EJ0, 1) { Return(PCEJ(0x18)) } Name (_SUN, 0x18) }
 Warning  1104 - Reserved method should not return a value ^  (_EJ0)

 out/ssdt-pcihp.dsl.i    132:  Method (_EJ0, 1) { Return(PCEJ(0x19)) } Name (_SUN, 0x19) }
 Warning  1104 - Reserved method should not return a value ^  (_EJ0)

 out/ssdt-pcihp.dsl.i    137:  Method (_EJ0, 1) { Return(PCEJ(0x1a)) } Name (_SUN, 0x1a) }
 Warning  1104 - Reserved method should not return a value ^  (_EJ0)

 out/ssdt-pcihp.dsl.i    142:  Method (_EJ0, 1) { Return(PCEJ(0x1b)) } Name (_SUN, 0x1b) }
 Warning  1104 - Reserved method should not return a value ^  (_EJ0)

 out/ssdt-pcihp.dsl.i    147:  Method (_EJ0, 1) { Return(PCEJ(0x1c)) } Name (_SUN, 0x1c) }
 Warning  1104 - Reserved method should not return a value ^  (_EJ0)

 out/ssdt-pcihp.dsl.i    152:  Method (_EJ0, 1) { Return(PCEJ(0x1d)) } Name (_SUN, 0x1d) }
 Warning  1104 - Reserved method should not return a value ^  (_EJ0)

 out/ssdt-pcihp.dsl.i    157:  Method (_EJ0, 1) { Return(PCEJ(0x1e)) } Name (_SUN, 0x1e) }
 Warning  1104 - Reserved method should not return a value ^  (_EJ0)

 out/ssdt-pcihp.dsl.i    162:  Method (_EJ0, 1) { Return(PCEJ(0x1f)) } Name (_SUN, 0x1f) }
 Warning  1104 - Reserved method should not return a value ^  (_EJ0)

 ASL Input:     out/ssdt-pcihp.dsl.i - 231 lines, 8975 bytes, 254 keywords
 AML Output:    out/ssdt-pcihp.aml - 1646 bytes, 130 named objects, 124 executable opcodes
 Listing File:  out/ssdt-pcihp.lst - 38557 bytes
 Hex Dump:      out/ssdt-pcihp.hex - 15734 bytes

 Compilation complete. 0 Errors, 31 Warnings, 0 Remarks, 3 Optimizations
   Compiling whole program out/ccode32flat.o
 In file included from out/ccode32flat.o.tmp.c:45:0:
 out/../src/acpi.c: In function 'build_ssdt':
 out/../src/acpi.c:417:34: error: 'ssdt_proc_end' undeclared (first use in this function)
 out/../src/acpi.c:417:34: note: each undeclared identifier is reported only once for each function it appears in
 out/../src/acpi.c:417:34: error: 'ssdt_proc_start' undeclared (first use in this function)
 out/../src/acpi.c:439:26: error: 'ssdp_proc_aml' undeclared (first use in this function)
 out/../src/acpi.c:440:18: error: 'ssdt_proc_name' undeclared (first use in this function)
 out/../src/acpi.c:443:18: error: 'ssdt_proc_id' undeclared (first use in this function)
 In file included from out/ccode32flat.o.tmp.c:45:0:
 out/../src/acpi.c: In function 'build_pcihp':
 out/../src/acpi.c:528:35: error: 'ssdp_pcihp_aml' undeclared (first use in this function)
 out/../src/acpi.c:537:9: error: 'aml_ej0_name' undeclared (first use in this function)
 out/../src/acpi.c:537:37: error: 'aml_adr_dword' undeclared (first use in this function)
 out/../src/acpi.c:561:14: error: 'acpi_s3_name' undeclared (first use in this function)
 out/../src/acpi.c:563:14: error: 'acpi_s4_name' undeclared (first use in this function)
 out/../src/acpi.c:565:14: error: 'acpi_s4_pkg' undeclared (first use in this function)
 out/../src/acpi.c: In function 'acpi_bios_init':
 out/../src/acpi.c:780:41: error: 'AmlCode' undeclared (first use in this function)
 make[6]: *** [out/ccode32flat.o] Error 1
   Compiling whole program out/code32seg.o
   Compiling whole program out/ccode16.o
   Compiling to assembler out/asm-offsets.s
   Generating offset file out/asm-offsets.h
   Compiling (16bit) out/romlayout.o
 make[6]: Target `all' not remade because of errors.
 make[6]: Leaving directory `/home/abuild/rpmbuild/BUILD/xen-4.3.27026/non-dbg/seabios-dir-remote'
 make[5]: *** [subdir-all-seabios-dir] Error 2
 make[5]: Leaving directory `/home/abuild/rpmbuild/BUILD/xen-4.3.27026/non-dbg/tools/firmware'
 make[4]: *** [subdirs-all] Error 2
 make[4]: Leaving directory `/home/abuild/rpmbuild/BUILD/xen-4.3.27026/non-dbg/tools/firmware'
 make[3]: *** [all] Error 2
 make[3]: Target `install' not remade because of errors.
 make[3]: Leaving directory `/home/abuild/rpmbuild/BUILD/xen-4.3.27026/non-dbg/tools/firmware'
 make[2]: *** [subdir-install-firmware] Error 2
 make[2]: Leaving directory `/home/abuild/rpmbuild/BUILD/xen-4.3.27026/non-dbg/tools'
 make[1]: *** [subdirs-install] Error 2
 make[1]: Target `install' not remade because of errors.
 make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/xen-4.3.27026/non-dbg/tools'
 make: *** [install-tools] Error 2
 make: Target `tools' not remade because of errors.
 error: Bad exit status from /var/tmp/rpm-tmp.gkSkBT (%build)

             reply	other threads:[~2013-05-13 12:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-13 12:56 Olaf Hering [this message]
2013-05-13 13:01 ` acpi compile errors in seabios Ian Campbell
2013-05-13 13:39   ` Olaf Hering

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130513125636.GA13383@aepfle.de \
    --to=olaf@aepfle.de \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.