Skip to contentSkip to conversation

New: needs unknown symbol errors building cros_ec_sensors_core

Bug 213979 [email protected] 1 participant 2 messages Aug 5, 2021 – Aug 7, 2021 IIO

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=213979

            Bug ID: 213979
           Summary: needs unknown symbol errors building
                    cros_ec_sensors_core
           Product: Drivers
           Version: 2.5
    Kernel Version: 5.13.6
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: IIO
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

Created attachment 298213
--> https://bugzilla.kernel.org/attachment.cgi?id=298213&action=edit
config

depmod: WARNING:
/home/jason/rpmbuild/BUILDROOT/kernel-5.13.6-200.fc34.x86_64/./lib/modules/5.13.6-200.fc34.x86_64+debug/kernel/drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.ko needs unknown symbol cros_ec_sensorhub_register_push_data

depmod: WARNING:
/home/jason/rpmbuild/BUILDROOT/kernel-5.13.6-200.fc34.x86_64/./lib/modules/5.13.6-200.fc34.x86_64+debug/kernel/drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.ko needs unknown symbol cros_ec_sensorhub_unregister_push_data

I've attached the config. Please let me know if there is anything else I can provide.

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#1 lore raw

[Bug 213979] needs unknown symbol errors building cros_ec_sensors_core

https://bugzilla.kernel.org/show_bug.cgi?id=213979

Jason M. ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Jason M. ([email protected]) ---
Andy, Guenter, thank you for your help. I apologize for filing this and taking your time. It looks like an issue with the script Fedora uses to filter modules into the kernel-core and kernel-modules packages.

The modules under drivers/platform were getting filtered out (removed) while the iio/common modules were left in place before it was running depmod, which is what resulted in the warnings. I modified the script a bit and my custom build worked.

https://src.fedoraproject.org/rpms/kernel/blob/f34/f/filter-modules.sh.fedora

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.