Bug#798693: opensurgsim: FTBFS on i386 and powerpc: unaligned Eigen arrays

2015-09-20 Thread Aaron M. Ucko
notfixed 798693 0.6.0-3
found 798693 0.6.0-3
thanks

"Aaron M. Ucko"  writes:

> Could you please take a look?  Per the error message, you may find
> http://eigen.tuxfamily.org/dox-devel/group__TopicUnalignedArrayAssert.html
> helpful.

Thanks for taking care of this and the other FTBFS bugs I reported!  In
reviewing the logs for 0.6.0-3, I see that this same error has surfaced
on ppc64el; could you please extend this fix to that architecture too?

-- 
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/?a...@monk.mit.edu



Bug#798693: opensurgsim: FTBFS on i386 and powerpc: unaligned Eigen arrays

2015-09-14 Thread Paul Novotny
On Fri, 11 Sep 2015 14:44:15 -0400 "Aaron M. Ucko"  wrote:
> Source: opensurgsim
> Version: 0.6.0-2
> Severity: serious
> Justification: fails to build from source
>
> The i386 and powerpc builds of opensurgsim both failed because many
> tests reported errors of the form
>
> SurgSim*Test: /usr/include/eigen3/Eigen/src/Core/DenseStorage.h:86:
> Eigen::internal::plain_array 16>::plain_array() [with T = double; int Size = 16; int
> MatrixOrArrayOptions = 0]: Assertion `(reinterpret_cast(eigen-
> _unaligned_array_assert_workaround_gcc47(array)) & 0xf) == 0 && "this
> assertion is explained here: " "
> http://eigen.tuxfamily.org/dox-devel/group__TopicUnalignedArrayAssert.html";
> "  READ THIS WEB PAGE !!! "' failed.
>
> (The powerpc build also encountered an unrelated test suite error,
> which I'll report separately.)
>
> Could you please take a look?  Per the error message, you may find
> http://eigen.tuxfamily.org/dox-devel/group__TopicUnalignedArrayAssert.html
> helpful.

First off, thank you for organizing these build failures into bugs. This
is great, and makes things much easier for me.

There is a CMake variable to turn off eigen alignment in OpenSurgSim,
and I have pushed a change that turns it off for i386 and powerpc to the
package repository [1]. I also turned on some more unit tests that more
aggressively test Eigen, to make sure we are ok on the other
architectures.

I'll push out a new version of OpenSurgSim soon with these changes.

Thanks, -Paul

[1] 
https://anonscm.debian.org/cgit/debian-med/opensurgsim.git/commit/?id=69a076e667dbf776369fba2876052f66282b2c7d


Bug#798693: opensurgsim: FTBFS on i386 and powerpc: unaligned Eigen arrays

2015-09-11 Thread Aaron M. Ucko
Source: opensurgsim
Version: 0.6.0-2
Severity: serious
Justification: fails to build from source

The i386 and powerpc builds of opensurgsim both failed because many
tests reported errors of the form 

SurgSim*Test: /usr/include/eigen3/Eigen/src/Core/DenseStorage.h:86: 
Eigen::internal::plain_array::plain_array() 
[with T = double; int Size = 16; int MatrixOrArrayOptions = 0]: Assertion 
`(reinterpret_cast(eigen_unaligned_array_assert_workaround_gcc47(array))
 & 0xf) == 0 && "this assertion is explained here: " 
"http://eigen.tuxfamily.org/dox-devel/group__TopicUnalignedArrayAssert.html"; " 
 READ THIS WEB PAGE !!! "' failed.

(The powerpc build also encountered an unrelated test suite error,
which I'll report separately.)

Could you please take a look?  Per the error message, you may find
http://eigen.tuxfamily.org/dox-devel/group__TopicUnalignedArrayAssert.html
helpful.

Thanks!