[Bug 220346] dtrace module fails to compile on mips64

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Aug 12 20:09:07 UTC 2017


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

--- Comment #3 from Sean Bruno <sbruno at 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
===================================================================
--- 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
===================================================================
--- 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);

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


More information about the freebsd-mips mailing list