[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#335116: marked as done (glibc: Please add big-endian arm (armeb) support)



Your message dated Sat, 12 Nov 2005 20:47:10 -0800
with message-id <E1Eb9lm-0002Tf-5a@spohr.debian.org>
and subject line Bug#335116: fixed in glibc 2.3.5-8
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)

--------------------------------------
Received: (at submit) by bugs.debian.org; 22 Oct 2005 00:35:53 +0000
>From buytenh+debian@wantstofly.org Fri Oct 21 17:35:53 2005
Return-path: <buytenh+debian@wantstofly.org>
Received: from alephnull.demon.nl (enp2611.wantstofly.org) [83.160.184.112] 
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1ET7MW-0006qJ-00; Fri, 21 Oct 2005 17:35:52 -0700
Received: by enp2611.wantstofly.org (Postfix, from userid 0)
	id 62624703AF; Sat, 22 Oct 2005 02:35:50 +0200 (CEST)
Content-Type: multipart/mixed; boundary="===============1522194066=="
MIME-Version: 1.0
From: Lennert Buytenhek <buytenh+debian@wantstofly.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: glibc: Please add big-endian arm (armeb) support
X-Mailer: reportbug 3.8
Date: Sat, 22 Oct 2005 02:35:50 +0200
Message-Id: <20051022003550.62624703AF@enp2611.wantstofly.org>
Delivered-To: submit@bugs.debian.org
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 MIME message sent by reportbug.

--===============1522194066==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: glibc
Severity: wishlist
Tags: patch

The attached patch adds support for the big-endian arm (armeb)
architecture to glibc.  Changes:
1) Add 'armeb' to all the Architecture: lines; and
2) Add arm-float-byteorder.dpatch which:
   1) fixes sysdeps/arm/gmp-mparam.h (__ARMEB__ has
      IEEE_DOUBLE_BIG_ENDIAN=1 and IEEE_DOUBLE_MIXED_ENDIAN=0); and
   2) deletes sysdeps/arm/ieee754.h, so that the generic ieee754.h
      header is used instead, which is what we want because the generic
      header honors __BYTE_ORDER and __FLOAT_WORD_ORDER while the
      'forked' version of the header that arm uses does not.


-- System Information:
Debian Release: 3.1
Architecture: armeb (armv5teb)
Kernel: Linux 2.6.13
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

--===============1522194066==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="glibc-2.3.5-6-armeb.diff"

--- glibc-2.3.5/debian/control.orig	2005-09-27 00:15:09.000000000 +0000
+++ glibc-2.3.5/debian/control	2005-09-27 00:15:35.000000000 +0000
@@ -38,7 +38,7 @@
  by default. This created a package that unpacked to an excess of 30 megs.
 
 Package: nscd
-Architecture: alpha amd64 arm i386 m68k mips mipsel powerpc sparc ia64 hppa s390 sh3 sh4 sh3eb sh4eb freebsd-i386
+Architecture: alpha amd64 arm armeb i386 m68k mips mipsel powerpc sparc ia64 hppa s390 sh3 sh4 sh3eb sh4eb freebsd-i386
 Section: admin
 Priority: optional
 Depends: libc6 (>= ${Source-Version})
@@ -50,7 +50,7 @@
  slow Services like LDAP, NIS or NIS+
 
 Package: libc6
-Architecture: amd64 arm i386 m68k mips mipsel powerpc sparc s390 hppa sh3 sh4 sh3eb sh4eb
+Architecture: amd64 arm armeb i386 m68k mips mipsel powerpc sparc s390 hppa sh3 sh4 sh3eb sh4eb
 Section: base
 Priority: required
 Provides: ${locale:Depends}
@@ -61,7 +61,7 @@
  Timezone data is also included.
 
 Package: libc6-dev
-Architecture: amd64 arm i386 m68k mips mipsel powerpc sparc s390 hppa sh3 sh4 sh3eb sh4eb
+Architecture: amd64 arm armeb i386 m68k mips mipsel powerpc sparc s390 hppa sh3 sh4 sh3eb sh4eb
 Section: libdevel
 Priority: standard
 Depends: libc6 (= ${Source-Version})
@@ -71,7 +71,7 @@
  and link programs which use the standard C library.
 
 Package: libc6-dbg
-Architecture: amd64 arm i386 m68k mips mipsel powerpc sparc s390 hppa sh3 sh4 sh3eb sh4eb
+Architecture: amd64 arm armeb i386 m68k mips mipsel powerpc sparc s390 hppa sh3 sh4 sh3eb sh4eb
 Section: libdevel
 Priority: extra
 Provides: libc-dbg
