Skip to content

new(acpica.org): iasl ACPI compiler#13263

Open
tannevaled wants to merge 1 commit into
pkgxdev:mainfrom
tannevaled:new/acpica.org
Open

new(acpica.org): iasl ACPI compiler#13263
tannevaled wants to merge 1 commit into
pkgxdev:mainfrom
tannevaled:new/acpica.org

Conversation

@tannevaled

Copy link
Copy Markdown
Contributor

Adds acpica.org, packaging Intel ACPICA's iasl — the ASL+ optimizing compiler/disassembler.

Why

EDK II (#13239) shells out to iasl to compile .asl ACPI tables into .aml during firmware builds (RamDiskDxe's NFIT table, etc.). iasl isn't currently in the pantry, so the edk2 build fails with iasl: command not found (exit 127). This packages it as a standalone build-time dependency.

Prerequisite for #13239 — that PR build-depends on acpica.org, so this should land first.

Notes

  • Tags switched from R20YY_MM_DD to a clean YYYYMMDD scheme around mid-2025; we match only the latter.
  • darwin/arm64 links with -Wl,-no_fixup_chains: ACPICA keeps unaligned function pointers in __DATA,__const tables that the mach-o chained-fixups format rejects (ld: pointer not aligned in '_AcpiExDumpNode'; lld emits the same advice).

Test plan

Built iasl locally on darwin/arm64 (pantry flex/bison/clang) from the resolved tag 20260408; iasl -v reports the version and it compiles a trivial SSDT to .aml.

ACPICA provides iasl, the ASL+ compiler EDK II shells out to when turning
.asl ACPI tables into .aml during firmware builds. It is not in the pantry
yet, so packaging it as a standalone build-time dependency.

Darwin/arm64 needs -Wl,-no_fixup_chains: ACPICA keeps unaligned function
pointers in __DATA,__const tables that the mach-o chained-fixups format
rejects ("pointer not aligned in '_AcpiExDumpNode'").

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant