svn commit: r322356 - head/share/mk

Ed Maste emaste at FreeBSD.org
Thu Aug 10 13:01:20 UTC 2017


Author: emaste
Date: Thu Aug 10 13:01:19 2017
New Revision: 322356
URL: https://svnweb.freebsd.org/changeset/base/322356

Log:
  Mark PROFILE option as broken when targetting mips64
  
  The assembly in sys/mips/include/profile.h will only work for o32 ABI.
  
  Submitted by:	Alexander Richardson
  MFC after:	1 week
  Differential Revision:	https://reviews.freebsd.org/D11950

Modified:
  head/share/mk/src.opts.mk

Modified: head/share/mk/src.opts.mk
==============================================================================
--- head/share/mk/src.opts.mk	Thu Aug 10 13:00:10 2017	(r322355)
+++ head/share/mk/src.opts.mk	Thu Aug 10 13:01:19 2017	(r322356)
@@ -282,7 +282,10 @@ BROKEN_OPTIONS+=SSP
 .if ${__T:Mmips*} || ${__T:Mpowerpc*} || ${__T:Msparc64} || ${__T:Mriscv*}
 BROKEN_OPTIONS+=EFI
 .endif
-
+.if ${__T:Mmips64*}
+# profiling won't work on MIPS64 because there is only assembly for o32
+BROKEN_OPTIONS+=PROFILE
+.endif
 .if ${__T} == "aarch64" || ${__T} == "amd64" || ${__T} == "i386" || \
     ${__T} == "powerpc64" || ${__T} == "sparc64"
 __DEFAULT_YES_OPTIONS+=CXGBETOOL


More information about the svn-src-all mailing list