Your message dated Mon, 06 Feb 2006 21:37:47 -0500
with message-id <[EMAIL PROTECTED]>
and subject line Seems done
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
>From [EMAIL PROTECTED] Sun Jan 15 00:45:25 2006
Received: (at submit) by bugs.debian.org; 15 Jan 2006 08:45:25 +0000
Return-path: <[EMAIL PROTECTED]>
Received: from ip127.bb146.pacific.net.hk ([202.64.146.127] 
helo=mailhub.stlglobal.com)
        by spohr.debian.org with esmtp (Exim 4.50)
        id 1Ey3Vs-0004UC-Ur; Sun, 15 Jan 2006 00:45:25 -0800
Received: from localhost ([127.0.0.1])
        by mailhub.stlglobal.com with esmtp (Exim 4.50)
        id 1Ey3VG-0007Ot-Ra; Sun, 15 Jan 2006 16:44:47 +0800
Message-ID: <[EMAIL PROTECTED]>
Date: Sun, 15 Jan 2006 16:44:50 +0800
From: Randolph Chung <[EMAIL PROTECTED]>
User-Agent: Debian Thunderbird 1.0.2 (X11/20050331)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: [EMAIL PROTECTED]
CC: [EMAIL PROTECTED],  debian-hppa@lists.debian.org
Subject: [patch/hppa] Floating point exception handling patch
Content-Type: multipart/mixed;
 boundary="------------080603060102010305030304"
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

This is a multi-part message in MIME format.
--------------080603060102010305030304
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Package: glibc
Version: 2.3.5-11
Severity: important
Tags: patch

The attached patch fixes a problem with floating point exception
handling on hppa. This affects packages that use feholdexcept and
fesetenv, such as uic from QT. This patch fixes #342545. Carlos is on
vacation now - I'll ask him to merge this upstream when he returns, 
meanwhile perhaps somebody can roll a new glibc package for debian?

randolph


--------------080603060102010305030304
Content-Type: text/plain;
 name="glibc235-hppa-fpu.dpatch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="glibc235-hppa-fpu.dpatch"

#! /bin/sh -e

# DP: Description: hppa floating point exception handling fix
# DP: Related bugs: Debian #342545
# DP: Dpatch author: Randolph Chung <[EMAIL PROTECTED]>
# DP: Patch author: Randolph Chung <[EMAIL PROTECTED]>
# DP: Upstream status: Pending
# DP: Status Details: to be merged by Carlos
# DP: Date: Sun, 15 Jan 2006

PATCHLEVEL=1

if [ $# -ne 2 ]; then
    echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
    exit 1
fi
case "$1" in
    -patch) patch -d "$2" -f --no-backup-if-mismatch -p$PATCHLEVEL < $0;;
    -unpatch) patch -d "$2" -f --no-backup-if-mismatch -R -p$PATCHLEVEL < $0;;
    *)
        echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
        exit 1
esac
exit 0

# append the patch here and adjust the -p? flag in the patch calls.
diff -uNr glibc-2.3.5/sysdeps/hppa/fpu.orig/fegetenv.c 
glibc-2.3.5/sysdeps/hppa/fpu/fegetenv.c
--- glibc-2.3.5/sysdeps/hppa/fpu.orig/fegetenv.c        2006-01-14 
10:17:19.000000000 -0800
+++ glibc-2.3.5/sysdeps/hppa/fpu/fegetenv.c     2006-01-14 10:19:08.000000000 
-0800
@@ -27,10 +27,7 @@
   unsigned long long buf[4], *bufptr = buf;
 
   __asm__ (
-          "fstd,ma %%fr0,8(%1)\n"
-          "fstd,ma %%fr1,8(%1)\n"
-          "fstd,ma %%fr2,8(%1)\n"
-          "fstd %%fr3,0(%1)\n"
+          "fstd %%fr0,0(%1)\n"
           : "=m" (buf), "+r" (bufptr));
   memcpy (envp, buf, sizeof (*envp));
   return 0;
