Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Jun 2014 16:33:39 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 191462] New: cpu_core should be marked in opensolaris export_syms
Message-ID:  <bug-191462-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org
          Reporter: me.freebsd@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-191462-8>