[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] acpi compile errors in seabios


  • To: xen-devel@xxxxxxxxxxxxx
  • From: Olaf Hering <olaf@xxxxxxxxx>
  • Date: Mon, 13 May 2013 14:56:36 +0200
  • Delivery-date: Mon, 13 May 2013 12:57:25 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>

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)



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.