[Bug 250897] linux_common fails to load as a module after r367395: link_elf_obj: symbol sdt_provider_linuxulator undefined

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Nov 6 06:42:37 UTC 2020


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

            Bug ID: 250897
           Summary: linux_common fails to load as a module after r367395:
                    link_elf_obj: symbol sdt_provider_linuxulator
                    undefined
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs at FreeBSD.org
          Reporter: osidorkin at gmail.com

After r367395 linux_common.ko uses linux_dummy.c that uses
LIN_SDT_PROVIDER_DECLARE(LINUX_DTRACE);

However 
LIN_SDT_PROVIDER_DECLARE(LINUX_DTRACE);
is compiled in linux_misc.c, that build with linux64.ko.
But linux64.ko depends on linux_misc, so it cannot be loaded before
linux_common.ko

dmesg log:
link_elf_obj: symbol sdt_provider_linuxulator undefined                        
                                                     linker_load_file:
/boot/kernel/linux_common.ko - unsupported file type                           
                                   KLD linux.ko: depends on linux_common - not
available or version mismatch                                                  
         linker_load_file: /boot/kernel/linux.ko - unsupported file type       
                                                              link_elf_obj:
symbol sdt_provider_linuxulator undefined                                      
                                       linker_load_file:
/boot/kernel/linux_common.ko - unsupported file type                           
                                   KLD linux64.ko: depends on linux_common -
not available or version mismatch                                              
           linker_load_file: /boot/kernel/linux64.ko - unsupported file type

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


More information about the freebsd-bugs mailing list