[eigen3] 05/09: Fix mips alignment issue. (Closes: #858363)

Anton Gladky gladk at moszumanska.debian.org
Sat May 20 08:47:29 UTC 2017


This is an automated email from the git hooks/post-receive script.

gladk pushed a commit to branch experimental
in repository eigen3.

commit ca21efc993ea8cd8084abb6d5738ad545719f1aa
Author: Radovan Birdic <Radovan.Birdic at imgtec.com>
Date:   Fri May 19 19:38:24 2017 +0200

    Fix mips alignment issue. (Closes: #858363)
---
 debian/patches/14_fix_alignment_mips.patch | 17 +++++++++++++++++
 debian/patches/series                      |  1 +
 2 files changed, 18 insertions(+)

diff --git a/debian/patches/14_fix_alignment_mips.patch b/debian/patches/14_fix_alignment_mips.patch
new file mode 100644
index 0000000..bf1bbc0
--- /dev/null
+++ b/debian/patches/14_fix_alignment_mips.patch
@@ -0,0 +1,17 @@
+Description: Fix mips alignment issue
+Author: Radovan Birdic <Radovan.Birdic at imgtec.com>
+Acked-By: Anton Gladky <gladk at debian.org>
+Bug-Debian: https://bugs.debian.org/858363
+Last-Update: 2017-05-19
+
+--- eigen3-3.3.3.orig/Eigen/src/Core/util/Macros.h
++++ eigen3-3.3.3/Eigen/src/Core/util/Macros.h
+@@ -701,7 +701,7 @@ namespace Eigen {
+   // certain common platform (compiler+architecture combinations) to avoid these problems.
+   // Only static alignment is really problematic (relies on nonstandard compiler extensions),
+   // try to keep heap alignment even when we have to disable static alignment.
+-  #if EIGEN_COMP_GNUC && !(EIGEN_ARCH_i386_OR_x86_64 || EIGEN_ARCH_ARM_OR_ARM64 || EIGEN_ARCH_PPC || EIGEN_ARCH_IA64)
++  #if EIGEN_COMP_GNUC && !(EIGEN_ARCH_i386_OR_x86_64 || EIGEN_ARCH_ARM_OR_ARM64 || EIGEN_ARCH_PPC || EIGEN_ARCH_IA64 || EIGEN_ARCH_MIPS)
+   #define EIGEN_GCC_AND_ARCH_DOESNT_WANT_STACK_ALIGNMENT 1
+   #elif EIGEN_ARCH_ARM_OR_ARM64 && EIGEN_COMP_GNUC_STRICT && EIGEN_GNUC_AT_MOST(4, 6)
+   // Old versions of GCC on ARM, at least 4.4, were once seen to have buggy static alignment support.
diff --git a/debian/patches/series b/debian/patches/series
index 8e95ef3..742d310 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -5,3 +5,4 @@
 07_remove_compressed_doc.patch
 08_fix_path_FindEigen3.patch
 12_grammer_tweak.patch
+14_fix_alignment_mips.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/eigen3.git



More information about the debian-science-commits mailing list