Bug 291250 - cxgbe: Module fails to load with debug.link_elf_leak_locals and debug.link_elf_obj_leak_locals not enabled
Summary: cxgbe: Module fails to load with debug.link_elf_leak_locals and debug.link_el...
Status: In Progress
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 16.0-CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: Navdeep Parhar
URL:
Keywords:
Depends on:
Blocks: 207898
  Show dependency treegraph
 
Reported: 2025-11-27 16:29 UTC by Ed Maste
Modified: 2025-11-28 16:31 UTC (History)
3 users (show)

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 2025-11-27 16:29:23 UTC
See thread at https://lists.freebsd.org/archives/freebsd-current/2025-November/009500.html for background.

sys/modules/cxgbe/tom/Makefile needs to provide a list exported symbols in EXPORT_SYMS
Comment 1 commit-hook freebsd_committer freebsd_triage 2025-11-28 03:37:57 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/src/commit/?id=dcab3c4f496414309371c4d671b35b3528419600

commit dcab3c4f496414309371c4d671b35b3528419600
Author:     Navdeep Parhar <np@FreeBSD.org>
AuthorDate: 2025-11-27 19:48:50 +0000
Commit:     Navdeep Parhar <np@FreeBSD.org>
CommitDate: 2025-11-28 03:33:27 +0000

    Export t4_tom's symbols for other offload modules

    This allows iw_cxgbe.ko, cxgbei.ko, nvmf_che.ko, etc. to be loaded when
    debug.link_elf_leak_locals and debug.link_elf_obj_leak_locals are
    disabled.

    PR:             291250
    MFC after:      1 week
    Sponsored by:   Chelsio Communications

 sys/modules/cxgbe/tom/Makefile | 2 ++
 1 file changed, 2 insertions(+)