From owner-svn-ports-all@freebsd.org Mon Aug 21 20:06:37 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 2D919DCD21A; Mon, 21 Aug 2017 20:06:37 +0000 (UTC) (envelope-from osa@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 EF7E582A27; Mon, 21 Aug 2017 20:06:36 +0000 (UTC) (envelope-from osa@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v7LK6acs085161; Mon, 21 Aug 2017 20:06:36 GMT (envelope-from osa@FreeBSD.org) Received: (from osa@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v7LK6aSf085160; Mon, 21 Aug 2017 20:06:36 GMT (envelope-from osa@FreeBSD.org) Message-Id: <201708212006.v7LK6aSf085160@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: osa set sender to osa@FreeBSD.org using -f From: "Sergey A. Osokin" Date: Mon, 21 Aug 2017 20:06:36 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r448487 - head/databases/redis-devel X-SVN-Group: ports-head X-SVN-Commit-Author: osa X-SVN-Commit-Paths: head/databases/redis-devel X-SVN-Commit-Revision: 448487 X-SVN-Commit-Repository: ports 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: Mon, 21 Aug 2017 20:06:37 -0000 Author: osa Date: Mon Aug 21 20:06:35 2017 New Revision: 448487 URL: https://svnweb.freebsd.org/changeset/ports/448487 Log: Attempt to fix the issue for 10.x, 11.x and head on i386. networking.o: In function `createClient': networking.c:(.text+0x189): undefined reference to `__atomic_fetch_add_8' cc: error: linker command failed with exit code 1 (use -v to see invocation) Do not bump PORTREVISION since this change affects i386 only what's broken till now. Modified: head/databases/redis-devel/Makefile Modified: head/databases/redis-devel/Makefile ============================================================================== --- head/databases/redis-devel/Makefile Mon Aug 21 18:56:09 2017 (r448486) +++ head/databases/redis-devel/Makefile Mon Aug 21 20:06:35 2017 (r448487) @@ -12,8 +12,6 @@ COMMENT= Persistent key-value database with built-in n LICENSE= BSD3CLAUSE -BROKEN_FreeBSD_10_i386= undefined reference to __atomic_fetch_add_8 - USES= execinfo OPTIONS_DEFINE= TESTS TRIB @@ -26,6 +24,11 @@ TESTS_DESC= Install lang/tcl for redis unit tests TRIB_DESC= Install redis-trib.rb (lang/ruby req.) .include + +.if ${ARCH} == i386 && ! ${CFLAGS:M-march=*} +# Needed for __atomic_fetch_add_8 +CFLAGS+= -march=i586 +.endif .if ${PORT_OPTIONS:MTRIB} CATEGORIES+= ruby