From owner-svn-ports-all@freebsd.org Thu May 25 13:38:08 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6D31CD816C3; Thu, 25 May 2017 13:38:08 +0000 (UTC) (envelope-from vd@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3F65A1E36; Thu, 25 May 2017 13:38:08 +0000 (UTC) (envelope-from vd@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v4PDc7fP032221; Thu, 25 May 2017 13:38:07 GMT (envelope-from vd@FreeBSD.org) Received: (from vd@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v4PDc70h032220; Thu, 25 May 2017 13:38:07 GMT (envelope-from vd@FreeBSD.org) Message-Id: <201705251338.v4PDc70h032220@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: vd set sender to vd@FreeBSD.org using -f From: Vasil Dimov Date: Thu, 25 May 2017 13:38:07 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r441686 - head/databases/galera X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2017 13:38:08 -0000 Author: vd Date: Thu May 25 13:38:07 2017 New Revision: 441686 URL: https://svnweb.freebsd.org/changeset/ports/441686 Log: Disable databases/galera on i386 It uses 64 bit atomics, e.g. __atomic_add_fetch() with 64 bit arguments and clang fails to generate those on i386. Modified: head/databases/galera/Makefile Modified: head/databases/galera/Makefile ============================================================================== --- head/databases/galera/Makefile Thu May 25 13:34:32 2017 (r441685) +++ head/databases/galera/Makefile Thu May 25 13:38:07 2017 (r441686) @@ -15,6 +15,17 @@ BUILD_DEPENDS= checkmk:devel/check \ ${LOCALBASE}/include/boost/shared_ptr.hpp:devel/boost-libs LIB_DEPENDS= libboost_date_time.so:devel/boost-libs +NOT_FOR_ARCHS= i386 +# On i386 older versions of clang produce: +# cannot compile this atomic library call yet ... __atomic_add_fetch +# whereas newer ones generate a call to __atomic_add_fetch which ends up with +# undefined reference at link time: +# undefined reference to `__atomic_fetch_add_8' +# https://bugs.llvm.org//show_bug.cgi?id=23262 +# https://bugs.llvm.org//show_bug.cgi?id=24908 +# https://tracker.crystax.net/issues/1263 +NOT_FOR_ARCHS_REASON_i386=Uses 64 bit atomics that clang cannot generate on i386 + USES= execinfo python:build scons ssl USE_LDCONFIG= yes