Public bug reported:

acpi_root_dir is undefined on architectures which are not built with
ACPI. That means that building acpi-call on those arches will fail
starting with 5.2.

On previous kernels, only a warning would be emitted during modpost,
telling that the symbol was undefined. But it also meant that such a
module would not load, making the build kinda pointless.

Starting with 5.2, external modules will also have to define
KBUILD_MODPOST_WARN, in order to build with undefined symbols. See
upstream commit 83da1bed86cdfe3abb2a33c36a2a5aaf5f390ef6 ("modpost: make
KBUILD_MODPOST_WARN also configurable for external modules").

However, I don't think we should fix the build of the module here, as
it's pointless on those architectures where we don't support ACPI.

** Affects: acpi-call (Ubuntu)
     Importance: Undecided
         Status: Won't Fix

** Changed in: acpi-call (Ubuntu)
       Status: New => Won't Fix

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1830787

Title:
  acpi-call won't build on 5.2 kernel for some architectures

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/acpi-call/+bug/1830787/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to