Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Aug 2017 03:40:37 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-mips@FreeBSD.org
Subject:   [Bug 220346] dtrace module fails to compile on mips64
Message-ID:  <bug-220346-27794-V0QPinCA9Q@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-220346-27794@https.bugs.freebsd.org/bugzilla/>
References:  <bug-220346-27794@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220346

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

root@erl2-154: diff -w ERL ERL2
22c22
< ident         ERL
---
> ident         ERL2
28a29,37
> makeoptions   MODULES_OVERRIDE=3D"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"
>=20
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 o=
f:
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 co=
nfig
file.

--=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-220346-27794-V0QPinCA9Q>