--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: glibc: [amd64] New GLIBC pass to create 32bit libc6-i386 and libc6-dev-i386 packages
- From: Andreas Jochens <aj@andaco.de>
- Date: Fri, 01 Oct 2004 14:13:47 +0200
- Message-id: <E1CDMIF-0001SH-Pm@localhost.localdomain>
Package: glibc
Severity: wishlist
Tags: patch
Finally, there is a patch which creates a 32bit i386 version of libc6
on amd64 by adding an extra pass to glibc. The new packages 'libc6-i386'
and 'libc6-dev-i386' install the 32bit libc6 files in /usr/lib32, which
is a symlink to '/emul/ia32-linux/usr/lib'. This location may look a
bit strange first, but this is where the 'ia32-libs' package
installs all 32bit i386 libraries and files at the moment.
The 'ia32-libs' package currently installs a libc6 binary package
which has been compiled by the i386 distribution. This is ugly because
it makes the whole amd64 distribution, especially the amd64 gcc compiler,
depend on binary packages from the i386 distribution.
Of course the 'ia32-libs' package will also have to be changed,
so that it no longer installs libc6 by itself
but simply depends on libc6-i386 instead.
The attached patch - together with a corresponding patch to ia32-libs -
has been used for a few weeks by the experimental amd64/gcc-3.4 archive
without problems so far.
Regards
Andreas Jochens
This patch changes the following files of the glibc package:
* debian/sysdeps/amd64.mk:
Add an extra 'i386' pass which creates the packages 'libc6-i386' and
'libc6-dev-i386' containing a 32bit i386 version of the library
(this is much like the 'libc6-sparc64' or 'libc6-s390x' cases,
but this time the 64bit library is the native library and the
32bit library is the addititional one).
All following changes are necessary to correctly build the 'libc6-i386'
and 'libc6-dev-i386' packages on amd64:
* debian/control.in/main:
Add Build-Depends on 'gcc-3.4 [amd64]' to be able to create 32bit
binaries.
* debian/control.in/amd64-i386 (new file):
Control information for the 'libc6-i386' and 'libc6-dev-i386' packages.
* debian/debhelper.in/libc-dev-i386.install (new file),
debian/debhelper.in/libc-i386.install (newfile),
debian/debhelper.in/libc-i386.links (new file):
Define the contents of the packages 'libc6-i386' and 'libc6-dev-i386'
and move the files to the correct directories.
Provide the symlinks /lib/ld-linux.so.2 and /usr/lib32.
* debian/debhelper.in/libc.preinst:
On amd64 exclude '/usr/lib32' from the directories which are checked
for an installed version of libc. The 32bit i386 libc will be installed
in '/usr/lib32' which is a symlink to '/emul/ia32-linux/usr/lib'.
* debian/rules.d/debhelper.mk:
Prevent the use of the libc-otherbuild.* files if there is a special
libc-*.install file for the pass. Without this patch the
'libc-i386.install' file mentioned above would be overwritten by the
'libc-otherbuild.install' file.
* debian/patches/arch-fixup-attribute.dpatch (new file):
Patch from upstream CVS (necessary to compile the 32bit library on amd64):
* sysdeps/i386/dl-machine.h: Define ARCH_FIXUP_ATTRIBUTE and use
it in the fixup function declarations.
* elf/dl-runtime.c: If ARCH_FIXUP_ATTRIBUTE is not defined,
provide dummy definition. Use macro in fixup function definitions.
* debian/patches/00list:
Enable the new 'arch-fixup-attribute' patch.
diff -urN ../tmp-orig/glibc-2.3.2.ds1/debian/sysdeps/amd64.mk ./debian/sysdeps/amd64.mk
--- ../tmp-orig/glibc-2.3.2.ds1/debian/sysdeps/amd64.mk 2004-09-29 15:17:10.633727680 +0200
+++ ./debian/sysdeps/amd64.mk 2004-09-29 09:11:39.071831872 +0200
@@ -12,3 +12,18 @@
ifeq ($(BUILD_CC_VERSION),3.4)
libc_extra_cflags += -g0
endif
+
+# build 32bit i386 library
+GLIBC_PASSES += i386
+DEB_ARCH_REGULAR_PACKAGES += libc6-i386 libc6-dev-i386
+i386_CC = gcc-3.4 -m32
+i386_MIN_KERNEL_SUPPORTED = 2.6.0
+i386_configure_build = x86_64-linux
+i386_configure_target = i486-linux
+i386_add-ons = nptl $(add-ons)
+libc6-i386_shlib_dep = libc6-i386 (>= $(shlib_dep_ver))
+i386_extra_cflags = -O3 -fomit-frame-pointer -D__USE_STRING_INLINES
+i386_extra_cflags += -g0 -fno-unit-at-a-time
+i386_extra_config_options = $(extra_config_options) --with-tls --with-__thread \
+ --host=i486-linux --with-headers=/usr/include/i386-linux \
+ --prefix=/emul/ia32-linux/usr
diff -urN ../tmp-orig/glibc-2.3.2.ds1/debian/control ./debian/control
--- ../tmp-orig/glibc-2.3.2.ds1/debian/control 2004-09-29 15:17:10.321775104 +0200
+++ ./debian/control 2004-09-29 09:11:39.071831872 +0200
@@ -1,7 +1,7 @@
Source: glibc
Section: libs
Priority: required
-Build-Depends: gettext (>= 0.10.37-1), make (>= 3.80-1), dpkg-dev (>= 1.4.1.5), debianutils (>= 1.13.1), tar (>= 1.13.11), bzip2, texinfo (>= 4.0), linux-kernel-headers (>= 2.5.999-test7-bk-9) [!hurd-i386], mig (>= 1.3-2) [hurd-i386], hurd-dev (>= 20020608-1) [hurd-i386], gnumach-dev [hurd-i386], texi2html, file, gcc-3.3 | gcc-3.4, autoconf, binutils (>= 2.14.90.0.7-5), sed (>= 4.0.5-4), gawk, debhelper (>= 4.1.76)
+Build-Depends: gettext (>= 0.10.37-1), make (>= 3.80-1), dpkg-dev (>= 1.4.1.5), debianutils (>= 1.13.1), tar (>= 1.13.11), bzip2, texinfo (>= 4.0), linux-kernel-headers (>= 2.5.999-test7-bk-9) [!hurd-i386], mig (>= 1.3-2) [hurd-i386], hurd-dev (>= 20020608-1) [hurd-i386], gnumach-dev [hurd-i386], texi2html, file, gcc-3.4 [amd64], gcc-3.3 | gcc-3.4, autoconf, binutils (>= 2.14.90.0.7-5), sed (>= 4.0.5-4), gawk, debhelper (>= 4.1.76)
Build-Depends-Indep: perl, po-debconf
Maintainer: GNU Libc Maintainers <debian-glibc@lists.debian.org>
Uploaders: Ben Collins <bcollins@debian.org>, GOTO Masanori <gotom@debian.org>, Philip Blundell <pb@nexus.co.uk>, Jeff Bailey <jbailey@raspberryginger.com>, Daniel Jacobowitz <dan@debian.org>
@@ -440,6 +440,26 @@
Most notably, IBM's JDK. If you experience problems with such
applications, you will need to remove this package.
+Package: libc6-i386
+Architecture: amd64
+Section: libs
+Priority: extra
+Depends: libc6 (= ${Source-Version}), lib32gcc1
+Description: GNU C Library: 32bit shared libraries for amd64
+ This package includes shared versions of the standard C
+ library and the standard math library, as well as many others.
+ This is the 32bit version of the library, meant for amd64 systems.
+
+Package: libc6-dev-i386
+Architecture: amd64
+Section: libdevel
+Priority: standard
+Depends: libc6-i386 (= ${Source-Version}), libc6-dev (= ${Source-Version})
+Description: GNU C Library: 32bit development libraries for amd64
+ Contains the symlinks and object files needed to compile and link programs
+ which use the standard C library. This is the 32bit version of the
+ library, meant for amd64 systems.
+
Package: libnss-dns-udeb
XC-Package-Type: udeb
Architecture: any
diff -urN ../tmp-orig/glibc-2.3.2.ds1/debian/control.in/amd64_i386 ./debian/control.in/amd64_i386
--- ../tmp-orig/glibc-2.3.2.ds1/debian/control.in/amd64_i386 1970-01-01 01:00:00.000000000 +0100
+++ ./debian/control.in/amd64_i386 2004-09-29 09:11:39.072831720 +0200
@@ -0,0 +1,20 @@
+Package: libc6-i386
+Architecture: amd64
+Section: libs
+Priority: extra
+Depends: libc6 (= ${Source-Version}), lib32gcc1
+Description: GNU C Library: 32bit shared libraries for amd64
+ This package includes shared versions of the standard C
+ library and the standard math library, as well as many others.
+ This is the 32bit version of the library, meant for amd64 systems.
+
+Package: libc6-dev-i386
+Architecture: amd64
+Section: libdevel
+Priority: standard
+Depends: libc6-i386 (= ${Source-Version}), libc6-dev (= ${Source-Version})
+Description: GNU C Library: 32bit development libraries for amd64
+ Contains the symlinks and object files needed to compile and link programs
+ which use the standard C library. This is the 32bit version of the
+ library, meant for amd64 systems.
+
diff -urN ../tmp-orig/glibc-2.3.2.ds1/debian/control.in/main ./debian/control.in/main
--- ../tmp-orig/glibc-2.3.2.ds1/debian/control.in/main 2004-09-29 15:17:10.280781336 +0200
+++ ./debian/control.in/main 2004-09-29 09:11:39.072831720 +0200
@@ -1,7 +1,7 @@
Source: @glibc@
Section: libs
Priority: required
-Build-Depends: gettext (>= 0.10.37-1), make (>= 3.80-1), dpkg-dev (>= 1.4.1.5), debianutils (>= 1.13.1), tar (>= 1.13.11), bzip2, texinfo (>= 4.0), linux-kernel-headers (>= 2.5.999-test7-bk-9) [!hurd-i386], mig (>= 1.3-2) [hurd-i386], hurd-dev (>= 20020608-1) [hurd-i386], gnumach-dev [hurd-i386], texi2html, file, gcc-3.3 | gcc-3.4, autoconf, binutils (>= 2.14.90.0.7-5), sed (>= 4.0.5-4), gawk, debhelper (>= 4.1.76)
+Build-Depends: gettext (>= 0.10.37-1), make (>= 3.80-1), dpkg-dev (>= 1.4.1.5), debianutils (>= 1.13.1), tar (>= 1.13.11), bzip2, texinfo (>= 4.0), linux-kernel-headers (>= 2.5.999-test7-bk-9) [!hurd-i386], mig (>= 1.3-2) [hurd-i386], hurd-dev (>= 20020608-1) [hurd-i386], gnumach-dev [hurd-i386], texi2html, file, gcc-3.4 [amd64], gcc-3.3 | gcc-3.4, autoconf, binutils (>= 2.14.90.0.7-5), sed (>= 4.0.5-4), gawk, debhelper (>= 4.1.76)
Build-Depends-Indep: perl, po-debconf
Maintainer: GNU Libc Maintainers <debian-glibc@lists.debian.org>
Uploaders: Ben Collins <bcollins@debian.org>, GOTO Masanori <gotom@debian.org>, Philip Blundell <pb@nexus.co.uk>, Jeff Bailey <jbailey@raspberryginger.com>, Daniel Jacobowitz <dan@debian.org>
diff -urN ../tmp-orig/glibc-2.3.2.ds1/debian/debhelper.in/libc-dev-i386.install ./debian/debhelper.in/libc-dev-i386.install
--- ../tmp-orig/glibc-2.3.2.ds1/debian/debhelper.in/libc-dev-i386.install 1970-01-01 01:00:00.000000000 +0100
+++ ./debian/debhelper.in/libc-dev-i386.install 2004-09-29 09:11:39.072831720 +0200
@@ -0,0 +1,4 @@
+debian/tmp-i386/emul/ia32-linux/usr/lib/*.a* emul/ia32-linux/usr/lib
+debian/tmp-i386/emul/ia32-linux/usr/lib/*.o emul/ia32-linux/usr/lib
+debian/tmp-i386/emul/ia32-linux/usr/include/* emul/ia32-linux/usr/include
+debian/tmp-i386/emul/ia32-linux/usr/bin/* emul/ia32-linux/usr/bin
diff -urN ../tmp-orig/glibc-2.3.2.ds1/debian/debhelper.in/libc-i386.install ./debian/debhelper.in/libc-i386.install
--- ../tmp-orig/glibc-2.3.2.ds1/debian/debhelper.in/libc-i386.install 1970-01-01 01:00:00.000000000 +0100
+++ ./debian/debhelper.in/libc-i386.install 2004-09-29 09:11:39.073831568 +0200
@@ -0,0 +1,2 @@
+debian/tmp-i386/emul/ia32-linux/usr/lib/*.so* emul/ia32-linux/usr/lib
+debian/tmp-i386/emul/ia32-linux/usr/lib/gconv/*.so* emul/ia32-linux/usr/lib/gconv
diff -urN ../tmp-orig/glibc-2.3.2.ds1/debian/debhelper.in/libc-i386.links ./debian/debhelper.in/libc-i386.links
--- ../tmp-orig/glibc-2.3.2.ds1/debian/debhelper.in/libc-i386.links 1970-01-01 01:00:00.000000000 +0100
+++ ./debian/debhelper.in/libc-i386.links 2004-09-29 09:11:39.073831568 +0200
@@ -0,0 +1,2 @@
+/emul/ia32-linux/usr/lib/ld-linux.so.2 /lib/ld-linux.so.2
+/emul/ia32-linux/usr/lib /usr/lib32
diff -urN ../tmp-orig/glibc-2.3.2.ds1/debian/debhelper.in/libc.preinst ./debian/debhelper.in/libc.preinst
--- ../tmp-orig/glibc-2.3.2.ds1/debian/debhelper.in/libc.preinst 2004-09-29 15:17:10.312776472 +0200
+++ ./debian/debhelper.in/libc.preinst 2004-09-29 15:16:52.798439056 +0200
@@ -145,7 +145,12 @@
then
dirs="/usr/local/lib /usr/local/lib32 /usr/local/lib64"
if ! test -L /usr; then
- dirs="$dirs /usr/lib /usr/lib32 /usr/lib64"
+ if [ `dpkg-architecture -qDEB_HOST_ARCH` = "amd64" ]; then
+ # the 32bit i386 libc may be installed in /usr/lib32 on amd64
+ dirs="$dirs /usr/lib /usr/lib64"
+ else
+ dirs="$dirs /usr/lib /usr/lib32 /usr/lib64"
+ fi
fi
if check_dirs $dirs; then
echo
diff -urN ../tmp-orig/glibc-2.3.2.ds1/debian/patches/00list ./debian/patches/00list
--- ../tmp-orig/glibc-2.3.2.ds1/debian/patches/00list 2004-09-29 15:17:10.323774800 +0200
+++ ./debian/patches/00list 2004-09-29 09:12:07.094571768 +0200
@@ -109,4 +109,4 @@
glibc23-dlclose-l_opencount
glibc232-globfree-clear
# nptl-pthread-create-attr - disabled to worry about the ABI/function breakage
-
+arch-fixup-attribute
diff -urN ../tmp-orig/glibc-2.3.2.ds1/debian/patches/arch-fixup-attribute.dpatch ./debian/patches/arch-fixup-attribute.dpatch
--- ../tmp-orig/glibc-2.3.2.ds1/debian/patches/arch-fixup-attribute.dpatch 1970-01-01 01:00:00.000000000 +0100
+++ ./debian/patches/arch-fixup-attribute.dpatch 2004-09-29 09:11:39.074831416 +0200
@@ -0,0 +1,82 @@
+#! /bin/sh -e
+
+# All lines beginning with `# DP:' are a description of the patch.
+# DP: * sysdeps/i386/dl-machine.h: Define ARCH_FIXUP_ATTRIBUTE and use
+# DP: it in the fixup function declarations.
+# DP: * elf/dl-runtime.c: If ARCH_FIXUP_ATTRIBUTE is not defined,
+# DP: provide dummy definition. Use macro in fixup function
+# DP: definitions.
+# DP: Dpatch author: Andreas Jochens <aj@andaco.de>
+# DP: Patch author: Ulrich Drepper <drepper@redhat.com>
+# DP: Upstream status: in CVS
+# DP: Status Details:
+# DP: Date: 2004-03-08
+
+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 -p1 < $0;;
+ -unpatch) patch -d "$2" -f --no-backup-if-mismatch -R -p1 < $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.
+--- dl-machine.h 2004-08-05 14:30:44.417038000 +0000
++++ glibc-2.3.2/sysdeps/i386/dl-machine.h 2004-08-05 19:44:35.661107637 +0000
+@@ -155,11 +155,14 @@
+ destroys the passed register information. */
+ /* GKM FIXME: Fix trampoline to pass bounds so we can do
+ without the `__unbounded' qualifier. */
+-static ElfW(Addr) fixup (struct link_map *__unbounded l, ElfW(Word) reloc_offset)
+- __attribute__ ((regparm (2), unused));
++#define ARCH_FIXUP_ATTRIBUTE __attribute__ ((regparm (3), unused))
++
++static ElfW(Addr) fixup (struct link_map *__unbounded l,
++ ElfW(Word) reloc_offset)
++ ARCH_FIXUP_ATTRIBUTE;
+ static ElfW(Addr) profile_fixup (struct link_map *l, ElfW(Word) reloc_offset,
+ ElfW(Addr) retaddr)
+- __attribute__ ((regparm (3), unused));
++ ARCH_FIXUP_ATTRIBUTE;
+ # endif
+
+ /* This code is used in dl-runtime.c to call the `fixup' function
+--- dl-runtime.c 2003-02-07 19:41:12.000000000 +0000
++++ glibc-2.3.2/elf/dl-runtime.c 2004-08-05 19:48:48.885006003 +0000
+@@ -36,6 +36,12 @@
+ # define VERSYMIDX(sym) (DT_NUM + DT_THISPROCNUM + DT_VERSIONTAGIDX (sym))
+ #endif
+
++/* The fixup functions might have need special attributes. If none
++ are provided define the macro as empty. */
++#ifndef ARCH_FIXUP_ATTRIBUTE
++# define ARCH_FIXUP_ATTRIBUTE
++#endif
++
+
+ /* This function is called through a special trampoline from the PLT the
+ first time each PLT entry is called. We must perform the relocation
+@@ -45,7 +51,8 @@
+ function. */
+
+ #ifndef ELF_MACHINE_NO_PLT
+-static ElfW(Addr) __attribute_used__
++static ElfW(Addr)
++__attribute ((used, noinline)) ARCH_FIXUP_ATTRIBUTE
+ fixup (
+ # ifdef ELF_MACHINE_RUNTIME_FIXUP_ARGS
+ ELF_MACHINE_RUNTIME_FIXUP_ARGS,
+@@ -133,6 +140,7 @@
+ #if !defined PROF && !defined ELF_MACHINE_NO_PLT && !__BOUNDED_POINTERS__
+
+-static ElfW(Addr) __attribute_used__
++static ElfW(Addr)
++__attribute ((used, noinline)) ARCH_FIXUP_ATTRIBUTE
+ profile_fixup (
+ #ifdef ELF_MACHINE_RUNTIME_FIXUP_ARGS
+ ELF_MACHINE_RUNTIME_FIXUP_ARGS,
diff -urN ../tmp-orig/glibc-2.3.2.ds1/debian/rules.d/control.mk ./debian/rules.d/control.mk
--- ../tmp-orig/glibc-2.3.2.ds1/debian/rules.d/control.mk 2004-09-29 15:17:10.626728744 +0200
+++ ./debian/rules.d/control.mk 2004-09-29 09:11:39.072831720 +0200
@@ -22,6 +22,7 @@
cat debian/control.in/libc6.1 >> $@T
cat debian/control.in/libc0.3 >> $@T
cat debian/control.in/libc1 >> $@T
+ cat debian/control.in/amd64_i386 >> $@T
cat debian/control.in/sparc64 >> $@T
cat debian/control.in/s390x >> $@T
cat debian/control.in/opt >> $@T
diff -urN ../tmp-orig/glibc-2.3.2.ds1/debian/rules.d/debhelper.mk ./debian/rules.d/debhelper.mk
--- ../tmp-orig/glibc-2.3.2.ds1/debian/rules.d/debhelper.mk 2004-09-29 15:17:10.627728592 +0200
+++ ./debian/rules.d/debhelper.mk 2004-09-29 09:11:39.073831568 +0200
@@ -183,7 +183,7 @@
sed -e "s#LIBC#$(libc)#" -i $$z; \
sed -e "s#DESTLIBDIR#$$destdir#" -i $$zd; \
sed -e "s/^#.*//" -i $$zd; \
- else \
+ elif [ ! -e $$z ]; then \
cp debian/debhelper.in/libc-otherbuild.install $$z; \
cp debian/debhelper.in/libc-otherbuild.preinst debian/$(libc)-$$x.preinst ; \
cp debian/debhelper.in/libc-otherbuild.postinst debian/$(libc)-$$x.postinst ; \
--- End Message ---
--- Begin Message ---
Source: glibc
Source-Version: 2.3.6-2
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.6-2_all.deb
to pool/main/g/glibc/glibc-doc_2.3.6-2_all.deb
glibc_2.3.6-2.diff.gz
to pool/main/g/glibc/glibc_2.3.6-2.diff.gz
glibc_2.3.6-2.dsc
to pool/main/g/glibc/glibc_2.3.6-2.dsc
libc6-dbg_2.3.6-2_hppa.deb
to pool/main/g/glibc/libc6-dbg_2.3.6-2_hppa.deb
libc6-dev_2.3.6-2_hppa.deb
to pool/main/g/glibc/libc6-dev_2.3.6-2_hppa.deb
libc6-pic_2.3.6-2_hppa.deb
to pool/main/g/glibc/libc6-pic_2.3.6-2_hppa.deb
libc6-prof_2.3.6-2_hppa.deb
to pool/main/g/glibc/libc6-prof_2.3.6-2_hppa.deb
libc6-udeb_2.3.6-2_hppa.udeb
to pool/main/g/glibc/libc6-udeb_2.3.6-2_hppa.udeb
libc6_2.3.6-2_hppa.deb
to pool/main/g/glibc/libc6_2.3.6-2_hppa.deb
libnss-dns-udeb_2.3.6-2_hppa.udeb
to pool/main/g/glibc/libnss-dns-udeb_2.3.6-2_hppa.udeb
libnss-files-udeb_2.3.6-2_hppa.udeb
to pool/main/g/glibc/libnss-files-udeb_2.3.6-2_hppa.udeb
locales_2.3.6-2_all.deb
to pool/main/g/glibc/locales_2.3.6-2_all.deb
nscd_2.3.6-2_hppa.deb
to pool/main/g/glibc/nscd_2.3.6-2_hppa.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 274367@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Aurelien Jarno <aurel32@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: Thu, 23 Feb 2006 17:47:58 +0100
Source: glibc
Binary: libc0.1-prof libc6-dev-amd64 libc6-i686 libc6-dev-ppc64 libc0.3-pic glibc-doc libc0.3 libc0.1-i686 libc6.1-dev libc6-s390x libnss-files-udeb libc6-dev-sparc64 libc6-i386 libc0.3-dev libc6-udeb libc6-dbg libc6.1-pic libc6-dev libc0.3-prof libc6-sparcv9 libc0.1-udeb libc6-dev-i386 libc6.1-prof libc0.1-dev locales libc6-pic libc0.3-udeb libc0.1-pic libc6-ppc64 libc0.3-dbg libc0.1-dbg libc6-amd64 libc0.1 libc6-prof libc6 libc6-sparcv9b libc6.1-udeb libc6.1-dbg nscd libc6-sparc64 libnss-dns-udeb libc6.1 libc6-dev-s390x
Architecture: source hppa all
Version: 2.3.6-2
Distribution: unstable
Urgency: low
Maintainer: GNU Libc Maintainers <debian-glibc@lists.debian.org>
Changed-By: Aurelien Jarno <aurel32@debian.org>
Description:
glibc-doc - GNU C Library: Documentation
libc6 - GNU C Library: Shared libraries and Timezone data
libc6-dbg - GNU C Library: Libraries with debugging symbols
libc6-dev - GNU C Library: Development Libraries and Header Files
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: 240901 274367 281863 289853 295855 320273 321580 323013 325226 325802 326581 328088 333565 339482 344836 345481 347762 351638 352263 352416 352500 352597 352636 353611 354074
Changes:
glibc (2.3.6-2) unstable; urgency=low
.
[ Denis Barbier ]
* Modify debver2localesdep.pl, locales-depver and control files to provide
a smooth upgrade in unstable when locales require changes in localedef.
This is the first part for solving #352620, the proper dependency for
locales will be set by the next upload.
* debian/control: Clean up. Remove versioned dependencies on gettext,
debianutils, tar, texinfo; these versions were already in oldstable.
Drop references to localebin, wg15-locale, i18ndata, locale-ja, locale-ko,
locale-vi, locale-zh, libc6-doc, glibcdoc and libc6 (<< 2.1-4).
* debian/control: Split Build-Depends on several lines for readability
purpose.
* Add RON to locale/iso-4217.def and bump LOCALES_COMPAT_VER to 2.3.6-2.
* Fix thousand separator for de_CH, and let other Swiss locales copy
de_CH for LC_NUMERIC and LC_MONETARY sections. (Closes: #345481)
* Apply a patch from Fedora to define AM/PM strings in cy_GB and en_GB
locales. (Closes: #240901)
* Fix the week definition for the C locale.
* Check first_weekday fields against current CLDR snapshot. Modified
locales are *_GB (=2), ar_SY (=5), ms_MY (=2), id_ID (=2). Add
this field to more locales.
* locale-gen: Replace 'test ... -a ...' by two tests.
* Add an "All locales" option to the locales/locales_to_be_generated
template. When it is selected, /etc/locale.gen is a symlink to
/usr/share/i18n/SUPPORTED. (Closes: #321580, #323013)
* Updated debconf translations: (Closes: #353611)
- Brazilian Portuguese, by André LuÃs Lopes (Closes: #352416)
- Czech, by Miroslav Kure
- Danish, by Morten Brix Pedersen
- Dutch, by Bart Cornelis
- French, by Denis Barbier
- German, by Helge Kreutzmann
- Polish, by Emilian Nowak
- Portuguese, by Simão Pedro Cardoso
- Spanish, by Carlos Valdivia Yagüe
- Swedish, by Daniel Nylander
- Ukrainian, by Eugeniy Meshcheryakov
.
[ Clint Adams ]
* Add hurd-getresuid-dyslexia.diff (fixes incorrect ordering of
arguments) with patch from Samuel Thibault. (Closes: #352500)
* Add hppa-no-ldbl-128.diff (stops implying that PA needs
128-bit long double support in glibc) from Aurelien Jarno.
(Closes: #344836).
* debian/local/manpages/locale.1: remove double quotes from
synopsis. (Closes: #352597)
.
[ Aurelien Jarno ]
* Move dependency on lib64gcc1 from libc6-amd64 to libc6-dev-amd64 to
avoid a dependency loop. (Closes: #352263)
* Use sed and test in /etc/init.d/glibc.sh to compare kernel versions.
Put the Debian architecture name in the script at build time instead
of using 'dpkg --print-architecture'. Thanks to Florent Bayle for
the idea. (Closes: #325802, #328088, #339482)
* Fix example code showing how to use hooks for malloc. (Closes:
bug#333565).
* Add hurd-ioctl-decode-argument.diff (fixes decoding of ioctl
arguments) from Samuel Thibault. (Closes: #320273)
* Fix the prototype of sbrk() in the manual. (Closes: #281863)
* Fix the strcasestr() examples in the manual. (Closes: #289853)
* Install libc_nonshared.a in /usr/lib/nptl, and fix the location
of the static libraries of the NPTL ld scripts. (Closes: #347762)
* Update debian/ files for GNU/kFreeBSD. (Closes: #351638)
* Regenerate debian/control, generate debian/control.in/libc0.1.
* Lintian cleans:
- Remove build-dependencies on tar and debianutils, they are
build-essential packages
- Fix FSF postal address
- Use policy compliant links in libc6-dev-amd64
- Use an absolute symlink for /lib64 on amd64
* Add myself to Uploaders.
* Switch to gcc-4.0 on powerpc.
* Remove old hack for gcc-3.4 on amd64.
* Build with the compiler defined as default for glibc (ie currently
gcc-4.0) instead of gcc on amd64.
* Decrease priorities of 64-bit main and -dev packages to standard
and optional for all architectures. It better matches override,
though it will still have to be changed.
* Fix glibc235-hppa-lt.diff (restore ret0 across calls to CDISABLE)
from Randolph Chung. (Closes: #326581)
* Switch to gcc-4.0 on hppa.
* Add support for extra_pkg_install hooks for udeb packages.
* Build back with -g1 on amd64, it was removed to permit the build with
gcc-3.4.
* Remove --with-tls and --with-__thread in sysdeps/* as they are the
default option since version 2.3.5.
* Multiarch support:
- Add ld-multiarch.diff (add (/usr)/lib/$(config-machine)-$(config-os))
to the search path of the dynamic linker) from Tollef Fog Heen.
(Closes: #295855)
- Add ldconfig-multiarch.diff (add directories pointed from /lib/ldconfig
to the search path).
- Create (/usr)/lib/$(config-machine)-$(config-os) and add symlinks to
these directories in /lib/ldconfig/
- Add rtld.diff (add a new configuration variable rtlddir to change the
dynamic linker in the ELF binaries) partly from Andreas Jochen. This is
necessary to be able to install a glibc in the multiarch dir while still
conforming to the various ABIs which specify a linker in /lib or /lib64.
* Remove the patch to install the libc into /lib instead of /lib64 on
amd64. Use the new libdir, slibdir and rtlddir options in configparm to
install the glibc in (/usr)/lib, and to use the dynamic linker path
specified by the ABI for path for libc objects. (Closes: #325226)
* Add -u option to the ldd manpage. (Closes: #354074)
* Merged a patch from Michael Bank to use gcc-4.0 on Hurd.
* Add resource_h.diff (RLIMIT_NICE and RLIMIT_RTPRIO support) from MAIN.
(Closes: #352636)
* Add hppa-inlining.diff (Increase the maximal overall growth of the
compilation unit caused by inlining for dl-reloc.c on hppa).
* Build a 32-bit libc on amd64, using the new multiarch directories.
(Closes: #274367)
Files:
2e6e4753291cf9df06c3ab87f7f1b28b 1969 libs required glibc_2.3.6-2.dsc
d52b76d6a8ae50204d430438891aaeaa 647842 libs required glibc_2.3.6-2.diff.gz
0934d909a591b9e01884bec78a7b16e0 3350798 doc optional glibc-doc_2.3.6-2_all.deb
9715e8a7b8177f7c44b798c36e2c32d6 3927872 libs standard locales_2.3.6-2_all.deb
f76c17b721418bbdf9c9c48779c894d0 4434228 libs required libc6_2.3.6-2_hppa.deb
1469e3531359c56205999b420328a4e3 2335596 libdevel standard libc6-dev_2.3.6-2_hppa.deb
7764a16c8b24b25a54aa8d3892e853c8 1851082 libdevel extra libc6-prof_2.3.6-2_hppa.deb
6de5dd47b86442df6005d6a55e84a3ae 1417056 libdevel optional libc6-pic_2.3.6-2_hppa.deb
4eff01b6a90065d461377ee6fdad1357 138794 admin optional nscd_2.3.6-2_hppa.deb
a7923d19f2478f18ee2cd10709733803 5959512 libdevel extra libc6-dbg_2.3.6-2_hppa.deb
d9e955ef6f60a574f356c5cdb74bf3fe 1052522 debian-installer extra libc6-udeb_2.3.6-2_hppa.udeb
ace711c0039b24850534f2ff1e526fb1 9638 debian-installer extra libnss-dns-udeb_2.3.6-2_hppa.udeb
30a1382095d45ccd44dea5711dc77ea7 19002 debian-installer extra libnss-files-udeb_2.3.6-2_hppa.udeb
Package-Type: udeb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFD/i6Yw3ao2vG823MRAjcOAJ0Qk3PSbXlhneTaohjmhurBfNt/ZQCfZb4t
wtW7XoqUK1quz0LlK5ZEWjU=
=kTwM
-----END PGP SIGNATURE-----
--- End Message ---