Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Feb 2019 22:49:21 +0000 (UTC)
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r344450 - head/sys/modules/dtrace
Message-ID:  <201902212249.x1LMnLip015854@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201902212249.x1LMnLip015854>