From owner-freebsd-mips@freebsd.org Wed Aug 16 03:40:37 2017 Return-Path: Delivered-To: freebsd-mips@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6C1DDDE3943 for ; Wed, 16 Aug 2017 03:40:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 519596D8AF for ; Wed, 16 Aug 2017 03:40:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v7G3ebVj004734 for ; Wed, 16 Aug 2017 03:40:37 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-mips@FreeBSD.org Subject: [Bug 220346] dtrace module fails to compile on mips64 Date: Wed, 16 Aug 2017 03:40:37 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: lidl@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-mips@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Aug 2017 03:40:37 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220346 --- Comment #5 from Kurt Lidl --- 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.=