Date: Fri, 06 Nov 2020 06:42:37 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 250897] linux_common fails to load as a module after r367395: link_elf_obj: symbol sdt_provider_linuxulator undefined Message-ID: <bug-250897-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250897 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@FreeBSD.org Reporter: osidorkin@gmail.com After r367395 linux_common.ko uses linux_dummy.c that uses LIN_SDT_PROVIDER_DECLARE(LINUX_DTRACE); However=20 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=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 linker_load_file: /boot/kernel/linux_common.ko - unsupported file type=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 KLD linux.ko: depends on linux_common - = not available or version mismatch=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20 linker_load_file: /boot/kernel/linux.ko - unsupported file type=20= =20=20=20=20=20=20 link_elf_obj: symbol sdt_provider_linuxulator undefined=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20 linker_load_file: /boot/kernel/linux_common.ko - unsupported file type=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 KLD linux64.ko: depends on linux_common - not available or version mismatch=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20 linker_load_file: /boot/kernel/linux64.ko - unsupported file type --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-250897-227>