[openblas] 01/01: backport two fixes from upstream git:
Julian Taylor
jtaylor.debian at googlemail.com
Thu Mar 13 19:11:44 UTC 2014
This is an automated email from the git hooks/post-receive script.
jtaylor-guest pushed a commit to branch master
in repository openblas.
commit 9ed381bab91a67688d58d1a23bd0031b602972a8
Author: Julian Taylor <jtaylor.debian at googlemail.com>
Date: Thu Mar 13 20:04:19 2014 +0100
backport two fixes from upstream git:
- dgemv-crash.patch: fixes core2/barcelona dgemv kernel
- wrong-parameter-for-zherk-zher2.patch
---
debian/changelog | 8 ++++++
debian/patches/dgemv-crash.patch | 15 +++++++++++
debian/patches/series | 2 ++
.../patches/wrong-parameter-for-zherk-zher2.patch | 30 ++++++++++++++++++++++
4 files changed, 55 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 68bcecf..bdf9d8e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+openblas (0.2.8-6) unstable; urgency=medium
+
+ * backport two fixes from upstream git:
+ - dgemv-crash.patch: fixes core2/barcelona dgemv kernel
+ - wrong-parameter-for-zherk-zher2.patch
+
+ -- Julian Taylor <jtaylor.debian at googlemail.com> Thu, 13 Mar 2014 20:03:07 +0100
+
openblas (0.2.8-5) unstable; urgency=medium
* kfreebsd-soname.patch: give a SONAME to the shared library under kfreebsd,
diff --git a/debian/patches/dgemv-crash.patch b/debian/patches/dgemv-crash.patch
new file mode 100644
index 0000000..ec27f97
--- /dev/null
+++ b/debian/patches/dgemv-crash.patch
@@ -0,0 +1,15 @@
+Bug: https://github.com/xianyi/OpenBLAS/issues/304
+Description: Fixed buffer overflow bug in kernel/x86_64/dgemv_t.S
+Origin: beffee7d914
+
+--- a/kernel/x86_64/dgemv_t.S
++++ b/kernel/x86_64/dgemv_t.S
+@@ -171,7 +171,7 @@
+ .L0x:
+ xorq M,M
+ addq $1,M
+- salq $22,M
++ salq $21,M
+ subq M,MMM
+ jge .L00
+
diff --git a/debian/patches/series b/debian/patches/series
index e3b6874..ea4b8a3 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,5 @@ test-custom-package.patch
qemu-athlon.patch
remove-openmp-warning.patch
fork-handler.patch
+dgemv-crash.patch
+wrong-parameter-for-zherk-zher2.patch
diff --git a/debian/patches/wrong-parameter-for-zherk-zher2.patch b/debian/patches/wrong-parameter-for-zherk-zher2.patch
new file mode 100644
index 0000000..80acd6c
--- /dev/null
+++ b/debian/patches/wrong-parameter-for-zherk-zher2.patch
@@ -0,0 +1,30 @@
+Description: Detect the wrong parameter for zherk/zher2k.
+Bug: https://github.com/xianyi/OpenBLAS/issues/333
+Origin: 3e0a7b9
+
+--- a/interface/syr2k.c
++++ b/interface/syr2k.c
+@@ -146,8 +146,10 @@ void NAME(char *UPLO, char *TRANS,
+ if (uplo_arg == 'L') uplo = 1;
+
+ if (trans_arg == 'N') trans = 0;
++#ifndef HEMM
+ if (trans_arg == 'T') trans = 1;
+ if (trans_arg == 'R') trans = 0;
++#endif
+ if (trans_arg == 'C') trans = 1;
+
+ nrowa = args.n;
+--- a/interface/syrk.c
++++ b/interface/syrk.c
+@@ -149,8 +149,10 @@ void NAME(char *UPLO, char *TRANS,
+ if (uplo_arg == 'L') uplo = 1;
+
+ if (trans_arg == 'N') trans = 0;
++#ifndef HEMM
+ if (trans_arg == 'T') trans = 1;
+ if (trans_arg == 'R') trans = 0;
++#endif
+ if (trans_arg == 'C') trans = 1;
+
+ nrowa = args.n;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/openblas.git
More information about the debian-science-commits
mailing list