Package: libatomic-ops-dev
Version: 1.2+cvs20091005-1
Severity: important
Hi,
firebird2.5 fails to build on armel and sparc because AO_compare_and_swap_full
is not defined on these architectures.
I tried compiling the following test program:
#include "atomic_ops.h"
int main(int argc, char**argv)
{
AO_t c;
AO_compare_and_swap_full(&c, 0, 1);
return 0;
}
$ gcc test.c
/tmp/ccNR7xVz.o: In function `main':
test.c:(.text+0x24): undefined reference to `AO_compare_and_swap_full'
collect2: ld returned 1 exit status
$ cpp test.c | grep AO_compare_and_swap
AO_compare_and_swap_full(&c, 0, 1);
$
Hopefuly compare_and_swap can be supported on these architectures.
In case it helps, libatomic-ops-dev is already installed in the sid chroots on
Debian porter machines agricola and smetana
-- System Information:
Debian Release: squeeze/sid
APT prefers oldstable
APT policy: (500, 'oldstable'), (500, 'unstable'), (500, 'testing'), (500,
'stable'), (450, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=bg_BG.UTF-8, LC_CTYPE=bg_BG.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]