[Bug 220346] dtrace module fails to compile on mips64

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Aug 16 03:40:37 UTC 2017


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

--- Comment #5 from Kurt Lidl <lidl at FreeBSD.org> ---
Here's the ultimate diff between the stock ERL kernel config and the one that
will
run 'dtrace -l' successfully.  Both your patch and my patch are needed as well:

root at erl2-154: diff -w ERL ERL2
22c22
< ident         ERL
---
> ident         ERL2
28a29,37
> makeoptions   MODULES_OVERRIDE="acl_nfs4 autofs bridgestp cam \
>               dtrace dummynet ext2fs fdescfs filemon geom \
>               if_bridge if_gif if_gre if_tap if_tun if_vlan \
>               ipfw ipsec iscsi iscsi_initiator \
>               libalias md msdosfs msdosfs_iconv netgraph \
>               nfscl nfscommon nfsd nfslock nfslockd nfssvc \
>               nullfs opensolaris pf pflog pfsync procfs pseudofs \
>               smbfs tmpfs ufs unionfs usb zlib"
> 
89,90c98,100
< #options      KDTRACE_FRAME           # Ensure frames are compiled in
< #options      KDTRACE_HOOKS           # Kernel DTrace hooks
---
> options       KDTRACE_FRAME           # Ensure frames are compiled in
> options       KDTRACE_HOOKS           # Kernel DTrace hooks
> options       DDB_CTF                 # Kernel ELF linker loads CTF data
96c106
< #options      DDB                     # Support DDB.
---
> options       DDB                     # Support DDB.

Note the addition of 'opensolaris' to the modules line, and the inclusion of:
KDTRACE_FRAME, KDTRACE_HOOKS, DDB_CTF, and DDB options.

I don't know that DDB_CTF is needed, but it seemed to be on in the amd64 config
file.

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


More information about the freebsd-mips mailing list