Package: liballegro4.2-dev
Version: 2:4.2.2-2
Severity: normal

Hi. The following patch fixes this bug. FNSTSW is "Store FPU Status
Word". This status word is a 16-bit value so the destination register
should be %ax, not %eax. Apparently old versions of binutils were a
bit lax.

--- a/src/i386/icpus.s
+++ b/src/i386/icpus.s
@@ -67,7 +67,7 @@
 
    fninit
    movl $0x5A5A, %eax
-   fnstsw %eax
+   fnstsw %ax
    cmpl $0, %eax
    jne is_fpu_not_found


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.29-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=nl_BE.UTF-8, LC_CTYPE=nl_BE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages liballegro4.2-dev depends on:
ii  liballegro4.2                 2:4.2.2-2  portable library for cross-platfor
ii  libc6                         2.9-9      GNU C Library: Shared libraries
ii  libx11-6                      2:1.2.1-1  X11 client-side library
ii  libx11-dev                    2:1.2.1-1  X11 client-side library (developme
ii  libxcursor-dev                1:1.1.9-1  X cursor management library (devel
ii  libxcursor1                   1:1.1.9-1  X cursor management library
ii  libxext-dev                   2:1.0.4-1  X11 miscellaneous extensions libra
ii  libxext6                      2:1.0.4-1  X11 miscellaneous extension librar
ii  libxpm-dev                    1:3.5.7-1  X11 pixmap library (development he
ii  libxpm4                       1:3.5.7-1  X11 pixmap library
ii  libxxf86vm-dev                1:1.0.2-1  X11 XFree86 video mode extension l
ii  libxxf86vm1                   1:1.0.2-1  X11 XFree86 video mode extension l

liballegro4.2-dev recommends no packages.

liballegro4.2-dev suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to