@@ -85,7 +85,7 @@
  Most people will not need this package.
 
 Package: libc6-prof
-Architecture: amd64 arm i386 m68k mips mipsel powerpc sparc s390 hppa sh3 sh4 sh3eb sh4eb
+Architecture: amd64 arm armeb i386 m68k mips mipsel powerpc sparc s390 hppa sh3 sh4 sh3eb sh4eb
 Section: libdevel
 Priority: extra
 Depends: libc6 (= ${Source-Version})
@@ -94,7 +94,7 @@
  with gprof.
 
 Package: libc6-pic
-Architecture: amd64 arm i386 m68k mips mipsel powerpc sparc s390 hppa sh3 sh4 sh3eb sh4eb
+Architecture: amd64 arm armeb i386 m68k mips mipsel powerpc sparc s390 hppa sh3 sh4 sh3eb sh4eb
 Section: libdevel
 Priority: optional
 Conflicts: libc-pic
@@ -109,7 +109,7 @@
 
 Package: libc6-udeb
 XC-Package-Type: udeb
-Architecture: amd64 arm i386 m68k mips mipsel powerpc sparc s390 hppa sh3 sh4 sh3eb sh4eb
+Architecture: amd64 arm armeb i386 m68k mips mipsel powerpc sparc s390 hppa sh3 sh4 sh3eb sh4eb
 Section: debian-installer
 Priority: extra
 Provides: libc6, libc-udeb, ${locale:Depends}
--- glibc-2.3.5/debian/patches/arm-float-byteorder.dpatch.orig	2005-09-27 00:23:53.000000000 +0000
+++ glibc-2.3.5/debian/patches/arm-float-byteorder.dpatch	2005-09-27 00:23:20.000000000 +0000
@@ -0,0 +1,148 @@
+#! /bin/sh -e
+
+# DP: Description: fix float byte order on big-endian arm
+
+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 -p0 < $0;;
+    -unpatch) patch -d "$2" -f --no-backup-if-mismatch -R -p0 < $0;;
+    *)
+	echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
+	exit 1
+esac
+exit 0
+
+--- sysdeps/arm/gmp-mparam.h	2005-08-05 08:57:26.000000000 +0000
++++ sysdeps/arm/gmp-mparam.h	2005-08-05 08:57:48.000000000 +0000
+@@ -26,5 +26,10 @@
+ #define BITS_PER_SHORTINT 16
+ #define BITS_PER_CHAR 8
+ 
++#ifdef __ARMEB__
++#define IEEE_DOUBLE_BIG_ENDIAN 1
++#define IEEE_DOUBLE_MIXED_ENDIAN 0
++#else
+ #define IEEE_DOUBLE_BIG_ENDIAN 0
+ #define IEEE_DOUBLE_MIXED_ENDIAN 1
++#endif
+--- sysdeps/arm/ieee754.h	2001-07-07 19:21:19.000000000 +0000
++++ sysdeps/arm/ieee754.h	1970-01-01 00:00:00.000000000 +0000
+@@ -1,115 +0,0 @@
+-/* Copyright (C) 1992, 1995, 1996, 1998 Free Software Foundation, Inc.
+-   This file is part of the GNU C Library.
+-
+-   The GNU C Library is free software; you can redistribute it and/or
+-   modify it under the terms of the GNU Lesser General Public
+-   License as published by the Free Software Foundation; either
+-   version 2.1 of the License, or (at your option) any later version.
+-
+-   The GNU C Library is distributed in the hope that it will be useful,
+-   but WITHOUT ANY WARRANTY; without even the implied warranty of
+-   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+-   Lesser General Public License for more details.
+-
+-   You should have received a copy of the GNU Lesser General Public
+-   License along with the GNU C Library; if not, write to the Free
+-   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+-   02111-1307 USA.  */
+-
+-#ifndef _IEEE754_H
+-
+-#define _IEEE754_H 1
+-#include <features.h>
+-
+-#include <endian.h>
+-
+-__BEGIN_DECLS
+-
+-union ieee754_float
+-  {
+-    float f;
+-
+-    /* This is the IEEE 754 single-precision format.  */
+-    struct
+-      {
+-	unsigned int mantissa:23;
+-	unsigned int exponent:8;
+-	unsigned int negative:1;
+-      } ieee;
+-
+-    /* This format makes it easier to see if a NaN is a signalling NaN.  */
+-    struct
+-      {
+-	unsigned int mantissa:22;
+-	unsigned int quiet_nan:1;
+-	unsigned int exponent:8;
+-	unsigned int negative:1;
+-      } ieee_nan;
+-  };
+-
+-#define IEEE754_FLOAT_BIAS	0x7f /* Added to exponent.  */
+-
+-
+-union ieee754_double
+-  {
+-    double d;
+-
+-    /* This is the IEEE 754 double-precision format.  */
+-    struct
+-      {
+-	unsigned int mantissa0:20;
+-	unsigned int exponent:11;
+-	unsigned int negative:1;
+-	unsigned int mantissa1:32;
+-      } ieee;
+-
+-    /* This format makes it easier to see if a NaN is a signalling NaN.  */
+-    struct
+-      {
+-	unsigned int mantissa0:19;
+-	unsigned int quiet_nan:1;
+-	unsigned int exponent:11;
+-	unsigned int negative:1;
+-	unsigned int mantissa1:32;
+-      } ieee_nan;
+-  };
+-
+-#define IEEE754_DOUBLE_BIAS	0x3ff /* Added to exponent.  */
+-
+-
+-/* The following two structures are correct for `new' floating point systems but
+-   wrong for the old FPPC.  The only solution seems to be to avoid their use on
+-   old hardware.  */
+-
+-union ieee854_long_double
+-  {
+-    long double d;
+-
+-    /* This is the IEEE 854 double-extended-precision format.  */
+-    struct
+-      {
+-	unsigned int exponent:15;
+-	unsigned int empty:16;
+-	unsigned int negative:1;
+-	unsigned int mantissa1:32;
+-	unsigned int mantissa0:32;
+-      } ieee;
+-
+-    /* This is for NaNs in the IEEE 854 double-extended-precision format.  */
+-    struct
+-      {
+-	unsigned int exponent:15;
+-	unsigned int empty:16;
+-	unsigned int negative:1;
+-	unsigned int mantissa1:32;
+-	unsigned int mantissa0:30;
+-	unsigned int quiet_nan:1;
+-	unsigned int one:1;
+-      } ieee_nan;
+-  };
+-
+-#define IEEE854_LONG_DOUBLE_BIAS 0x3fff
+-
+-__END_DECLS
+-
+-#endif /* ieee754.h */
--- glibc-2.3.5/debian/patches/00list.orig	2005-09-27 00:22:27.000000000 +0000
+++ glibc-2.3.5/debian/patches/00list	2005-09-27 00:23:12.000000000 +0000
@@ -36,6 +36,7 @@
 50_glibc232-m68k-dwarf2-buildfix
 #arm-output-format	# g: suspended
 arm-ioperm
