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.