Date: Fri, 28 Nov 2025 18:14:52 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 291272] tcp_bbr.ko, tcp_rack.ko fail to load with module loader local symbol resolution disabled Message-ID: <bug-291272-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291272 Bug ID: 291272 Summary: tcp_bbr.ko, tcp_rack.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 tcp_bbr.ko TCP HPTS started 1 ((unbounded)) swi interrupt threads link_elf_obj: symbol tcp_hptsi_pace undefined linker_load_file: /boot/kernel/tcp_bbr.ko - unsupported file type kldload: an error occurred while loading module tcp_bbr.ko. Please check dmesg(8) for more details. # kldload tcp_rack.ko TCP HPTS started 1 ((unbounded)) swi interrupt threads link_elf_obj: symbol tcp_hptsi_pace undefined linker_load_file: /boot/kernel/tcp_rack.ko - unsupported file type kldload: an error occurred while loading module tcp_rack.ko. Please check dmesg(8) for more details. The dependent module's Makefile (i.e., the one containing tcp_hptsi_pace) should have an EXPORT_SYMS= line that lists all of the symbols to be intentionally exported. Another option is to just set EXPORT_SYMS=YES. An explicit export list is preferred over EXPORT_SYMS=YES, unless we explicitly want all symbols exported. -- 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-291272-227>
