Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Jun 2016 02:14:50 +0000 (UTC)
From:      Cy Schubert <cy@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r416576 - in head/math/openblas: . files
Message-ID:  <201606090214.u592Eoii028131@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;
+   }



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