+arm-float-byteorder
 #glibc-make-check-perms	# g: suspended
 glibc-2.3.2-ldconfig-tls
 glibc23-mips-msq
--- glibc-2.3.5/debian/rules.d/control.mk.orig	2005-10-01 09:56:32.000000000 +0000
+++ glibc-2.3.5/debian/rules.d/control.mk	2005-10-01 09:56:38.000000000 +0000
@@ -1,10 +1,10 @@
 control_deps := $(addprefix debian/control.in/, libc6 libc6.1 libc0.3 libc1 sparc64 s390x ppc64 opt)
 
-threads_archs := alpha amd64 arm i386 m68k mips mipsel powerpc sparc ia64 hppa s390 sh3 sh4 sh3eb sh4eb freebsd-i386
+threads_archs := alpha amd64 arm armeb i386 m68k mips mipsel powerpc sparc ia64 hppa s390 sh3 sh4 sh3eb sh4eb freebsd-i386
 
 debian/control.in/libc6: debian/control.in/libc debian/rules.d/control.mk
 	sed -e 's%@libc@%libc6%g' \
-	    -e 's%@archs@%amd64 arm i386 m68k mips mipsel powerpc sparc s390 hppa sh3 sh4 sh3eb sh4eb%g' < $< > $@
+	    -e 's%@archs@%amd64 arm armeb i386 m68k mips mipsel powerpc sparc s390 hppa sh3 sh4 sh3eb sh4eb%g' < $< > $@
 
 debian/control.in/libc6.1: debian/control.in/libc debian/rules.d/control.mk
 	sed -e 's%@libc@%libc6.1%g;s%@archs@%alpha ia64%g' < $< > $@

