Package: pnet
Version: 0.7.4-1
Severity: serious
Tags: patch
Justification: no longer builds from source
Build fails on ARM with
Error: Rn must not overlap other operands -- `swp r3,r4,[r3]'
The error is correct. This is coming from a broken inline assembly
statement. Patch below fixes it.
Paul
--- pnet-0.7.4/libgc/include/private/gc_locks.h.old 2006-10-22 21:24:06
+0100
+++ pnet-0.7.4/libgc/include/private/gc_locks.h 2006-10-22 21:25:57 +0100
@@ -244,7 +244,7 @@
* this code will likely need to be updated. */
/* See linuxthreads/sysdeps/arm/pt-machine.h in glibc-2.1 */
__asm__ __volatile__("swp %0, %1, [%2]"
- : "=r"(oldval)
+ : "=&r"(oldval)
: "r"(1), "r"(addr)
: "memory");
return oldval;
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: arm (armv5tejl)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-rc3
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]