On Wed, Jul 25, 2012 at 02:45:31PM +0200, Idwer Vollering wrote:
2012/7/25 Kevin O'Connor kevin@koconnor.net:
On Wed, Jul 25, 2012 at 01:44:20PM +0200, Idwer Vollering wrote:
Unmodified tree, at 9d6bac1d32b72cdf7c0ad009c1371a2e69084de3
At a guess, the iasl warnings are confusing the acpi_extract_preprocess.py script. What version of iasl do you have?
The distribution version is iasl 20120620-1: ASL Optimizing Compiler version 20120620-64 [Jun 24 2012] coreboot build: ASL Optimizing Compiler version 20120420-64 [Jul 13 2012]
Does the patch below fix this for you?
-Kevin
diff --git a/src/acpi-dsdt.dsl b/src/acpi-dsdt.dsl index 2060686..f45162c 100644 --- a/src/acpi-dsdt.dsl +++ b/src/acpi-dsdt.dsl @@ -556,7 +556,6 @@ DefinitionBlock ( PCNT(Local0, 3) } } - Return(One) }
} @@ -735,7 +734,6 @@ DefinitionBlock ( } Increment(Local0) } - Return(One) } }
@@ -749,54 +747,40 @@ DefinitionBlock ( Name(_HID, "ACPI0006")
Method(_L00) { - Return(0x01) } Method(_E01) { // PCI hotplug event - Return(_SB.PCI0.PCNF()) + _SB.PCI0.PCNF() } Method(_E02) { // CPU hotplug event - Return(_SB.PRSC()) + _SB.PRSC() } Method(_L03) { - Return(0x01) } Method(_L04) { - Return(0x01) } Method(_L05) { - Return(0x01) } Method(_L06) { - Return(0x01) } Method(_L07) { - Return(0x01) } Method(_L08) { - Return(0x01) } Method(_L09) { - Return(0x01) } Method(_L0A) { - Return(0x01) } Method(_L0B) { - Return(0x01) } Method(_L0C) { - Return(0x01) } Method(_L0D) { - Return(0x01) } Method(_L0E) { - Return(0x01) } Method(_L0F) { - Return(0x01) } } }
2012/7/26 Kevin O'Connor kevin@koconnor.net:
On Wed, Jul 25, 2012 at 02:45:31PM +0200, Idwer Vollering wrote:
2012/7/25 Kevin O'Connor kevin@koconnor.net:
On Wed, Jul 25, 2012 at 01:44:20PM +0200, Idwer Vollering wrote:
Unmodified tree, at 9d6bac1d32b72cdf7c0ad009c1371a2e69084de3
At a guess, the iasl warnings are confusing the acpi_extract_preprocess.py script. What version of iasl do you have?
The distribution version is iasl 20120620-1: ASL Optimizing Compiler version 20120620-64 [Jun 24 2012] coreboot build: ASL Optimizing Compiler version 20120420-64 [Jul 13 2012]
Does the patch below fix this for you?
Unfortunately it doesn't fix this, I just tested a 'regular' compile (make menuconfig and exit without changing any option) which seems to stop with the same errors.
With this patch (and reverting the change to src/acpi-dsdt.dsl) I see some progress (see below for the resulting output of make):
diff --git a/Makefile b/Makefile index dfdec5c..b55705b 100644 --- a/Makefile +++ b/Makefile @@ -97,7 +97,7 @@ ifeq "$(COMPSTRAT)" "1" # First method - use -fwhole-program without -combine. define whole-compile @echo " Compiling whole program $3" -$(Q)printf '$(foreach i,$2,#include "../$i"\n)' > $3.tmp.c +$(Q)printf '$(foreach i,$2,#include "../$i")\n' >> $3.tmp.c $(Q)$(CC) $1 -fwhole-program -DWHOLE_PROGRAM -c $3.tmp.c -o $3 endef else @@ -105,7 +105,7 @@ ifeq "$(COMPSTRAT)" "2" # Second menthod - don't use -fwhole-program at all. define whole-compile @echo " Compiling whole program $3" -$(Q)printf '$(foreach i,$2,#include "../$i"\n)' > $3.tmp.c +$(Q)printf '$(foreach i,$2,#include "../$i")\n' >> $3.tmp.c $(Q)$(CC) $1 -c $3.tmp.c -o $3 endef else
8
Working around non-functional -combine mkdir -p out//tools/kconfig/lxdialog mkdir -p out//include/config make -C out/ -f /home/idwer/coreboot/git/seabios/tools/kconfig/Makefile srctree=/home/idwer/coreboot/git/seabios src=tools/kconfig obj=tools/kconfig Q= Kconfig=/home/idwer/coreboot/git/seabios/src/Kconfig silentoldconfig make[1]: Entering directory `/home/idwer/coreboot/git/seabios/out' cc -Itools/kconfig -I/home/idwer/coreboot/git/seabios/tools/kconfig -DCURSES_LOC="<ncurses.h>" -DLOCALE -c -o tools/kconfig/conf.o /home/idwer/coreboot/git/seabios/tools/kconfig/conf.c cc -Itools/kconfig -I/home/idwer/coreboot/git/seabios/tools/kconfig -DCURSES_LOC="<ncurses.h>" -DLOCALE -c -o tools/kconfig/kxgettext.o /home/idwer/coreboot/git/seabios/tools/kconfig/kxgettext.c cat /home/idwer/coreboot/git/seabios/tools/kconfig/zconf.tab.c_shipped
tools/kconfig/zconf.tab.c
cat /home/idwer/coreboot/git/seabios/tools/kconfig/lex.zconf.c_shipped
tools/kconfig/lex.zconf.c
cat /home/idwer/coreboot/git/seabios/tools/kconfig/zconf.hash.c_shipped
tools/kconfig/zconf.hash.c
cc -Itools/kconfig -I/home/idwer/coreboot/git/seabios/tools/kconfig -Itools/kconfig -DCURSES_LOC="<ncurses.h>" -DLOCALE -c -o tools/kconfig/zconf.tab.o tools/kconfig/zconf.tab.c cc -o tools/kconfig/conf tools/kconfig/conf.o tools/kconfig/zconf.tab.o Build Kconfig config file mkdir -p include/generated tools/kconfig/conf --silentoldconfig /home/idwer/coreboot/git/seabios/src/Kconfig make[1]: Leaving directory `/home/idwer/coreboot/git/seabios/out' Compiling IASL out/acpi-dsdt.hex cpp -P src/acpi-dsdt.dsl > out/acpi-dsdt.dsl.i.orig python ./tools/acpi_extract_preprocess.py out/acpi-dsdt.dsl.i.orig > out/acpi-dsdt.dsl.i iasl -vs -l -tc -p out/acpi-dsdt out/acpi-dsdt.dsl.i ASL Input: out/acpi-dsdt.dsl.i - 613 lines, 22508 bytes, 326 keywords AML Output: out/acpi-dsdt.aml - 4648 bytes, 163 named objects, 163 executable opcodes Listing File: out/acpi-dsdt.lst - 143029 bytes Hex Dump: out/acpi-dsdt.hex - 43904 bytes
Compilation complete. 0 Errors, 0 Warnings, 0 Remarks, 243 Optimizations python ./tools/acpi_extract.py out/acpi-dsdt.lst > out/acpi-dsdt.off cat out/acpi-dsdt.off > out/acpi-dsdt.hex Compiling IASL out/ssdt-proc.hex cpp -P src/ssdt-proc.dsl > out/ssdt-proc.dsl.i.orig python ./tools/acpi_extract_preprocess.py out/ssdt-proc.dsl.i.orig > out/ssdt-proc.dsl.i iasl -vs -l -tc -p out/ssdt-proc out/ssdt-proc.dsl.i ASL Input: out/ssdt-proc.dsl.i - 36 lines, 496 bytes, 8 keywords AML Output: out/ssdt-proc.aml - 120 bytes, 6 named objects, 2 executable opcodes Listing File: out/ssdt-proc.lst - 2502 bytes Hex Dump: out/ssdt-proc.hex - 1452 bytes
Compilation complete. 0 Errors, 0 Warnings, 0 Remarks, 0 Optimizations python ./tools/acpi_extract.py out/ssdt-proc.lst > out/ssdt-proc.off cat out/ssdt-proc.off > out/ssdt-proc.hex Compiling IASL out/ssdt-pcihp.hex cpp -P src/ssdt-pcihp.dsl > out/ssdt-pcihp.dsl.i.orig python ./tools/acpi_extract_preprocess.py out/ssdt-pcihp.dsl.i.orig > out/ssdt-pcihp.dsl.i iasl -vs -l -tc -p out/ssdt-pcihp out/ssdt-pcihp.dsl.i out/ssdt-pcihp.dsl.i 13: Method (_EJ0, 1) { Return(PCEJ(0x01)) } Name (_SUN, 0x01) } Warning 1104 - Reserved method should not return a value ^ (_EJ0)
out/ssdt-pcihp.dsl.i 18: Method (_EJ0, 1) { Return(PCEJ(0x02)) } Name (_SUN, 0x02) } Warning 1104 - Reserved method should not return a value ^ (_EJ0)
out/ssdt-pcihp.dsl.i 23: Method (_EJ0, 1) { Return(PCEJ(0x03)) } Name (_SUN, 0x03) } Warning 1104 - Reserved method should not return a value ^ (_EJ0)
out/ssdt-pcihp.dsl.i 28: Method (_EJ0, 1) { Return(PCEJ(0x04)) } Name (_SUN, 0x04) } Warning 1104 - Reserved method should not return a value ^ (_EJ0)
out/ssdt-pcihp.dsl.i 33: Method (_EJ0, 1) { Return(PCEJ(0x05)) } Name (_SUN, 0x05) } Warning 1104 - Reserved method should not return a value ^ (_EJ0)
out/ssdt-pcihp.dsl.i 38: Method (_EJ0, 1) { Return(PCEJ(0x06)) } Name (_SUN, 0x06) } Warning 1104 - Reserved method should not return a value ^ (_EJ0)
out/ssdt-pcihp.dsl.i 43: Method (_EJ0, 1) { Return(PCEJ(0x07)) } Name (_SUN, 0x07) } Warning 1104 - Reserved method should not return a value ^ (_EJ0)
out/ssdt-pcihp.dsl.i 48: Method (_EJ0, 1) { Return(PCEJ(0x08)) } Name (_SUN, 0x08) } Warning 1104 - Reserved method should not return a value ^ (_EJ0)
out/ssdt-pcihp.dsl.i 53: Method (_EJ0, 1) { Return(PCEJ(0x09)) } Name (_SUN, 0x09) } Warning 1104 - Reserved method should not return a value ^ (_EJ0)
out/ssdt-pcihp.dsl.i 58: Method (_EJ0, 1) { Return(PCEJ(0x0a)) } Name (_SUN, 0x0a) } Warning 1104 - Reserved method should not return a value ^ (_EJ0)
out/ssdt-pcihp.dsl.i 63: Method (_EJ0, 1) { Return(PCEJ(0x0b)) } Name (_SUN, 0x0b) } Warning 1104 - Reserved method should not return a value ^ (_EJ0)
out/ssdt-pcihp.dsl.i 68: Method (_EJ0, 1) { Return(PCEJ(0x0c)) } Name (_SUN, 0x0c) } Warning 1104 - Reserved method should not return a value ^ (_EJ0)
out/ssdt-pcihp.dsl.i 73: Method (_EJ0, 1) { Return(PCEJ(0x0d)) } Name (_SUN, 0x0d) } Warning 1104 - Reserved method should not return a value ^ (_EJ0)
out/ssdt-pcihp.dsl.i 78: Method (_EJ0, 1) { Return(PCEJ(0x0e)) } Name (_SUN, 0x0e) } Warning 1104 - Reserved method should not return a value ^ (_EJ0)
out/ssdt-pcihp.dsl.i 83: Method (_EJ0, 1) { Return(PCEJ(0x0f)) } Name (_SUN, 0x0f) } Warning 1104 - Reserved method should not return a value ^ (_EJ0)
out/ssdt-pcihp.dsl.i 88: Method (_EJ0, 1) { Return(PCEJ(0x10)) } Name (_SUN, 0x10) } Warning 1104 - Reserved method should not return a value ^ (_EJ0)
out/ssdt-pcihp.dsl.i 93: Method (_EJ0, 1) { Return(PCEJ(0x11)) } Name (_SUN, 0x11) } Warning 1104 - Reserved method should not return a value ^ (_EJ0)
out/ssdt-pcihp.dsl.i 98: Method (_EJ0, 1) { Return(PCEJ(0x12)) } Name (_SUN, 0x12) } Warning 1104 - Reserved method should not return a value ^ (_EJ0)
out/ssdt-pcihp.dsl.i 103: Method (_EJ0, 1) { Return(PCEJ(0x13)) } Name (_SUN, 0x13) } Warning 1104 - Reserved method should not return a value ^ (_EJ0)
out/ssdt-pcihp.dsl.i 108: Method (_EJ0, 1) { Return(PCEJ(0x14)) } Name (_SUN, 0x14) } Warning 1104 - Reserved method should not return a value ^ (_EJ0)
out/ssdt-pcihp.dsl.i 113: Method (_EJ0, 1) { Return(PCEJ(0x15)) } Name (_SUN, 0x15) } Warning 1104 - Reserved method should not return a value ^ (_EJ0)
out/ssdt-pcihp.dsl.i 118: Method (_EJ0, 1) { Return(PCEJ(0x16)) } Name (_SUN, 0x16) } Warning 1104 - Reserved method should not return a value ^ (_EJ0)
out/ssdt-pcihp.dsl.i 123: Method (_EJ0, 1) { Return(PCEJ(0x17)) } Name (_SUN, 0x17) } Warning 1104 - Reserved method should not return a value ^ (_EJ0)
out/ssdt-pcihp.dsl.i 128: Method (_EJ0, 1) { Return(PCEJ(0x18)) } Name (_SUN, 0x18) } Warning 1104 - Reserved method should not return a value ^ (_EJ0)
out/ssdt-pcihp.dsl.i 133: Method (_EJ0, 1) { Return(PCEJ(0x19)) } Name (_SUN, 0x19) } Warning 1104 - Reserved method should not return a value ^ (_EJ0)
out/ssdt-pcihp.dsl.i 138: Method (_EJ0, 1) { Return(PCEJ(0x1a)) } Name (_SUN, 0x1a) } Warning 1104 - Reserved method should not return a value ^ (_EJ0)
out/ssdt-pcihp.dsl.i 143: Method (_EJ0, 1) { Return(PCEJ(0x1b)) } Name (_SUN, 0x1b) } Warning 1104 - Reserved method should not return a value ^ (_EJ0)
out/ssdt-pcihp.dsl.i 148: Method (_EJ0, 1) { Return(PCEJ(0x1c)) } Name (_SUN, 0x1c) } Warning 1104 - Reserved method should not return a value ^ (_EJ0)
out/ssdt-pcihp.dsl.i 153: Method (_EJ0, 1) { Return(PCEJ(0x1d)) } Name (_SUN, 0x1d) } Warning 1104 - Reserved method should not return a value ^ (_EJ0)
out/ssdt-pcihp.dsl.i 158: Method (_EJ0, 1) { Return(PCEJ(0x1e)) } Name (_SUN, 0x1e) } Warning 1104 - Reserved method should not return a value ^ (_EJ0)
out/ssdt-pcihp.dsl.i 163: 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 - 232 lines, 5795 bytes, 254 keywords AML Output: out/ssdt-pcihp.aml - 1646 bytes, 130 named objects, 124 executable opcodes Listing File: out/ssdt-pcihp.lst - 36135 bytes Hex Dump: out/ssdt-pcihp.hex - 15779 bytes
Compilation complete. 0 Errors, 31 Warnings, 0 Remarks, 3 Optimizations python ./tools/acpi_extract.py out/ssdt-pcihp.lst > out/ssdt-pcihp.off cat out/ssdt-pcihp.off > out/ssdt-pcihp.hex Compiling whole program out/ccode32flat.o printf '#include "../src/misc.c" #include "../src/stacks.c" #include "../src/pmm.c" #include "../src/output.c" #include "../src/util.c" #include "../src/block.c" #include "../src/floppy.c" #include "../src/ata.c" #include "../src/mouse.c" #include "../src/kbd.c" #include "../src/pci.c" #include "../src/serial.c" #include "../src/clock.c" #include "../src/pic.c" #include "../src/cdrom.c" #include "../src/ps2port.c" #include "../src/smp.c" #include "../src/resume.c" #include "../src/pnpbios.c" #include "../src/pirtable.c" #include "../src/vgahooks.c" #include "../src/ramdisk.c" #include "../src/pcibios.c" #include "../src/blockcmd.c" #include "../src/usb.c" #include "../src/usb-uhci.c" #include "../src/usb-ohci.c" #include "../src/usb-ehci.c" #include "../src/usb-hid.c" #include "../src/usb-msc.c" #include "../src/virtio-ring.c" #include "../src/virtio-pci.c" #include "../src/virtio-blk.c" #include "../src/virtio-scsi.c" #include "../src/apm.c" #include "../src/ahci.c" #include "../src/usb-uas.c" #include "../src/lsi-scsi.c" #include "../src/post.c" #include "../src/shadow.c" #include "../src/memmap.c" #include "../src/coreboot.c" #include "../src/boot.c" #include "../src/acpi.c" #include "../src/smm.c" #include "../src/mptable.c" #include "../src/smbios.c" #include "../src/pciinit.c" #include "../src/optionroms.c" #include "../src/mtrr.c" #include "../src/lzmadecode.c" #include "../src/bootsplash.c" #include "../src/jpeg.c" #include "../src/usb-hub.c" #include "../src/paravirt.c" #include "../src/biostables.c" #include "../src/xen.c" #include "../src/bmp.c" #include "../src/romfile.c"\n'
out/ccode32flat.o.tmp.c
cc -Iout/ -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-stack-protector -DMODE16=0 -DMODESEGMENT=0 -fomit-frame-pointer -fwhole-program -DWHOLE_PROGRAM -c out/ccode32flat.o.tmp.c -o out/ccode32flat.o out/ccode32flat.o.tmp.c:1:26: warning: extra tokens at end of #include directive [enabled by default] Compiling whole program out/code32seg.o printf '#include "../src/util.c" #include "../src/output.c" #include "../src/pci.c" #include "../src/pcibios.c" #include "../src/apm.c" #include "../src/stacks.c"\n' >> out/code32seg.o.tmp.c cc -Iout/ -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-stack-protector -DMODESEGMENT=1 -fno-defer-pop -fno-jump-tables -fno-tree-switch-conversion -DMODE16=0 -fomit-frame-pointer -fwhole-program -DWHOLE_PROGRAM -c out/code32seg.o.tmp.c -o out/code32seg.o out/code32seg.o.tmp.c:1:26: warning: extra tokens at end of #include directive [enabled by default] Compiling whole program out/ccode16.o printf '#include "../src/misc.c" #include "../src/stacks.c" #include "../src/pmm.c" #include "../src/output.c" #include "../src/util.c" #include "../src/block.c" #include "../src/floppy.c" #include "../src/ata.c" #include "../src/mouse.c" #include "../src/kbd.c" #include "../src/pci.c" #include "../src/serial.c" #include "../src/clock.c" #include "../src/pic.c" #include "../src/cdrom.c" #include "../src/ps2port.c" #include "../src/smp.c" #include "../src/resume.c" #include "../src/pnpbios.c" #include "../src/pirtable.c" #include "../src/vgahooks.c" #include "../src/ramdisk.c" #include "../src/pcibios.c" #include "../src/blockcmd.c" #include "../src/usb.c" #include "../src/usb-uhci.c" #include "../src/usb-ohci.c" #include "../src/usb-ehci.c" #include "../src/usb-hid.c" #include "../src/usb-msc.c" #include "../src/virtio-ring.c" #include "../src/virtio-pci.c" #include "../src/virtio-blk.c" #include "../src/virtio-scsi.c" #include "../src/apm.c" #include "../src/ahci.c" #include "../src/usb-uas.c" #include "../src/lsi-scsi.c" #include "../src/system.c" #include "../src/disk.c" #include "../src/font.c"\n' >> out/ccode16.o.tmp.c cc -Iout/ -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-stack-protector -DMODESEGMENT=1 -fno-defer-pop -fno-jump-tables -fno-tree-switch-conversion -DMODE16=1 -Wa,src/code16gcc.s --param large-stack-frame=4 -fomit-frame-pointer -fwhole-program -DWHOLE_PROGRAM -c out/ccode16.o.tmp.c -o out/ccode16.o out/ccode16.o.tmp.c:1:26: warning: extra tokens at end of #include directive [enabled by default] Compiling to assembler out/asm-offsets.s cc -Iout/ -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-stack-protector -DMODESEGMENT=1 -fno-defer-pop -fno-jump-tables -fno-tree-switch-conversion -DMODE16=1 -Wa,src/code16gcc.s --param large-stack-frame=4 -fomit-frame-pointer -S -c src/asm-offsets.c -o out/asm-offsets.s Generating offset file out/asm-offsets.h ./tools/gen-offsets.sh out/asm-offsets.s out/asm-offsets.h Compiling (16bit) out/romlayout.o cc -Iout/ -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-stack-protector -DMODESEGMENT=1 -fno-defer-pop -fno-jump-tables -fno-tree-switch-conversion -DMODE16=1 -Wa,src/code16gcc.s --param large-stack-frame=4 -fomit-frame-pointer -c -D__ASSEMBLY__ src/romlayout.S -o out/romlayout.o Building ld scripts ./tools/buildversion.sh out/version.c Version: rel-1.7.0-82-g9d6bac1-dirty-20120726_111728-tp-x60-1707cto cc -Iout/ -Os -MD -g -Wall -Wno-strict-aliasing -Wold-style-definition -Wtype-limits -m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 -minline-all-stringops -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks -ffunction-sections -fdata-sections -fno-common -fno-stack-protector -DMODE16=0 -DMODESEGMENT=0 -fomit-frame-pointer -c out/version.c -o out/version.o ld -melf_i386 -r out/ccode32flat.o out/version.o -o out/code32flat.o ld -melf_i386 -r out/ccode16.o out/romlayout.o -o out/code16.o objdump -thr out/code32flat.o > out/code32flat.o.objdump objdump -thr out/code32seg.o > out/code32seg.o.objdump objdump -thr out/code16.o > out/code16.o.objdump python ./tools/layoutrom.py out/code16.o.objdump out/code32seg.o.objdump out/code32flat.o.objdump out/romlayout16.lds out/romlayout32seg.lds out/romlayout32flat.lds Fixed space: 0xe05b-0x10000 total: 8101 slack: 7237 Percent slack: 89.3% 16bit size: 8224 32bit segmented size: 0 32bit flat size: 0 32bit flat init size: 0 Lowmem size: 0 Linking out/rom16.o ld -T out/romlayout16.lds out/code16.o -o out/rom16.o out/code16.o: In function `handle_12': /home/idwer/coreboot/git/seabios/out/../src/misc.c:29: undefined reference to `__debug_enter' out/code16.o: In function `handle_11': /home/idwer/coreboot/git/seabios/out/../src/misc.c:37: undefined reference to `__debug_enter' out/code16.o: In function `handle_05': /home/idwer/coreboot/git/seabios/out/../src/misc.c:45: undefined reference to `__debug_enter' out/code16.o: In function `handle_02': /home/idwer/coreboot/git/seabios/out/../src/misc.c:60: undefined reference to `__debug_isr' out/code16.o: In function `entry_resume': /home/idwer/coreboot/git/seabios/src/romlayout.S:247: undefined reference to `ExtraStack' /home/idwer/coreboot/git/seabios/src/romlayout.S:249: undefined reference to `handle_resume' out/code16.o: In function `entry_pcibios32': /home/idwer/coreboot/git/seabios/src/romlayout.S:344: undefined reference to `_cfunc32seg_handle_pcibios32' out/code16.o: In function `entry_elf': /home/idwer/coreboot/git/seabios/src/romlayout.S:383: undefined reference to `_cfunc32flat_handle_post' out/code16.o: In function `irqentry_extrastack': /home/idwer/coreboot/git/seabios/src/romlayout.S:401: undefined reference to `StackPos' out/code16.o: In function `entry_13': /home/idwer/coreboot/git/seabios/src/romlayout.S:463: undefined reference to `handle_13' out/code16.o: In function `entry_19': /home/idwer/coreboot/git/seabios/src/romlayout.S:474: undefined reference to `_cfunc32flat_handle_19' out/code16.o: In function `entry_post': /home/idwer/coreboot/git/seabios/src/romlayout.S:492: undefined reference to `HaveRunPost' /home/idwer/coreboot/git/seabios/src/romlayout.S:494: undefined reference to `_cfunc32flat_handle_post' out/code16.o: In function `entry_14': /home/idwer/coreboot/git/seabios/src/romlayout.S:516: undefined reference to `handle_14' out/code16.o: In function `entry_16': /home/idwer/coreboot/git/seabios/src/romlayout.S:519: undefined reference to `handle_16' out/code16.o: In function `entry_09': /home/idwer/coreboot/git/seabios/src/romlayout.S:522: undefined reference to `handle_09' out/code16.o: In function `entry_40': /home/idwer/coreboot/git/seabios/src/romlayout.S:525: undefined reference to `handle_40' out/code16.o: In function `entry_0e': /home/idwer/coreboot/git/seabios/src/romlayout.S:528: undefined reference to `handle_0e' out/code16.o: In function `entry_17': /home/idwer/coreboot/git/seabios/src/romlayout.S:533: undefined reference to `handle_17' out/code16.o: In function `entry_15': /home/idwer/coreboot/git/seabios/src/romlayout.S:552: undefined reference to `handle_15' out/code16.o: In function `entry_1a': /home/idwer/coreboot/git/seabios/src/romlayout.S:557: undefined reference to `handle_1a' out/code16.o: In function `entry_08': /home/idwer/coreboot/git/seabios/src/romlayout.S:560: undefined reference to `handle_08' make: *** [out/rom16.o] Error 1