Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Aug 2017 20:09:07 +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-udccKkjMy5@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 #3 from Sean Bruno <sbruno@FreeBSD.org> ---
This seems enough to get dtrace to compile for mips64.  Want to see if it
actually works?

Index: sys/cddl/dev/dtrace/mips/dtrace_asm.S
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- sys/cddl/dev/dtrace/mips/dtrace_asm.S       (revision 322438)
+++ sys/cddl/dev/dtrace/mips/dtrace_asm.S       (working copy)
@@ -37,7 +37,6 @@
 #include <machine/cpuregs.h>
 #include <machine/regnum.h>

-#include "assym.s"

         .set    noreorder               # Noreorder is default style!

Index: sys/cddl/dev/dtrace/mips/dtrace_subr.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- sys/cddl/dev/dtrace/mips/dtrace_subr.c      (revision 322438)
+++ sys/cddl/dev/dtrace/mips/dtrace_subr.c      (working copy)
@@ -50,6 +50,8 @@
 extern dtrace_id_t     dtrace_probeid_error;

 int dtrace_invop(uintptr_t, struct trapframe *, uintptr_t);
+void dtrace_invop_init(void);
+void dtrace_invop_uninit(void);

 typedef struct dtrace_invop_hdlr {
        int (*dtih_func)(uintptr_t, struct trapframe *, uintptr_t);

--=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-udccKkjMy5>