Bug#687013: ogre-1.8: crash due to use of broken stack alignment hack

Julian Taylor jtaylor at ubuntu.com
Sat Sep 8 11:50:50 UTC 2012


Package: ogre-1.8
Version: 1.8.0-1
Severity: normal
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu quantal ubuntu-patch

In Ubuntu, the attached patch was applied to achieve the following:

  * remove-alignment-hack.patch: (LP: #1041934)
    Drop obsolete stack alignment hack that breaks with gcc-4.7
    Thanks to Kai Mast for the report and patch.

https://bugs.launchpad.net/ubuntu/+source/ogre-1.8/+bug/1041934

The same stack alignment hack was also removed in fftw3 3.3.2 for the
same reason.
The issue is also fixed in ogre 1.8.1:
http://www.ogre3d.org/2012/09/02/ogre-1-8-1-byatis-released
"Replace an ugly hack for GCC that was trying to force 16-byte stack
alignment in OgreOptimisedUtilSSE, but causes trouble with recent GCC
versions"

To reproduce the issue run the SampleBrowser and select the "Character"-Demo.

I could not reproduce it in debian wheezy with brief testing, but the
issue is real and can be reproduced easily on ubuntu quantal and several
other platforms, there might well be cases where Debian is affected too.

Thanks for considering the patch.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ogre-1.8_1.8.0-1ubuntu1.debdiff
Type: text/x-diff
Size: 1518 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20120908/207a7ace/attachment.diff>


More information about the Pkg-games-devel mailing list