Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Oct 2016 09:32:48 +0000 (UTC)
From:      Matthias Andree <mandree@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r423245 - head/databases/db6
Message-ID:  <201610040932.u949WmP3089946@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mandree
Date: Tue Oct  4 09:32:48 2016
New Revision: 423245
URL: https://svnweb.freebsd.org/changeset/ports/423245

Log:
  Avoid POSIX mutexes on armv6* and aarch64.
  
  db6 switched from the stpb-based mutexes that db5 used to ldrex/strex.
  
  PR:		213167 (related)

Modified:
  head/databases/db6/Makefile

Modified: head/databases/db6/Makefile
==============================================================================
--- head/databases/db6/Makefile	Tue Oct  4 09:01:49 2016	(r423244)
+++ head/databases/db6/Makefile	Tue Oct  4 09:32:48 2016	(r423245)
@@ -63,9 +63,9 @@ DOCS_INSTALL_TARGET=	install_docs
 
 .include <bsd.port.options.mk>
 
-.if ${ARCH} == "aarch64" || ${ARCH:Marmv6*}
-# db6 uses a deprecated instruction for mutexes on ARM, fbsd bug#197227
-# and also bug #205001
+.if ${ARCH:Marm*} && empty(ARCH:Marmv6*)
+# db6 uses LDREX/STREX instructions for mutexes on ARM,
+# which are unavailable before ARMv6.
 CONFIGURE_ARGS+=	--enable-posixmutexes
 .endif
 



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