svn commit: r344450 - head/sys/modules/dtrace

Mark Johnston markj at FreeBSD.org
Thu Feb 21 22:49:22 UTC 2019


Author: markj
Date: Thu Feb 21 22:49:21 2019
New Revision: 344450
URL: https://svnweb.freebsd.org/changeset/base/344450

Log:
  Disconnect fasttrap from the 32-bit powerpc build.
  
  An upcoming bug fix requires 64-bit atomics, which aren't implemented on
  powerpc.  The powerpc port of fasttrap is incomplete anyway and doesn't
  get loaded by dtraceall.ko on powerpc because of a missing dependency;
  it's presumed that it's effectively unused.
  
  Discussed with:	jhibbits
  MFC after:	2 weeks

Modified:
  head/sys/modules/dtrace/Makefile

Modified: head/sys/modules/dtrace/Makefile
==============================================================================
--- head/sys/modules/dtrace/Makefile	Thu Feb 21 22:45:54 2019	(r344449)
+++ head/sys/modules/dtrace/Makefile	Thu Feb 21 22:49:21 2019	(r344450)
@@ -19,9 +19,6 @@ SUBDIR+=	fasttrap fbt systrace_linux
 .if ${MACHINE_CPUARCH} == "amd64"
 SUBDIR+=	systrace_linux32
 .endif
-.if ${MACHINE_CPUARCH} == "powerpc"
-SUBDIR+=	fbt fasttrap
-.endif
 .if ${MACHINE_CPUARCH} == "amd64" || \
     ${MACHINE_CPUARCH} == "aarch64" || \
     ${MACHINE_ARCH} == "mips64" || \
@@ -31,7 +28,9 @@ SUBDIR+=	systrace_freebsd32
 .if ${MACHINE_CPUARCH} == "aarch64" || \
     ${MACHINE_CPUARCH} == "arm" || \
     ${MACHINE_CPUARCH} == "mips" || \
+    ${MACHINE_CPUARCH} == "powerpc" || \
     ${MACHINE_CPUARCH} == "riscv"
 SUBDIR+=	fbt
 .endif
+
 .include <bsd.subdir.mk>


More information about the svn-src-all mailing list