Hi, > erlang-p1-cache-tab FTBFS on mips, mipsel and powerpc with this error > while running the testsuite: >> Failed to load NIF /<<PKGBUILDDIR>>/priv/lib/ets_cache: Failed to load NIF >> library: '/<<PKGBUILDDIR>>/priv/lib/ets_cache.so: undefined symbol: >> __sync_add_and_fetch_8' (load_failed) > > This happens because these architectures do not implement 64-bit atomics > natively. The fix is to use libatomic (part of GCC) which provides > helper routines for these missing atomics, implemented using locks. > > The attached patch does this by: > - Linking against libatomic > - Switching from __sync_add_and_fetch to __atomic_add_fetch > > One side effect of this is that libatomic is pulled in on every > architecture. If you don't like this, you can use -Wl,--as-needed.
awesome, will test this ASAP, thx! Best wishes, -- .''`. Philipp Huebner <debala...@debian.org> : :' : pgp fp: 6719 25C5 B8CD E74A 5225 3DF9 E5CA 8C49 25E4 205F `. `'` `-
signature.asc
Description: OpenPGP digital signature