Source: libatomic-ops Version: 1.2+cvs20091005-1 Severity: important Tags: patch User: debian-...@superh.org Usertags: sh4 X-Debbugs-CC: debian-sup...@lists.debian.org
Hi, This package supports AO_test_and_set_full only. However, this does not support an AO_compare_XXX function. sh4 has to use AO_compare_XXX_emulation function for compatibility with other SH cpu. Please support emulation of AO_compare_XXX_emulation function If there is not this function, the software that used these functions cannot build. For example, firebird2.5 cannot build now. http://buildd.debian-ports.org/fetch.php?pkg=firebird2.5&arch=sh4&ver=2.5.0.25784~ReleaseCandidate1.ds2-4&stamp=1263837682&file=log&as=raw I made patch. Could you apply this patch? Best regards, Nobuhiro -- Nobuhiro Iwamatsu iwamatsu at {nigauri.org / debian.org} GPG ID: 40AD1FA6
--- a/src/atomic_ops.hg 2010-01-21 04:45:04.000000000 +0000 +++ b/src/atomic_ops.h 2010-01-21 04:45:47.000000000 +0000 @@ -243,6 +243,7 @@ # endif /* __mips__ */ # if defined(__sh__) || defined(SH4) # include "atomic_ops/sysdeps/gcc/sh.h" +# define AO_REQUIRE_CAS # define AO_CAN_EMUL_CAS # endif /* __sh__ */ #endif /* __GNUC__ && !AO_USE_PTHREAD_DEFS */