Package: libdirectfb-0.9-24
Version: 0.9.24-3
Severity: important

The libdirectfb uses the assembly instructions to implement the rdtsc
function on the X86 platform (file memcpy.c from line 520):

#ifdef ARCH_X86
static inline unsigned long long int rdtsc()
{
     unsigned long long int x;
     __asm__ volatile (".byte 0x0f, 0x31" : "=A" (x));
     return x;
}
#else
static inline unsigned long long int rdtsc()
{
     struct timeval tv;
     gettimeofday (&tv, NULL);
     return (tv.tv_sec * 1000000 + tv.tv_usec);
}
#endif

This construct causes libdirectfb to generate SIGILL when running on
x86 machine without rdtsc (eg. AMD x586)

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16.20
Locale: LANG=pl_PL, LC_CTYPE=pl_PL (charmap=ISO-8859-2)

Versions of packages libdirectfb-0.9-24 depends on:
ii  libc6                         2.3.6-13   GNU C Library: Shared libraries
ii  libsysfs2                     2.0.0-6    interface library to sysfs
ii  zlib1g                        1:1.2.3-11 compression library - runtime

libdirectfb-0.9-24 recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to