[eigen] good news from the alignment front

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


Hi,

2 separate good news.


1)

Do you remember the infamous "Wrong stack alignment" crashes,
http://eigen.tuxfamily.org/dox/WrongStackAlignment.html

It turns out that it was a lack of support of alignment attributes in
GCC/Windows, and has been fixed in GCC 4.5:
http://gcc.gnu.org/gcc-4.5/changes.html

Quote:
"Windows (Cygwin and MinGW)
[...]
GCC now makes use of the new support for aligned common variables in
versions of binutils >= 2.20 to fix bugs in the support for SSE data
types."

2)

Do you remember the weird things that we had to do to use Qt
containers on Eigen types, QtAlignedMalloc? Well, a few months ago I
had a conversation with Thiago of Qt and he fixed it, making Qt
containers detect the type alignment using the compiler extension
keyword "alignof". See thread:

http://lists.trolltech.com/pipermail/qt-interest/2009-October/014216.html

I didn't check back, but in principle this appeared in Qt 4.6.

Benoit



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/