Bug#725143: unbuildable on some archs

Rebecca N. Palmer r.palmer at bham.ac.uk
Wed Oct 2 00:02:17 UTC 2013


Source: ogre-1.9
Tags: patch

Using __sync_fetch_and_add_8 on architectures without native support 
requires the libatomic library 
(http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56300), which is part of 
GCC 4.8+.

The attached patch links against this library and forces compilation 
with gcc/g++ 4.8.  It also disables --as-needed on ia64 to work around 
bug #718047.

This should fix everything except armhf (crashing make, which is a bug 
there not here), but has not been tested.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ogre19_portability.patch
Type: text/x-patch
Size: 1659 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20131002/1179ce82/attachment.bin>


More information about the Pkg-games-devel mailing list