[Bug 220346] dtrace module fails to compile on mips64

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jun 29 06:13:13 UTC 2017


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

            Bug ID: 220346
           Summary: dtrace module fails to compile on mips64
           Product: Base System
           Version: CURRENT
          Hardware: mips
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: lidl at FreeBSD.org

When attempting to compile the dtrace kernel module for mips64, it fails to
build:

--- dtrace_asm.o ---
cc -isystem /usr/obj/usr/src/tmp/usr/include -L/usr/obj/usr/src/tmp/usr/lib
-B/usr/obj/usr/src/tmp/usr/lib --sysroot=/usr/obj/usr/src/tmp
-B/usr/obj/usr/src/tmp/usr/bin -O -pipe -DDIS_MEM -DSMP -G0 -EB -mabi=64
-msoft-float  -Werror -D_KERNEL -DKLD_MODULE -nostdinc 
-I/usr/src/sys/cddl/compat/opensolaris -I/usr/src/sys/cddl/dev/dtrace
-I/usr/src/sys/cddl/dev/dtrace/mips
-I/usr/src/sys/cddl/contrib/opensolaris/uts/common
-I/usr/src/sys/cddl/contrib/opensolaris/uts/common/dtrace
-I/usr/src/sys/cddl/contrib/opensolaris/common/util -I/usr/src/sys
-DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/ERL2/opt_global.h
-I. -I/usr/src/sys -fno-common -g -G0 -fno-pic -mno-abicalls -mlong-calls
-I/usr/obj/usr/src/sys/ERL2  -MD  -MF.depend.dtrace_asm.o -MTdtrace_asm.o
-msoft-float -ffreestanding -fwrapv -gdwarf-2 -Wall -Wredundant-decls
-Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
-Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions
-Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas
-Wno-uninitialized -Wno-parentheses -Wno-uninitialized -Wno-cast-qual
-Wno-unused  -finline-limit=8000 -fms-extensions --param inline-unit-growth=100
--param large-function-growth=1000  -std=iso9899:1999 -include
/usr/src/sys/cddl/compat/opensolaris/sys/debug_compat.h  -c
/usr/src/sys/cddl/dev/dtrace/mips/dtrace_asm.S -o dtrace_asm.o
In file included from /usr/src/sys/cddl/dev/dtrace/mips/dtrace_asm.S:40:
./assym.s:61:1: error: "MIPS_KSEG0_START" redefined
In file included from /usr/src/sys/cddl/dev/dtrace/mips/dtrace_asm.S:37:
./machine/cpuregs.h:80:1: error: this is the location of the previous
definition
In file included from /usr/src/sys/cddl/dev/dtrace/mips/dtrace_asm.S:40:
./assym.s:62:1: error: "MIPS_KSEG1_START" redefined
In file included from /usr/src/sys/cddl/dev/dtrace/mips/dtrace_asm.S:37:
./machine/cpuregs.h:82:1: error: this is the location of the previous
definition
In file included from /usr/src/sys/cddl/dev/dtrace/mips/dtrace_asm.S:40:
./assym.s:63:1: error: "MIPS_KSEG2_START" redefined
In file included from /usr/src/sys/cddl/dev/dtrace/mips/dtrace_asm.S:37:
./machine/cpuregs.h:88:1: error: this is the location of the previous
definition
*** [dtrace_asm.o] Error code 1

make[5]: stopped in /usr/src/sys/modules/dtrace/dtrace
1 error

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


More information about the freebsd-bugs mailing list