diff -uNr glibc-2.3.5/sysdeps/hppa/fpu.orig/feholdexcpt.c 
glibc-2.3.5/sysdeps/hppa/fpu/feholdexcpt.c
--- glibc-2.3.5/sysdeps/hppa/fpu.orig/feholdexcpt.c     2006-01-14 
10:17:19.000000000 -0800
+++ glibc-2.3.5/sysdeps/hppa/fpu/feholdexcpt.c  2006-01-14 10:20:21.000000000 
-0800
@@ -30,10 +30,7 @@
   /* Store the environment.  */
   bufptr = clear.buf;
   __asm__ (
-          "fstd,ma %%fr0,8(%1)\n"
-          "fstd,ma %%fr1,8(%1)\n"
-          "fstd,ma %%fr2,8(%1)\n"
-          "fstd %%fr3,0(%1)\n"
+          "fstd %%fr0,0(%1)\n"
           : "=m" (clear), "+r" (bufptr));
   memcpy (envp, &clear.env, sizeof (fenv_t));
 
@@ -47,10 +44,7 @@
   /* Load the new environment. */
   bufptr = clear.buf;
   __asm__ (
-          "fldd,ma 8(%0),%%fr0\n"
-          "fldd,ma 8(%0),%%fr1\n"
-          "fldd,ma 8(%0),%%fr2\n"
-          "fldd 0(%0),%%fr3\n"
+          "fldd 0(%0),%%fr0\n"
           : : "r" (bufptr), "m" (clear));
 
   return 0;
diff -uNr glibc-2.3.5/sysdeps/hppa/fpu.orig/fesetenv.c 
glibc-2.3.5/sysdeps/hppa/fpu/fesetenv.c
--- glibc-2.3.5/sysdeps/hppa/fpu.orig/fesetenv.c        2006-01-14 
10:17:19.000000000 -0800
+++ glibc-2.3.5/sysdeps/hppa/fpu/fesetenv.c     2006-01-14 10:20:44.000000000 
-0800
@@ -34,10 +34,7 @@
      we want to use from the environment specified by the parameter.  */
   bufptr = temp.buf;
   __asm__ (
-          "fstd,ma %%fr0,8(%1)\n"
-          "fstd,ma %%fr1,8(%1)\n"
-          "fstd,ma %%fr2,8(%1)\n"
-          "fstd %%fr3,0(%1)\n"
+          "fstd %%fr0,0(%1)\n"
           : "=m" (temp), "+r" (bufptr));
 
   temp.env.__status_word &= ~(FE_ALL_EXCEPT
@@ -56,9 +53,6 @@
   /* Load the new environment. */
   bufptr = temp.buf;
   __asm__ (
-          "fldd,ma -8(%1),%%fr3\n"
-          "fldd,ma -8(%1),%%fr2\n"
-          "fldd,ma -8(%1),%%fr1\n"
           "fldd 0(%1),%%fr0\n"
           : "=m" (temp), "+r" (bufptr));
 


--------------080603060102010305030304--


--- End Message ---
--- Begin Message ---
>From [EMAIL PROTECTED] Mon Feb 06 18:37:36 2006
Received: (at 348136-close) by bugs.debian.org; 7 Feb 2006 02:37:36 +0000
Return-path: <[EMAIL PROTECTED]>
Received: from mail.vif.com ([216.239.64.153] helo=buddha.vif.com)
        by spohr.debian.org with esmtp (Exim 4.50)
        id 1F6IjW-0000Tt-IK
        for [EMAIL PROTECTED]; Mon, 06 Feb 2006 18:37:36 -0800
Received: from [216.239.86.34] (ip216-239-86-34.vif.net [216.239.86.34])
        by buddha.vif.com (8.13.1/8.13.1) with ESMTP id k172bWOn001651
        for <[EMAIL PROTECTED]>; Mon, 6 Feb 2006 21:37:32 -0500 (EST)
        (envelope-from [EMAIL PROTECTED])
Message-ID: <[EMAIL PROTECTED]>
Date: Mon, 06 Feb 2006 21:37:47 -0500
From: Filipus Klutiero <[EMAIL PROTECTED]>
User-Agent: Mozilla Thunderbird 1.0.2 (X11/20051002)
X-Accept-Language: fr, en
MIME-Version: 1.0
To: [EMAIL PROTECTED]
Subject: Seems done
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-vif-MailScanner-Information: Please contact the ISP for more information
X-vif-MailScanner: Found to be clean
X-vif-MailScanner-From: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
        version=2.60-bugs.debian.org_2005_01_02

Version: 2.3.5-13

Hi Randolph. Thanks for submitting this patch. LaMont Jones uploaded 
2.3.5-12.1 which fixed the problem, as you may know. The changelog 
doesn't mention this bug nor your name, but the patch's name is the same 
as yours, so it seems to be your patch applied.
If this is not the case, and you think something should still be done, 
please consider reopening.

--- End Message ---

Reply via email to