Package: eigen3
Version: 3.3.2-1
Severity: important
Tags: sid + patch
Justification: FTBFS
User: debian-m...@lists.debian.org
Usertags: mips-patch
Package sopt_2.0.0-2 FTBFS on mips and mipsel with following error:
> The following tests FAILED:
> 7 - test_sdmm (Failed)
> 9 - test_proximal (Failed)
> 10 - seeded_proximal (Failed)
> 13 - test_reweighted (Failed)
> Errors while running CTest
> Makefile:87: recipe for target 'test' failed
> make[1]: *** [test] Error 8
Full build log:
https://buildd.debian.org/status/fetch.php?pkg=sopt&arch=mipsel&ver=2.0.0-2&stamp=1486632547&raw=0
These 4 tests fails because of alignment issue, and problem could be in eigen3
package.
Please take a look at this:
https://github.com/basp-group/sopt/issues/18#issuecomment-288106654
I have created and attached a patch which contains the necessary changes.
Regards,
Radovan
--- eigen3-3.3.2.orig/Eigen/src/Core/util/Macros.h
+++ eigen3-3.3.2/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.