https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291251

            Bug ID: 291251
           Summary: bcma_bhndb.ko, bhnd_pci_hostb.ko, bhnd_pcib.ko,
                    bhndb_pci.ko fail to load with module loader local
                    symbol resolution disabled
           Product: Base System
           Version: 16.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: [email protected]
          Reporter: [email protected]

See
https://lists.freebsd.org/archives/freebsd-current/2025-November/009500.html
for background.

To reproduce, set
debug.link_elf_leak_locals=0
debug.link_elf_obj_leak_locals=0
then

% kldload bcma_bhndb.ko
link_elf_obj: symbol bcma_probe undefined
linker_load_file: /boot/kernel/bcma_bhndb.ko - unsupported file type
kldload: an error occurred while loading module bcma_bhndb.ko. Please check
dmesg(8) for more details.

The dependent modules need to list their intentionally exported symbols in
EXPORT_SYMS

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to