Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Nov 2025 16:33:15 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 291251] bcma_bhndb.ko, bhnd_pci_hostb.ko, bhnd_pcib.ko, bhndb_pci.ko fail to load with module loader local symbol resolution disabled
Message-ID:  <bug-291251-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

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: bugs@FreeBSD.org
          Reporter: emaste@freebsd.org

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.

help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-291251-227>