--===============1522194066==--

---------------------------------------
Received: (at 335116-close) by bugs.debian.org; 13 Nov 2005 04:54:52 +0000
>From katie@ftp-master.debian.org Sat Nov 12 20:54:52 2005
Return-path: <katie@ftp-master.debian.org>
Received: from katie by spohr.debian.org with local (Exim 4.50)
	id 1Eb9lm-0002Tf-5a; Sat, 12 Nov 2005 20:47:10 -0800
From: Daniel Jacobowitz <dan@debian.org>
To: 335116-close@bugs.debian.org
X-Katie: $Revision: 1.56 $
Subject: Bug#335116: fixed in glibc 2.3.5-8
Message-Id: <E1Eb9lm-0002Tf-5a@spohr.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Sat, 12 Nov 2005 20:47:10 -0800
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=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-CrossAssassin-Score: 3

Source: glibc
Source-Version: 2.3.5-8

We believe that the bug you reported is fixed in the latest version of
glibc, which is due to be installed in the Debian FTP archive:

glibc-doc_2.3.5-8_all.deb
  to pool/main/g/glibc/glibc-doc_2.3.5-8_all.deb
glibc_2.3.5-8.diff.gz
  to pool/main/g/glibc/glibc_2.3.5-8.diff.gz
glibc_2.3.5-8.dsc
  to pool/main/g/glibc/glibc_2.3.5-8.dsc
libc6-amd64_2.3.5-8_i386.deb
  to pool/main/g/glibc/libc6-amd64_2.3.5-8_i386.deb
libc6-dbg_2.3.5-8_i386.deb
  to pool/main/g/glibc/libc6-dbg_2.3.5-8_i386.deb
libc6-dev-amd64_2.3.5-8_i386.deb
  to pool/main/g/glibc/libc6-dev-amd64_2.3.5-8_i386.deb
libc6-dev_2.3.5-8_i386.deb
  to pool/main/g/glibc/libc6-dev_2.3.5-8_i386.deb
libc6-i686_2.3.5-8_i386.deb
  to pool/main/g/glibc/libc6-i686_2.3.5-8_i386.deb
libc6-pic_2.3.5-8_i386.deb
  to pool/main/g/glibc/libc6-pic_2.3.5-8_i386.deb
libc6-prof_2.3.5-8_i386.deb
  to pool/main/g/glibc/libc6-prof_2.3.5-8_i386.deb
libc6-udeb_2.3.5-8_i386.udeb
  to pool/main/g/glibc/libc6-udeb_2.3.5-8_i386.udeb
libc6_2.3.5-8_i386.deb
  to pool/main/g/glibc/libc6_2.3.5-8_i386.deb
libnss-dns-udeb_2.3.5-8_i386.udeb
  to pool/main/g/glibc/libnss-dns-udeb_2.3.5-8_i386.udeb
libnss-files-udeb_2.3.5-8_i386.udeb
  to pool/main/g/glibc/libnss-files-udeb_2.3.5-8_i386.udeb
locales_2.3.5-8_all.deb
  to pool/main/g/glibc/locales_2.3.5-8_all.deb
