From owner-svn-ports-all@freebsd.org Thu Jun 9 02:14:51 2016 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 95792B6E212; Thu, 9 Jun 2016 02:14:51 +0000 (UTC) (envelope-from cy@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 67A6F1C0E; Thu, 9 Jun 2016 02:14:51 +0000 (UTC) (envelope-from cy@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u592Eo5j028133; Thu, 9 Jun 2016 02:14:50 GMT (envelope-from cy@FreeBSD.org) Received: (from cy@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u592Eoii028131; Thu, 9 Jun 2016 02:14:50 GMT (envelope-from cy@FreeBSD.org) Message-Id: <201606090214.u592Eoii028131@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: cy set sender to cy@FreeBSD.org using -f From: Cy Schubert Date: Thu, 9 Jun 2016 02:14:50 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r416576 - in head/math/openblas: . files 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.22 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, 09 Jun 2016 02:14:51 -0000 Author: cy Date: Thu Jun 9 02:14:50 2016 New Revision: 416576 URL: https://svnweb.freebsd.org/changeset/ports/416576 Log: Fix SEGFAULT during build on AMD Barcelona CPUs. This patch is based on discussion at https://github.com/xianyi/OpenBLAS/issues/786. PR: 209412 Added: head/math/openblas/files/patch-interface__ztrmv.c (contents, props changed) Modified: head/math/openblas/Makefile Modified: head/math/openblas/Makefile ============================================================================== --- head/math/openblas/Makefile Thu Jun 9 01:39:58 2016 (r416575) +++ head/math/openblas/Makefile Thu Jun 9 02:14:50 2016 (r416576) @@ -3,6 +3,7 @@ PORTNAME= openblas PORTVERSION= 0.2.18 +PORTREVISION= 1 DISTVERSIONPREFIX= v PORTEPOCH= 1 CATEGORIES= math Added: head/math/openblas/files/patch-interface__ztrmv.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/openblas/files/patch-interface__ztrmv.c Thu Jun 9 02:14:50 2016 (r416576) @@ -0,0 +1,11 @@ +--- interface/ztrmv.c.orig 2016-04-12 12:29:19.000000000 -0700 ++++ interface/ztrmv.c 2016-06-08 16:44:31.800058000 -0700 +@@ -242,7 +242,7 @@ + else + #endif + { +- buffer_size = ((n - 1) / DTB_ENTRIES) * 2 * DTB_ENTRIES + 32 / sizeof(FLOAT); ++ buffer_size = (((n - 1) / DTB_ENTRIES) * 2 * DTB_ENTRIES + 32 / sizeof(FLOAT)) + 8; + if(incx != 1) + buffer_size += n * 2; + }