Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Aug 2017 01:31:38 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r322604 - stable/11/share/mk
Message-ID:  <201708170131.v7H1Vcwg044274@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Thu Aug 17 01:31:37 2017
New Revision: 322604
URL: https://svnweb.freebsd.org/changeset/base/322604

Log:
  MFC r322356: 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

Modified:
  stable/11/share/mk/src.opts.mk
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/share/mk/src.opts.mk
==============================================================================
--- stable/11/share/mk/src.opts.mk	Thu Aug 17 00:20:50 2017	(r322603)
+++ stable/11/share/mk/src.opts.mk	Thu Aug 17 01:31:37 2017	(r322604)
@@ -273,7 +273,10 @@ BROKEN_OPTIONS+=LIBSOFT
 .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



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