[Debian-med-packaging] Bug#798693: opensurgsim: FTBFS on i386 and powerpc: unaligned Eigen arrays

Paul Novotny paul at paulnovo.us
Tue Sep 15 01:07:55 UTC 2015


On Fri, 11 Sep 2015 14:44:15 -0400 "Aaron M. Ucko" <ucko at debian.org> 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<T, Size, MatrixOrArrayOptions,
> 16>::plain_array() [with T = double; int Size = 16; int
> MatrixOrArrayOptions = 0]: Assertion `(reinterpret_cast<size_t>(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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/debian-med-packaging/attachments/20150914/4c7c4f6f/attachment.html>


More information about the Debian-med-packaging mailing list