[Bug 191462] New: cpu_core should be marked in opensolaris export_syms

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Jun 28 16:33:39 UTC 2014


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

            Bug ID: 191462
           Summary: cpu_core should be marked in opensolaris export_syms
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: Any
                OS: Any
            Status: Needs Triage
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: me.freebsd at cgf.cx

Created attachment 144224
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=144224&action=edit
opensolaris Makefile patch

The opensolaris module contains a global "cpu_core" that is used in dtrace. 
IMO, this means that it should be marked as exported.

We found because dtrace would not load after stripping the unstripped
opensolaris.ko module which yielded this:

link_elf_obj (2): 1 symbol cpu_core undefined
linker_load_file: Unsupported file type
KLD dtraceall.ko: depends on dtrace - not available or version mismatch

So, I propose the attached simple patch to rectify this issue.

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


More information about the freebsd-bugs mailing list