Bug 264051 - Kernel compile fails with options ACPI_DEBUG without options ddb
Summary: Kernel compile fails with options ACPI_DEBUG without options ddb
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-17 20:58 UTC by Ed Maste
Modified: 2022-05-17 20:58 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Maste freebsd_committer freebsd_triage 2022-05-17 20:58:45 UTC
Attempting a custom kernel based on MINIMAL and adding:

+options                ACPI_DEBUG
+options                BUS_DEBUG

(Note MINIMAL does not include options DDB)

Build fails with

/usr/home/emaste/src/freebsd-git/main/sys/contrib/dev/acpica/components/debugger/dbcmds.c:749:28: error: use of undeclared identifier 'AcpiGbl_DbBuffer'
    ReturnBuffer.Pointer = AcpiGbl_DbBuffer;
                           ^
and other undeclared identifiers

I suspect MINIMAL excluding "options DDB" is itself a bug but acpica should either build or explicitly #error in this case, I think.