nscd_2.3.5-8_i386.deb
  to pool/main/g/glibc/nscd_2.3.5-8_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 335116@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Daniel Jacobowitz <dan@debian.org> (supplier of updated glibc package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sat, 12 Nov 2005 19:15:29 -0500
Source: glibc
Binary: libc6-dev-amd64 libc6-i686 libc6-dev-ppc64 libc0.3-pic glibc-doc libc1-udeb libc0.3 libc6.1-dev libc1-pic libc6-s390x libnss-files-udeb libc1-dbg libc6-dev-sparc64 libc0.3-dev libc6-udeb libc6-dbg libc6.1-pic libc6-dev libc0.3-prof libc6-sparcv9 libc6.1-prof libc1 locales libc6-pic libc0.3-udeb libc1-prof libc6-ppc64 libc0.3-dbg libc6-amd64 libc6-prof libc6 libc6-sparcv9b libc6.1-udeb libc6.1-dbg nscd libc6-sparc64 libnss-dns-udeb libc6.1 libc1-dev libc6-dev-s390x
Architecture: source i386 all
Version: 2.3.5-8
Distribution: unstable
Urgency: low
Maintainer: GNU Libc Maintainers <debian-glibc@lists.debian.org>
Changed-By: Daniel Jacobowitz <dan@debian.org>
Description: 
 glibc-doc  - GNU C Library: Documentation
 libc6      - GNU C Library: Shared libraries and Timezone data
 libc6-amd64 - GNU C Library: 64bit Shared libraries for AMD64
 libc6-dbg  - GNU C Library: Libraries with debugging symbols
 libc6-dev  - GNU C Library: Development Libraries and Header Files
 libc6-dev-amd64 - GNU C Library: 64bit Development Libraries for AMD64
 libc6-i686 - GNU C Library: Shared libraries [i686 optimized]
 libc6-pic  - GNU C Library: PIC archive library
 libc6-prof - GNU C Library: Profiling Libraries
 libc6-udeb - GNU C Library: Shared libraries - udeb (udeb)
 libnss-dns-udeb - GNU C Library: NSS helper for DNS - udeb (udeb)
 libnss-files-udeb - GNU C Library: NSS helper for files - udeb (udeb)
 locales    - GNU C Library: National Language (locale) data [support]
 nscd       - GNU C Library: Name Service Cache Daemon
Closes: 181025 326581 334101 334112 335116 335308 335343 335821
Changes: 
 glibc (2.3.5-8) unstable; urgency=low
 .
   * Add missing build dependency on libc6-dev-ppc64 on powerpc.
   * Add patch to fix sparc64 TLS build failure, from Aurelien Jarno
     (Closes: #335821).
   * Also restart saslauthd at upgrades, from Philipp Hug (Closes: #334101).
   * Merge .eh_frame terminator fix, by Richard Sandiford (Closes: #334112).
   * Merge armeb support, from Lennert Buytenhek (Closes: #335116).
   * Add LSB headers to glibc.sh and nscd init scripts, from Petter
     Reinholdtsen (Closes: #335308, #335343).
   * Remove obsolete mountkernfs, tmpfs, and devpts.sh files from debian/.
   * Temporarily set hppa back to gcc 3.4, from Steve Langasek
     (Closes: #326581).
   * Re-enable libidn (Closes: #181025).
Files: 
 66889d15c6cc139c0762a41b4c6f1cb2 1836 libs required glibc_2.3.5-8.dsc
 9d66d76bb1072b8878f73b82efd585cf 313072 libs required glibc_2.3.5-8.diff.gz
 05287d427d7c957389906dd66f523a04 3331900 doc optional glibc-doc_2.3.5-8_all.deb
 ac99ae0656d65940dc148aff7ec6bec6 4061078 base standard locales_2.3.5-8_all.deb
 2954239c202f4ca0861cbc4142f145f5 5056026 base required libc6_2.3.5-8_i386.deb
 8e72076334bcaf4183c2ed144a4ea249 2684252 libdevel standard libc6-dev_2.3.5-8_i386.deb
 f036e7cd9cd8c2b2cb9efd83a45b814e 1268450 libdevel extra libc6-prof_2.3.5-8_i386.deb
 97f8284415bed6c62df5d8711d1fdcd2 1012728 libdevel optional libc6-pic_2.3.5-8_i386.deb
 7726600616c41cadd8c52317477b8f13 1063874 libs extra libc6-i686_2.3.5-8_i386.deb
 3c4c8d72046d57e2e7092d22c2851b13 3253306 base required libc6-amd64_2.3.5-8_i386.deb
 7bd5dbca9f0c6d26ff4a61596ad147eb 2000316 libdevel standard libc6-dev-amd64_2.3.5-8_i386.deb
 e5519d06a864f99736a7344d8cc657f9 124878 admin optional nscd_2.3.5-8_i386.deb
 984b87f3d98fba6a882ed9208cd02696 6440128 libdevel extra libc6-dbg_2.3.5-8_i386.deb
 52fcc1e0b6bc47eeff784d9ccd753baf 703942 debian-installer extra libc6-udeb_2.3.5-8_i386.udeb
 64f8fd3fd792a24026886bbecf5564c1 8274 debian-installer extra libnss-dns-udeb_2.3.5-8_i386.udeb
 a4da115b442779223041424374a3fe8b 14778 debian-installer extra libnss-files-udeb_2.3.5-8_i386.udeb
Package-Type: udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDdrlRbgOPXuCjg3cRAu/eAKCt1HZZIrs6wVpCnq+uu/6dH6etUgCfYw7h
gMX6HuYJ3oY7H1H8jnk7Umk=
=IGtY
-----END PGP SIGNATURE-----



Reply to: