Hi, I write here in the case that somebody can help me to fix this.
ogre-1.9 (...-2) fails to build with this error (full log in [1]): CMakeFiles/OgreMain.dir/src/OgreResourceManager.cpp.o: In function `Ogre::AtomicScalar<unsigned long long>::operator++(int)': /«BUILDDIR»/ogre-1.9-1.9.0~20130731+dfsg1/OgreMain/include/OgreAtomicScalar.h:93: undefined reference to `__sync_fetch_and_add_8' I attemped to fix this with patch [2] changing __sync calls to __atomic, and depending on gcc >= 4.8 and linking to -latomic, as suggested in [3]. Now fails with (full log in [4]): undefined reference to `__atomic_fetch_add_8' Can anybody please advise on what to do? The package is a pre-release, not very important and low popcon, but if this is not fixed it will persist in the future, and it's not the only package affected by this issue so I guess that somebody can give some hint. Cheers. -- Manuel A. Fernandez Montecelo <[email protected]> [1] https://buildd.debian.org/status/fetch.php?pkg=ogre-1.9&arch=mips&ver=1.9.0%7E20130731%2Bdfsg1-2&stamp=1379871953 [2] http://anonscm.debian.org/gitweb/?p=pkg-games/ogre-1.9.git;a=blob_plain;f=debian/patches/bug-725143-atomics.patch;hb=c92af5af2cdd3da77720c69dc9c93046cc05b743 [3] http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47460 [4] https://buildd.debian.org/status/fetch.php?pkg=ogre-1.9&arch=mips&ver=1.9.0%7E20130731%2Bdfsg1-4&stamp=1381427621 -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/CAPQ4b8=ar-izxkd4qqoaesc3ptfgomhe1myozpas3nhrjq3...@mail.gmail.com

