NetBSD-Bugs archive

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

bin/53405: base iasl can't build xen (no problem with unmodified iasl)



>Number:         53405
>Category:       bin
>Synopsis:       base iasl can't build xen (no problem with unmodified iasl)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 27 11:45:00 +0000 2018
>Originator:     coypu
>Release:        8.99.19
>Organization:
>Environment:
NetBSD planets 8.99.19 NetBSD 8.99.19 (GENERIC) #0: Sat Jun 23 06:52:51 IDT 2018  fly@planets:/tmp/build/sys/arch/amd64/compile/GENERIC amd64

> iasl -v

Intel ACPI Component Architecture
ASL+ Optimizing Compiler/Disassembler version 20180427
Copyright (c) 2000 - 2018 Intel Corporation

>Description:
curl -o ssdt_pm.asl "https://xenbits.xen.org/gitweb/?p=xen.git;a=blob_plain;f=tools/libacpi/ssdt_pm.asl;h=d81b1f2a36359f2de7ee1ad8f5548b3312e7461c;hb=HEAD";

> /usr/bin/iasl -vs -p out -tc ssdt_pm.asl
Compiler aborting due to parser-detected syntax error(s)
ssdt_pm.asl    339:             Name (_HID, EisaId ("PNP0C0A"))
Error    6126 -                    syntax error ^ 

ssdt_pm.asl    384:             Name (_HID, EisaId ("PNP0C0A"))
Error    6126 -                    syntax error ^ 

ASL Input:     ssdt_pm.asl - 419 lines, 12575 bytes, 192 keywords
Hex Dump:      out.hex - 233 bytes

Compilation complete. 2 Errors, 0 Warnings, 0 Remarks, 0 Optimizations




if I update pkgsrc acpica-utils to the latest and try it instead,

> /usr/pkg/bin/iasl -vs -p out -tc ssdt_pm.asl
ssdt_pm.asl    397:                 Store (\_SB.PB2, Local0)
Warning  3144 -       Method Local is set but never used ^  (Local0)

ASL Input:     ssdt_pm.asl - 420 lines, 12575 bytes, 192 keywords
AML Output:    out.aml - 1447 bytes, 61 named objects, 131 executable opcodes
Hex Dump:      out.hex - 13963 bytes

Compilation complete. 0 Errors, 1 Warnings, 0 Remarks, 31 Optimizations

> /usr/pkg/bin/iasl -v

Intel ACPI Component Architecture
ASL+ Optimizing Compiler/Disassembler version 20180531
Copyright (c) 2000 - 2018 Intel Corporation


>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index