Package: attr Version: 2.4.32 Severity: important Tags: patch Arm eabi[1] has different syscall base than oldabi arm. Please include attached patch.
[1] http://wiki.debian.org/ArmEabiPort -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable'), (500, 'stable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.20.4 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
--- attr-2.4.32/libattr/syscalls.c.orig 2007-01-11 20:36:58.000000000 +0000 +++ attr-2.4.32/libattr/syscalls.c 2007-01-11 20:37:15.000000000 +0000 @@ -110,7 +110,11 @@ # define __NR_fremovexattr 235 #elif defined (__arm__) # define HAVE_XATTR_SYSCALLS 1 -# define __NR_SYSCALL_BASE 0x900000 +# if defined(__ARM_EABI__) || defined(__thumb__) +# define __NR_SYSCALL_BASE 0 +# else +# define __NR_SYSCALL_BASE 0x900000 +# endif # define __NR_setxattr (__NR_SYSCALL_BASE+226) # define __NR_lsetxattr (__NR_SYSCALL_BASE+227) # define __NR_fsetxattr (__NR_SYSCALL_BASE+228)

