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

r4106 - in glibc-package/branches/eglibc-2.11/debian: . control.in debhelper.in local/manpages patches patches/hurd-i386 patches/kfreebsd patches/localedata rules.d sysdeps testsuite-checking



Author: schizo
Date: 2010-01-30 18:10:32 +0000 (Sat, 30 Jan 2010)
New Revision: 4106

Added:
   glibc-package/branches/eglibc-2.11/debian/libc6.symbols.sparc64
   glibc-package/branches/eglibc-2.11/debian/patches/localedata/locale-et_EE.diff
   glibc-package/branches/eglibc-2.11/debian/sysdeps/sparc64.mk
   glibc-package/branches/eglibc-2.11/debian/testsuite-checking/expected-results-i486-gnu-libc
   glibc-package/branches/eglibc-2.11/debian/testsuite-checking/expected-results-sparc64-linux-gnu-libc
   glibc-package/branches/eglibc-2.11/debian/testsuite-checking/expected-results-sparc64b-linux-gnu-sparcv9b
Modified:
   glibc-package/branches/eglibc-2.11/debian/changelog
   glibc-package/branches/eglibc-2.11/debian/control
   glibc-package/branches/eglibc-2.11/debian/control.in/libc
   glibc-package/branches/eglibc-2.11/debian/control.in/main
   glibc-package/branches/eglibc-2.11/debian/control.in/opt
   glibc-package/branches/eglibc-2.11/debian/debhelper.in/libc.postinst
   glibc-package/branches/eglibc-2.11/debian/local/manpages/gai.conf.5
   glibc-package/branches/eglibc-2.11/debian/patches/hurd-i386/local-_dl_random.diff
   glibc-package/branches/eglibc-2.11/debian/patches/hurd-i386/local-atomic-no-multiple_threads.diff
   glibc-package/branches/eglibc-2.11/debian/patches/hurd-i386/local-check_native.diff
   glibc-package/branches/eglibc-2.11/debian/patches/hurd-i386/local-dl-dynamic-weak.diff
   glibc-package/branches/eglibc-2.11/debian/patches/hurd-i386/local-gscope.diff
   glibc-package/branches/eglibc-2.11/debian/patches/hurd-i386/local-pthread-unsupported-stubs.diff
   glibc-package/branches/eglibc-2.11/debian/patches/hurd-i386/local-pthread_posix-option.diff
   glibc-package/branches/eglibc-2.11/debian/patches/hurd-i386/local-pthread_types.diff
   glibc-package/branches/eglibc-2.11/debian/patches/hurd-i386/local-thread-cancel.diff
   glibc-package/branches/eglibc-2.11/debian/patches/hurd-i386/local-tls-support.diff
   glibc-package/branches/eglibc-2.11/debian/patches/hurd-i386/local-unwind-resume.diff
   glibc-package/branches/eglibc-2.11/debian/patches/hurd-i386/submitted-ECANCELED.diff
   glibc-package/branches/eglibc-2.11/debian/patches/hurd-i386/submitted-IPV6_PKTINFO.diff
   glibc-package/branches/eglibc-2.11/debian/patches/hurd-i386/submitted-critical-sections.diff
   glibc-package/branches/eglibc-2.11/debian/patches/hurd-i386/submitted-dup2-fix.diff
   glibc-package/branches/eglibc-2.11/debian/patches/hurd-i386/submitted-extern_inline.diff
   glibc-package/branches/eglibc-2.11/debian/patches/hurd-i386/submitted-ioctl-unsigned-size_t.diff
   glibc-package/branches/eglibc-2.11/debian/patches/hurd-i386/submitted-sysvshm.diff
   glibc-package/branches/eglibc-2.11/debian/patches/kfreebsd/local-sysdeps.diff
   glibc-package/branches/eglibc-2.11/debian/patches/series
   glibc-package/branches/eglibc-2.11/debian/patches/series.hurd-i386
   glibc-package/branches/eglibc-2.11/debian/patches/series.kfreebsd-amd64
   glibc-package/branches/eglibc-2.11/debian/patches/series.kfreebsd-i386
   glibc-package/branches/eglibc-2.11/debian/rules.d/build.mk
   glibc-package/branches/eglibc-2.11/debian/rules.d/control.mk
   glibc-package/branches/eglibc-2.11/debian/sysdeps/hppa.mk
   glibc-package/branches/eglibc-2.11/debian/sysdeps/hurd.mk
   glibc-package/branches/eglibc-2.11/debian/sysdeps/mips.mk
   glibc-package/branches/eglibc-2.11/debian/sysdeps/sparc.mk
Log:
"merge" trunk changes into 2.11 branch

Modified: glibc-package/branches/eglibc-2.11/debian/changelog
===================================================================
--- glibc-package/branches/eglibc-2.11/debian/changelog	2010-01-26 10:17:12 UTC (rev 4105)
+++ glibc-package/branches/eglibc-2.11/debian/changelog	2010-01-30 18:10:32 UTC (rev 4106)
@@ -37,7 +37,6 @@
     debug/____longjmp_chk.S build on hurd-i386.
 
   [ Petr Salinger]
-  * kfreebsd/local-sysdeps.diff: update to revision 2941 (from glibc-bsd).
   * define __rtld_lock_initialize also in linuxthreads <bits/libc-lock.h>
     variant (enhance local-linuxthreads-weak.diff).
   * allow failure of tst-longjmp_chk.out on GNU/kFreeBSD
@@ -46,13 +45,128 @@
 
  -- Aurelien Jarno <aurel32@debian.org>  Mon, 18 Jan 2010 01:10:49 +0100
 
-eglibc (2.10.2-3) UNRELEASED; urgency=low
+eglibc (2.10.2-6) UNRELEASED; urgency=low
 
+  [ Aurelien Jarno ]
+  * kfreebsd/local-sysdeps.diff: update to revision 2957 (from glibc-bsd).
+  * Don't run the testsuite in parallel, as it sometimes causes some failures
+    in some tests.
+  * Add patches/any/cvs-malloc_info-init.diff to fix malloc_info() with no
+    malloc() done.  Closes: #562679.
+  * Add patches/sh4/submitted-set_fpscr.diff to add __set_fpscr() prototype.
+    Closes: #565369.
+  * debian/rules.d/build.mk: Add --with-pkgversion and --with-bugurl
+    arguments.
+
+  [ Samuel Thibault ]
+  * patches/hurd-i386/local-pthread.diff: New hurd-only patch to provide
+    LIBPTHREAD_SO and disable nscd.
+  * patches/hurd-i386/local-pthread_posix-option.diff: Tell glibc Makefiles that
+    we have a libpthread.
+  * testsuite-checking/expected-results-i486-linux-gnu-libc: Update results.
+  * patches/hurd-i386/submitted-posix_opt.h.diff: Update.
+  * patches/hurd-i386/submitted-sysvshm.diff: Resync.
+  * patches/hurd-i386/submitted-net.diff: New patch to factorize net/ files
+    between Linux and Hurd.
+
+ -- Aurelien Jarno <aurel32@debian.org>  Sat, 23 Jan 2010 18:27:05 +0100
+
+eglibc (2.10.2-5) unstable; urgency=low
+
+  [ Petr Salinger]
+  * Update kfreebsd/local-no-SOCK_NONBLOCK.diff to cvs-resolv-* changes.
+    Move it into any/local-no-SOCK_NONBLOCK.diff, as it is used also on hurd.
+    Closes: #564008.
+
+  [ Samuel Thibault ]
+  * patches/hurd-i386/submitted-posix_opt.h.diff: New patch to update standard
+    macros in posix_opt.h.
+  * patches/hurd-i386/local-pthread_posix-option.diff: Refresh and update
+    standard macros in posix_opt.h.
+  * patches/hurd-i386/submitted-sysvshm.diff: Add standard macro _XOPEN_SHM in
+    posix_opt.h.
+  * patches/hurd-i386/local-tls-support.diff: Use kern_return_t instead of
+    error_t to avoid a dependency on a GNU-specific type.
+  * patches/hurd-i386/submitted-getcwd.diff: renamed to cvs-getcwd.diff since
+    merged upstream.
+  * patches/hurd-i386/submitted-setsid.diff: renamed to cvs-setsid.diff since
+    merged upstream.
+
+  [ Aurelien Jarno ]
+  * Fix sparc64 build.
+
+ -- Aurelien Jarno <aurel32@debian.org>  Thu, 07 Jan 2010 20:57:49 +0100
+
+eglibc (2.10.2-4) unstable; urgency=low
+
+  [ Samuel Thibault ]
+  * testsuite-checking/expected-results-i486-linux-gnu-libc: Add
+    tst-atime.out failure.
+
+  [ Aurelien Jarno ]
+  * Also build a libc6-sparcv9b package on sparc64.
+  * Disable debian/patches/any/cvs-futimens.diff. Addresses: #563726,
+    #563754.
+  * Add debian/patches/localedata/locale-et_EE.diff to change weekday
+    and workday to Monday.  Closes: #563636.
+  * Add debian/patches/any/cvs-resolv-init.diff to fix mixing IPv4 and
+    IPv6 name server in resolv.conf.
+  * Add debian/patches/any/cvs-resolv-uninitialized.diff to fix an
+    uninitialized variable in resolv code.
+  * Add debian/patches/any/cvs-resolv-bindv6only.diff to not use
+    IPV4-mapped addresses in the resolver code.  Closes: #563552.
+  * Add debian/patches/any/cvs-resolv-edns0.diff to handle overly large
+    answer buffers in resolver.
+  * Add debian/patches/any/cvs-resolv-v6mapped.diff to fix lookup failure
+    with IPv6 mapping enabled and big answers.  Closes: #558984.
+  * Add debian/patches/any/submitted-nis-shadow.diff to remove encrypted
+    passwords from passwd entries, and add them in shadow entries.
+    Closes: #560333.
+
+  [ Petr Salinger]
+  * kfreebsd/local-sysdeps.diff: update to revision 2907 (from glibc-bsd).
+
+ -- Aurelien Jarno <aurel32@debian.org>  Wed, 06 Jan 2010 22:18:19 +0100
+
+eglibc (2.10.2-3) unstable; urgency=low
+
+  [ Aurelien Jarno ]
+  * Update from the latest SVN, branch eglibc-2_11:
+    - Remove any/cvs-malloc-check.diff (merged upstream).
   * debhelper.in/libc.postinst: also restart incron on upgrade.  Closes:
     #557801.
+  * debhelper.in/libc.postinst: restart the services instead of stopping
+    them and then starting them again.  Closes: #211784.
+  * Use gcc/g++-4.4 on hppa, hurd-i386, mips and mipsel.
+  * Mention EGLIBC in packages description.  Closes: #559121.
+  * Add support for sparc64 architecture.
+  * debian/sysdeps/mips.mk, debian/sysdeps/mipsel.mk: remove hack to support
+    buildds kernels now that they have been upgraded.
+  * debian/control.in/main: add a Homepage: pseudo header.  Closes: #561034.
+  * debian/local/manpages/gai.conf.5: fix a typo.  Closes: #560144.
+  * Replace debian/any/submitted-nis-not-configured.diff by upstream patch
+    debian/any/cvs-nis-not-configured.diff.
+  * Add debian/patches/any/local-ntp-update.diff to partially update the NTP
+    API, backported from upstream.  Closes: #559482.
+  * Add debian/patches/any/cvs-malloc_info-output.diff from upstream to fix
+    malloc_info() output.  Closes: #562678.
+  * Add debian/patches/any/cvs-futimens.diff from upstream to correctly handle
+    AT_FDCWD in futimens().
 
- -- Aurelien Jarno <aurel32@debian.org>  Tue, 24 Nov 2009 16:09:58 +0100
+  [ Samuel Thibault ]
+  * testsuite-checking/expected-results-i486-linux-gnu-libc: Add hurd-i386
+    testsuite results.
+  * sysdeps/hurd.mk: Enable testsuite.
+  * patches/hurd-i386/submitted-getcwd.diff: Add patch to fix duplicate port
+    deallocation.
+  * patches/hurd-i386/submitted-setsid.diff: Add patch to fix bogus port
+    deallocation.
 
+  [ Petr Salinger]
+  * kfreebsd/local-sysdeps.diff: update to revision 2904 (from glibc-bsd).
+
+ -- Aurelien Jarno <aurel32@debian.org>  Sat, 02 Jan 2010 13:07:44 +0100
+
 eglibc (2.10.2-2) unstable; urgency=low
 
   [ Carlos O'Donell]
@@ -97,7 +211,7 @@
     patches/any/cvs-sched_h.diff.
   * Use gcc/g++-4.4 on sparc.
   * patches/any/submitted-nis-not-configured.diff: fix getaddrinfo() if
-    NIS is not configured.  Closes: #556600.
+    NIS is not configured. Fixes CVE-2010-0015.  Closes: #556600.
   * patches/any/submitted-getaddrinfo-nodata.diff: new patch from Michael
     Stone to fix getaddrinfo() if a plugin returns TRY_AGAIN or NO_DATA.
     Closes: #557596.

Modified: glibc-package/branches/eglibc-2.11/debian/control
===================================================================
--- glibc-package/branches/eglibc-2.11/debian/control	2010-01-26 10:17:12 UTC (rev 4105)
+++ glibc-package/branches/eglibc-2.11/debian/control	2010-01-30 18:10:32 UTC (rev 4106)
@@ -7,14 +7,15 @@
  mig (>= 1.3-2) [hurd-i386], hurd-dev (>= 20080607-3) [hurd-i386], gnumach-dev [hurd-i386], libpthread-stubs0-dev [hurd-i386],
  kfreebsd-kernel-headers [kfreebsd-i386 kfreebsd-amd64],
  binutils (>= 2.17cvs20070426), binutils (>= 2.20-3) [mips mipsel],
- g++-4.4 (>= 4.4.2-2) [!i386 !hppa !mips !mipsel !hurd-i386], g++-4.4-multilib [amd64 kfreebsd-amd64 powerpc ppc64 s390 sparc],
- g++-4.3 [hppa i386 mips mipsel hurd-i386], g++-4.3-multilib [i386 mips mipsel],
+ g++-4.4 (>= 4.4.2-2) [!i386], g++-4.4-multilib [amd64 kfreebsd-amd64 mips mipsel powerpc ppc64 s390 sparc],
+ g++-4.3 [i386], g++-4.3-multilib [i386],
 Build-Depends-Indep: perl, po-debconf (>= 1.0)
 Maintainer: GNU Libc Maintainers <debian-glibc@lists.debian.org>
 Uploaders: GOTO Masanori <gotom@debian.org>, Philip Blundell <pb@nexus.co.uk>, Jeff Bailey <jbailey@raspberryginger.com>, Daniel Jacobowitz <dan@debian.org>, Clint Adams <schizo@debian.org>, Aurelien Jarno <aurel32@debian.org>, Pierre Habouzit <madcoder@debian.org>
 Standards-Version: 3.8.3
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-glibc/glibc-package/
 Vcs-Svn: svn://svn.debian.org/pkg-glibc/glibc-package/
+Homepage: http://www.eglibc.org
 
 Package: libc-bin
 Architecture: any
@@ -22,7 +23,7 @@
 Priority: required
 Breaks: libc0.1 (<< 2.10), libc0.3 (<< 2.10), libc6 (<< 2.10), libc6.1 (<< 2.10)
 Replaces: libc0.1, libc0.3, libc6, libc6.1
-Description: GNU C Library: Binaries
+Description: Embedded GNU C Library: Binaries
  This package contains utility programs related to the GNU C Library.
  .
   * catchsegv: catch segmentation faults in programs
@@ -41,7 +42,7 @@
 Depends: ${shlibs:Depends}
 Recommends: manpages-dev
 Replaces: libc0.1-dev, libc0.3-dev, libc6-dev, libc6.1-dev
-Description: GNU C Library: Development binaries
+Description: Embedded GNU C Library: Development binaries
  This package contains utility programs related to the GNU C Library
  development package.
 
@@ -50,7 +51,7 @@
 Section: doc
 Priority: optional
 Suggests: glibc-doc-reference
-Description: GNU C Library: Documentation
+Description: Embedded GNU C Library: Documentation
  Contains man pages for libpthread functions and the complete GNU C Library
  ChangeLog.  The GNU C Library Reference manual has been moved into
  glibc-doc-reference for licensing reasons.
@@ -71,7 +72,7 @@
 Depends: ${locale:Depends}, debconf | debconf-2.0
 Conflicts: base-config, belocs-locales-bin, belocs-locales-data
 Replaces: base-config, lliurex-belocs-locales-data
-Description: GNU C Library: National Language (locale) data [support]
+Description: Embedded GNU C Library: National Language (locale) data [support]
  Machine-readable data files, shared objects and programs used by the
  C library for localization (l10n) and internationalization (i18n) support.
  .
@@ -88,7 +89,7 @@
 Priority: extra
 Depends: ${locale:Depends}, lzma
 Provides: locales
-Description: GNU C Library: Precompiled locale data
+Description: Embedded GNU C Library: Precompiled locale data
  This package contains the precompiled locale data for all supported locales.
  A better alternative is to install the locales package and only select
  desired locales, but it can be useful on a low-memory machine because some
@@ -99,14 +100,14 @@
 Section: admin
 Priority: optional
 Depends: ${shlibs:Depends}
-Description: GNU C Library: Name Service Cache Daemon
+Description: Embedded GNU C Library: Name Service Cache Daemon
  A daemon which handles passwd, group and host lookups
  for running programs and caches the results for the next
  query. You should install this package only if you use
  slow Services like LDAP, NIS or NIS+
 
 Package: libc6
-Architecture: amd64 arm armeb armel i386 m32r m68k mips mipsel powerpc ppc64 sparc s390 hppa sh3 sh4 sh3eb sh4eb
+Architecture: amd64 arm armeb armel i386 m32r m68k mips mipsel powerpc ppc64 sparc sparc64 s390 hppa sh3 sh4 sh3eb sh4eb
 Section: libs
 Priority: required
 Depends: libc-bin (= ${binary:Version}), hurd (>= 20070606-1+SVN) [hurd-i386], libgcc1 [!hppa !m68k], libgcc2 [m68k], libgcc4 [hppa]
@@ -115,13 +116,13 @@
 Provides: ${locale-compat:Depends}
 Conflicts: tzdata-etch, tzdata (<< 2007k-1)
 Breaks: nscd (<< 2.9)
-Description: GNU C Library: Shared libraries
+Description: Embedded GNU C Library: Shared libraries
  Contains the standard libraries that are used by nearly all programs on
  the system. This package includes shared versions of the standard C library
  and the standard math library, as well as many others.
 
 Package: libc6-dev
-Architecture: amd64 arm armeb armel i386 m32r m68k mips mipsel powerpc ppc64 sparc s390 hppa sh3 sh4 sh3eb sh4eb
+Architecture: amd64 arm armeb armel i386 m32r m68k mips mipsel powerpc ppc64 sparc sparc64 s390 hppa sh3 sh4 sh3eb sh4eb
 Section: libdevel
 Priority: optional
 Depends: libc6 (= ${binary:Version}), libc-dev-bin (= ${binary:Version}), linux-libc-dev [linux-any], kfreebsd-kernel-headers (>= 0.11) [kfreebsd-any], gnumach-dev [hurd-i386], hurd-dev (>= 20080607-3) [hurd-i386], libpthread-stubs0-dev [hurd-i386]
@@ -129,37 +130,37 @@
 Suggests: glibc-doc, manpages-dev
 Provides: libc-dev, libc6-dev [alpha ia64 hurd-i386 kfreebsd-i386 kfreebsd-amd64]
 Conflicts: binutils (<< 2.17cvs20070426-1)
-Description: GNU C Library: Development Libraries and Header Files
+Description: Embedded GNU C Library: Development Libraries and Header Files
  Contains the symlinks, headers, and object files needed to compile
  and link programs which use the standard C library.
 
 Package: libc6-dbg
-Architecture: amd64 arm armeb armel i386 m32r m68k mips mipsel powerpc ppc64 sparc s390 hppa sh3 sh4 sh3eb sh4eb
+Architecture: amd64 arm armeb armel i386 m32r m68k mips mipsel powerpc ppc64 sparc sparc64 s390 hppa sh3 sh4 sh3eb sh4eb
 Section: debug
 Priority: extra
 Provides: libc-dbg
 Depends: libc6 (= ${binary:Version})
-Description: GNU C Library: detached debugging symbols
+Description: Embedded GNU C Library: detached debugging symbols
  This package contains the detached debugging symbols for the GNU C
  library.
 
 Package: libc6-prof
-Architecture: amd64 arm armeb armel i386 m32r m68k mips mipsel powerpc ppc64 sparc s390 hppa sh3 sh4 sh3eb sh4eb
+Architecture: amd64 arm armeb armel i386 m32r m68k mips mipsel powerpc ppc64 sparc sparc64 s390 hppa sh3 sh4 sh3eb sh4eb
 Section: libdevel
 Priority: extra
 Depends: libc6 (= ${binary:Version})
-Description: GNU C Library: Profiling Libraries
+Description: Embedded GNU C Library: Profiling Libraries
  Static libraries compiled with profiling info (-pg) suitable for use
  with gprof.
 
 Package: libc6-pic
-Architecture: amd64 arm armeb armel i386 m32r m68k mips mipsel powerpc ppc64 sparc s390 hppa sh3 sh4 sh3eb sh4eb
+Architecture: amd64 arm armeb armel i386 m32r m68k mips mipsel powerpc ppc64 sparc sparc64 s390 hppa sh3 sh4 sh3eb sh4eb
 Section: libdevel
 Priority: optional
 Conflicts: libc-pic
 Provides: libc-pic, glibc-pic
 Depends: libc6 (= ${binary:Version})
-Description: GNU C Library: PIC archive library
+Description: Embedded GNU C Library: PIC archive library
  Contains an archive library (ar file) composed of individual shared objects.
  This is used for creating a library which is a smaller subset of the
  standard libc shared library. The reduced library is used on the Debian
@@ -168,11 +169,11 @@
 
 Package: libc6-udeb
 XC-Package-Type: udeb
-Architecture: amd64 arm armeb armel i386 m32r m68k mips mipsel powerpc ppc64 sparc s390 hppa sh3 sh4 sh3eb sh4eb
+Architecture: amd64 arm armeb armel i386 m32r m68k mips mipsel powerpc ppc64 sparc sparc64 s390 hppa sh3 sh4 sh3eb sh4eb
 Section: debian-installer
 Priority: extra
 Provides: libc6, libc-udeb, ${locale-compat:Depends}
-Description: GNU C Library: Shared libraries - udeb
+Description: Embedded GNU C Library: Shared libraries - udeb
  Contains the standard libraries that are used by nearly all programs on
  the system. This package includes shared versions of the standard C library
  and the standard math library, as well as many others.
@@ -190,7 +191,7 @@
 Provides: ${locale-compat:Depends}
 Conflicts: tzdata-etch, tzdata (<< 2007k-1)
 Breaks: nscd (<< 2.9)
-Description: GNU C Library: Shared libraries
+Description: Embedded GNU C Library: Shared libraries
  Contains the standard libraries that are used by nearly all programs on
  the system. This package includes shared versions of the standard C library
  and the standard math library, as well as many others.
@@ -204,7 +205,7 @@
 Suggests: glibc-doc, manpages-dev
 Provides: libc-dev, libc6-dev [alpha ia64 hurd-i386 kfreebsd-i386 kfreebsd-amd64]
 Conflicts: binutils (<< 2.17cvs20070426-1)
-Description: GNU C Library: Development Libraries and Header Files
+Description: Embedded GNU C Library: Development Libraries and Header Files
  Contains the symlinks, headers, and object files needed to compile
  and link programs which use the standard C library.
 
@@ -214,7 +215,7 @@
 Priority: extra
 Provides: libc-dbg
 Depends: libc6.1 (= ${binary:Version})
-Description: GNU C Library: detached debugging symbols
+Description: Embedded GNU C Library: detached debugging symbols
  This package contains the detached debugging symbols for the GNU C
  library.
 
@@ -223,7 +224,7 @@
 Section: libdevel
 Priority: extra
 Depends: libc6.1 (= ${binary:Version})
-Description: GNU C Library: Profiling Libraries
+Description: Embedded GNU C Library: Profiling Libraries
  Static libraries compiled with profiling info (-pg) suitable for use
  with gprof.
 
@@ -234,7 +235,7 @@
 Conflicts: libc-pic
 Provides: libc-pic, glibc-pic
 Depends: libc6.1 (= ${binary:Version})
-Description: GNU C Library: PIC archive library
+Description: Embedded GNU C Library: PIC archive library
  Contains an archive library (ar file) composed of individual shared objects.
  This is used for creating a library which is a smaller subset of the
  standard libc shared library. The reduced library is used on the Debian
@@ -247,7 +248,7 @@
 Section: debian-installer
 Priority: extra
 Provides: libc6.1, libc-udeb, ${locale-compat:Depends}
-Description: GNU C Library: Shared libraries - udeb
+Description: Embedded GNU C Library: Shared libraries - udeb
  Contains the standard libraries that are used by nearly all programs on
  the system. This package includes shared versions of the standard C library
  and the standard math library, as well as many others.
@@ -265,7 +266,7 @@
 Provides: ${locale-compat:Depends}
 Conflicts: tzdata-etch, tzdata (<< 2007k-1)
 Breaks: nscd (<< 2.9)
-Description: GNU C Library: Shared libraries
+Description: Embedded GNU C Library: Shared libraries
  Contains the standard libraries that are used by nearly all programs on
  the system. This package includes shared versions of the standard C library
  and the standard math library, as well as many others.
@@ -279,7 +280,7 @@
 Suggests: glibc-doc, manpages-dev
 Provides: libc-dev, libc6-dev [alpha ia64 hurd-i386 kfreebsd-i386 kfreebsd-amd64]
 Conflicts: binutils (<< 2.17cvs20070426-1)
-Description: GNU C Library: Development Libraries and Header Files
+Description: Embedded GNU C Library: Development Libraries and Header Files
  Contains the symlinks, headers, and object files needed to compile
  and link programs which use the standard C library.
 
@@ -289,7 +290,7 @@
 Priority: extra
 Provides: libc-dbg
 Depends: libc0.3 (= ${binary:Version})
-Description: GNU C Library: detached debugging symbols
+Description: Embedded GNU C Library: detached debugging symbols
  This package contains the detached debugging symbols for the GNU C
  library.
 
@@ -298,7 +299,7 @@
 Section: libdevel
 Priority: extra
 Depends: libc0.3 (= ${binary:Version})
-Description: GNU C Library: Profiling Libraries
+Description: Embedded GNU C Library: Profiling Libraries
  Static libraries compiled with profiling info (-pg) suitable for use
  with gprof.
 
@@ -309,7 +310,7 @@
 Conflicts: libc-pic
 Provides: libc-pic, glibc-pic
 Depends: libc0.3 (= ${binary:Version})
-Description: GNU C Library: PIC archive library
+Description: Embedded GNU C Library: PIC archive library
  Contains an archive library (ar file) composed of individual shared objects.
  This is used for creating a library which is a smaller subset of the
  standard libc shared library. The reduced library is used on the Debian
@@ -322,7 +323,7 @@
 Section: debian-installer
 Priority: extra
 Provides: libc0.3, libc-udeb, ${locale-compat:Depends}
-Description: GNU C Library: Shared libraries - udeb
+Description: Embedded GNU C Library: Shared libraries - udeb
  Contains the standard libraries that are used by nearly all programs on
  the system. This package includes shared versions of the standard C library
  and the standard math library, as well as many others.
@@ -340,7 +341,7 @@
 Provides: ${locale-compat:Depends}
 Conflicts: tzdata-etch, tzdata (<< 2007k-1)
 Breaks: nscd (<< 2.9)
-Description: GNU C Library: Shared libraries
+Description: Embedded GNU C Library: Shared libraries
  Contains the standard libraries that are used by nearly all programs on
  the system. This package includes shared versions of the standard C library
  and the standard math library, as well as many others.
@@ -354,7 +355,7 @@
 Suggests: glibc-doc, manpages-dev
 Provides: libc-dev, libc6-dev [alpha ia64 hurd-i386 kfreebsd-i386 kfreebsd-amd64]
 Conflicts: binutils (<< 2.17cvs20070426-1)
-Description: GNU C Library: Development Libraries and Header Files
+Description: Embedded GNU C Library: Development Libraries and Header Files
  Contains the symlinks, headers, and object files needed to compile
  and link programs which use the standard C library.
 
@@ -364,7 +365,7 @@
 Priority: extra
 Provides: libc-dbg
 Depends: libc0.1 (= ${binary:Version})
-Description: GNU C Library: detached debugging symbols
+Description: Embedded GNU C Library: detached debugging symbols
  This package contains the detached debugging symbols for the GNU C
  library.
 
@@ -373,7 +374,7 @@
 Section: libdevel
 Priority: extra
 Depends: libc0.1 (= ${binary:Version})
-Description: GNU C Library: Profiling Libraries
+Description: Embedded GNU C Library: Profiling Libraries
  Static libraries compiled with profiling info (-pg) suitable for use
  with gprof.
 
@@ -384,7 +385,7 @@
 Conflicts: libc-pic
 Provides: libc-pic, glibc-pic
 Depends: libc0.1 (= ${binary:Version})
-Description: GNU C Library: PIC archive library
+Description: Embedded GNU C Library: PIC archive library
  Contains an archive library (ar file) composed of individual shared objects.
  This is used for creating a library which is a smaller subset of the
  standard libc shared library. The reduced library is used on the Debian
@@ -397,7 +398,7 @@
 Section: debian-installer
 Priority: extra
 Provides: libc0.1, libc-udeb, ${locale-compat:Depends}
-Description: GNU C Library: Shared libraries - udeb
+Description: Embedded GNU C Library: Shared libraries - udeb
  Contains the standard libraries that are used by nearly all programs on
  the system. This package includes shared versions of the standard C library
  and the standard math library, as well as many others.
@@ -610,7 +611,7 @@
  library, meant for AMD64 systems.
 
 Package: libc6-sparcv9b
-Architecture: sparc
+Architecture: sparc sparc64
 Section: libs
 Priority: extra
 Pre-Depends: libc6 (= ${binary:Version})

Modified: glibc-package/branches/eglibc-2.11/debian/control.in/libc
===================================================================
--- glibc-package/branches/eglibc-2.11/debian/control.in/libc	2010-01-26 10:17:12 UTC (rev 4105)
+++ glibc-package/branches/eglibc-2.11/debian/control.in/libc	2010-01-30 18:10:32 UTC (rev 4106)
@@ -8,7 +8,7 @@
 Provides: ${locale-compat:Depends}
 Conflicts: tzdata-etch, tzdata (<< 2007k-1)
 Breaks: nscd (<< 2.9)
-Description: GNU C Library: Shared libraries
+Description: Embedded GNU C Library: Shared libraries
  Contains the standard libraries that are used by nearly all programs on
  the system. This package includes shared versions of the standard C library
  and the standard math library, as well as many others.
@@ -22,7 +22,7 @@
 Suggests: glibc-doc, manpages-dev
 Provides: libc-dev, libc6-dev [alpha ia64 hurd-i386 kfreebsd-i386 kfreebsd-amd64]
 Conflicts: binutils (<< 2.17cvs20070426-1)
-Description: GNU C Library: Development Libraries and Header Files
+Description: Embedded GNU C Library: Development Libraries and Header Files
  Contains the symlinks, headers, and object files needed to compile
  and link programs which use the standard C library.
 
@@ -32,7 +32,7 @@
 Priority: extra
 Provides: libc-dbg
 Depends: @libc@ (= ${binary:Version})
-Description: GNU C Library: detached debugging symbols
+Description: Embedded GNU C Library: detached debugging symbols
  This package contains the detached debugging symbols for the GNU C
  library.
 
@@ -41,7 +41,7 @@
 Section: libdevel
 Priority: extra
 Depends: @libc@ (= ${binary:Version})
-Description: GNU C Library: Profiling Libraries
+Description: Embedded GNU C Library: Profiling Libraries
  Static libraries compiled with profiling info (-pg) suitable for use
  with gprof.
 
@@ -52,7 +52,7 @@
 Conflicts: libc-pic
 Provides: libc-pic, glibc-pic
 Depends: @libc@ (= ${binary:Version})
-Description: GNU C Library: PIC archive library
+Description: Embedded GNU C Library: PIC archive library
  Contains an archive library (ar file) composed of individual shared objects.
  This is used for creating a library which is a smaller subset of the
  standard libc shared library. The reduced library is used on the Debian
@@ -65,7 +65,7 @@
 Section: debian-installer
 Priority: extra
 Provides: @libc@, libc-udeb, ${locale-compat:Depends}
-Description: GNU C Library: Shared libraries - udeb
+Description: Embedded GNU C Library: Shared libraries - udeb
  Contains the standard libraries that are used by nearly all programs on
  the system. This package includes shared versions of the standard C library
  and the standard math library, as well as many others.

Modified: glibc-package/branches/eglibc-2.11/debian/control.in/main
===================================================================
--- glibc-package/branches/eglibc-2.11/debian/control.in/main	2010-01-26 10:17:12 UTC (rev 4105)
+++ glibc-package/branches/eglibc-2.11/debian/control.in/main	2010-01-30 18:10:32 UTC (rev 4106)
@@ -7,14 +7,15 @@
  mig (>= 1.3-2) [hurd-i386], hurd-dev (>= 20080607-3) [hurd-i386], gnumach-dev [hurd-i386], libpthread-stubs0-dev [hurd-i386],
  kfreebsd-kernel-headers [kfreebsd-i386 kfreebsd-amd64],
  binutils (>= 2.17cvs20070426), binutils (>= 2.20-3) [mips mipsel],
- g++-4.4 (>= 4.4.2-2) [!i386 !hppa !mips !mipsel !hurd-i386], g++-4.4-multilib [amd64 kfreebsd-amd64 powerpc ppc64 s390 sparc],
- g++-4.3 [hppa i386 mips mipsel hurd-i386], g++-4.3-multilib [i386 mips mipsel],
+ g++-4.4 (>= 4.4.2-2) [!i386], g++-4.4-multilib [amd64 kfreebsd-amd64 mips mipsel powerpc ppc64 s390 sparc],
+ g++-4.3 [i386], g++-4.3-multilib [i386]
 Build-Depends-Indep: perl, po-debconf (>= 1.0)
 Maintainer: GNU Libc Maintainers <debian-glibc@lists.debian.org>
 Uploaders: GOTO Masanori <gotom@debian.org>, Philip Blundell <pb@nexus.co.uk>, Jeff Bailey <jbailey@raspberryginger.com>, Daniel Jacobowitz <dan@debian.org>, Clint Adams <schizo@debian.org>, Aurelien Jarno <aurel32@debian.org>, Pierre Habouzit <madcoder@debian.org>
 Standards-Version: 3.8.3
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-glibc/glibc-package/
 Vcs-Svn: svn://svn.debian.org/pkg-glibc/glibc-package/
+Homepage: http://www.eglibc.org
 
 Package: libc-bin
 Architecture: any
@@ -22,7 +23,7 @@
 Priority: required
 Breaks: libc0.1 (<< 2.10), libc0.3 (<< 2.10), libc6 (<< 2.10), libc6.1 (<< 2.10)
 Replaces: libc0.1, libc0.3, libc6, libc6.1
-Description: GNU C Library: Binaries
+Description: Embedded GNU C Library: Binaries
  This package contains utility programs related to the GNU C Library.
  .
   * catchsegv: catch segmentation faults in programs
@@ -41,7 +42,7 @@
 Depends: ${shlibs:Depends}
 Recommends: manpages-dev
 Replaces: libc0.1-dev, libc0.3-dev, libc6-dev, libc6.1-dev
-Description: GNU C Library: Development binaries
+Description: Embedded GNU C Library: Development binaries
  This package contains utility programs related to the GNU C Library
  development package.
 
@@ -50,7 +51,7 @@
 Section: doc
 Priority: optional
 Suggests: glibc-doc-reference
-Description: GNU C Library: Documentation
+Description: Embedded GNU C Library: Documentation
  Contains man pages for libpthread functions and the complete GNU C Library
  ChangeLog.  The GNU C Library Reference manual has been moved into
  glibc-doc-reference for licensing reasons.
@@ -71,7 +72,7 @@
 Depends: ${locale:Depends}, debconf | debconf-2.0
 Conflicts: base-config, belocs-locales-bin, belocs-locales-data
 Replaces: base-config, lliurex-belocs-locales-data
-Description: GNU C Library: National Language (locale) data [support]
+Description: Embedded GNU C Library: National Language (locale) data [support]
  Machine-readable data files, shared objects and programs used by the
  C library for localization (l10n) and internationalization (i18n) support.
  .
@@ -88,7 +89,7 @@
 Priority: extra
 Depends: ${locale:Depends}, lzma
 Provides: locales
-Description: GNU C Library: Precompiled locale data
+Description: Embedded GNU C Library: Precompiled locale data
  This package contains the precompiled locale data for all supported locales.
  A better alternative is to install the locales package and only select
  desired locales, but it can be useful on a low-memory machine because some
@@ -99,7 +100,7 @@
 Section: admin
 Priority: optional
 Depends: ${shlibs:Depends}
-Description: GNU C Library: Name Service Cache Daemon
+Description: Embedded GNU C Library: Name Service Cache Daemon
  A daemon which handles passwd, group and host lookups
  for running programs and caches the results for the next
  query. You should install this package only if you use

Modified: glibc-package/branches/eglibc-2.11/debian/control.in/opt
===================================================================
--- glibc-package/branches/eglibc-2.11/debian/control.in/opt	2010-01-26 10:17:12 UTC (rev 4105)
+++ glibc-package/branches/eglibc-2.11/debian/control.in/opt	2010-01-30 18:10:32 UTC (rev 4106)
@@ -1,5 +1,5 @@
 Package: libc6-sparcv9b
-Architecture: sparc
+Architecture: sparc sparc64
 Section: libs
 Priority: extra
 Pre-Depends: libc6 (= ${binary:Version})

Modified: glibc-package/branches/eglibc-2.11/debian/debhelper.in/libc.postinst
===================================================================
--- glibc-package/branches/eglibc-2.11/debian/debhelper.in/libc.postinst	2010-01-26 10:17:12 UTC (rev 4105)
+++ glibc-package/branches/eglibc-2.11/debian/debhelper.in/libc.postinst	2010-01-30 18:10:32 UTC (rev 4106)
@@ -167,11 +167,8 @@
 				fi
 				;;
 			    *)
-				echo -n "  $service: stopping..."
-				$idl stop > /dev/null 2>&1 || true
-				sleep 2
-				echo -n "starting..."
-				if $idl start > /dev/null 2>&1; then
+				echo -n "  $service: restarting..."
+				if $idl restart > /dev/null 2>&1; then
 				    echo "done."
 				else
 				    echo "FAILED! ($?)"

Added: glibc-package/branches/eglibc-2.11/debian/libc6.symbols.sparc64
===================================================================
--- glibc-package/branches/eglibc-2.11/debian/libc6.symbols.sparc64	                        (rev 0)
+++ glibc-package/branches/eglibc-2.11/debian/libc6.symbols.sparc64	2010-01-30 18:10:32 UTC (rev 4106)
@@ -0,0 +1,9 @@
+#include "libc6.symbols.common"
+ld-linux.so.2 libc6 #MINVER#
+| libc6 (>> 2.10), libc6 (<< 2.11)
+ *@GLIBC_PRIVATE 0 1
+#include "symbols.wildcards"
+libc.so.6 libc6 #MINVER#
+| libc6 (>> 2.10), libc6 (<< 2.11)
+ *@GLIBC_PRIVATE 0 1
+#include "symbols.wildcards"

Modified: glibc-package/branches/eglibc-2.11/debian/local/manpages/gai.conf.5
===================================================================
--- glibc-package/branches/eglibc-2.11/debian/local/manpages/gai.conf.5	2010-01-26 10:17:12 UTC (rev 4105)
+++ glibc-package/branches/eglibc-2.11/debian/local/manpages/gai.conf.5	2010-01-30 18:10:32 UTC (rev 4106)
@@ -26,7 +26,7 @@
 .BR getaddrinfo (3)
 might return multiple answers.  According to RFC 3484 these answers must
 be sorted so that the answer with the highest success rate is first in
-the list.  The RFC provides and algorithm for the sorting.  The static
+the list.  The RFC provides an algorithm for the sorting.  The static
 rules are not always adequate, though.  For this reason the RFC also
 requires that system administrators get the chance to dynamically change
 the sorting.  For the glibc implementation this can be achieved with

Modified: glibc-package/branches/eglibc-2.11/debian/patches/hurd-i386/local-_dl_random.diff
===================================================================
--- glibc-package/branches/eglibc-2.11/debian/patches/hurd-i386/local-_dl_random.diff	2010-01-26 10:17:12 UTC (rev 4105)
+++ glibc-package/branches/eglibc-2.11/debian/patches/hurd-i386/local-_dl_random.diff	2010-01-30 18:10:32 UTC (rev 4106)
@@ -1,3 +1,5 @@
+Add dummy _dl_random.
+
 ---
  dl-sysdep.c |    1 +
  1 file changed, 1 insertion(+)

Modified: glibc-package/branches/eglibc-2.11/debian/patches/hurd-i386/local-atomic-no-multiple_threads.diff
===================================================================
--- glibc-package/branches/eglibc-2.11/debian/patches/hurd-i386/local-atomic-no-multiple_threads.diff	2010-01-26 10:17:12 UTC (rev 4105)
+++ glibc-package/branches/eglibc-2.11/debian/patches/hurd-i386/local-atomic-no-multiple_threads.diff	2010-01-30 18:10:32 UTC (rev 4106)
@@ -1,6 +1,10 @@
 On the Hurd we always at least start the sigthread anyway.  Let's avoid forking
 the file (which would mean having to maintain it)
 
+---
+ atomic.h |  107 +++++++++++++++++++++------------------------------------------
+ 1 file changed, 37 insertions(+), 70 deletions(-)
+
 --- a/sysdeps/i386/i486/bits/atomic.h
 +++ b/sysdeps/i386/i486/bits/atomic.h
 @@ -87,35 +87,26 @@

Modified: glibc-package/branches/eglibc-2.11/debian/patches/hurd-i386/local-check_native.diff
===================================================================
--- glibc-package/branches/eglibc-2.11/debian/patches/hurd-i386/local-check_native.diff	2010-01-26 10:17:12 UTC (rev 4105)
+++ glibc-package/branches/eglibc-2.11/debian/patches/hurd-i386/local-check_native.diff	2010-01-30 18:10:32 UTC (rev 4106)
@@ -1,3 +1,5 @@
+Stub implementation of __check_native
+
 ---
  sysdeps/mach/hurd/check_native.c |   27 +++++++++++++++++++++++++++
  1 file changed, 27 insertions(+)

Modified: glibc-package/branches/eglibc-2.11/debian/patches/hurd-i386/local-dl-dynamic-weak.diff
===================================================================
--- glibc-package/branches/eglibc-2.11/debian/patches/hurd-i386/local-dl-dynamic-weak.diff	2010-01-26 10:17:12 UTC (rev 4105)
+++ glibc-package/branches/eglibc-2.11/debian/patches/hurd-i386/local-dl-dynamic-weak.diff	2010-01-30 18:10:32 UTC (rev 4106)
@@ -1,3 +1,6 @@
+For now, libpthread is not compiled at the same time as glibc, so that pthread_*
+stubs call forwarding can not work.
+
 ---
  elf/dl-support.c |    6 ++++++
  elf/rtld.c       |    5 +++++

Modified: glibc-package/branches/eglibc-2.11/debian/patches/hurd-i386/local-gscope.diff
===================================================================
--- glibc-package/branches/eglibc-2.11/debian/patches/hurd-i386/local-gscope.diff	2010-01-26 10:17:12 UTC (rev 4105)
+++ glibc-package/branches/eglibc-2.11/debian/patches/hurd-i386/local-gscope.diff	2010-01-30 18:10:32 UTC (rev 4106)
@@ -1,3 +1,4 @@
+Poor-man's global scope switch support: just busy-waits.
 ---
  elf/dl-support.c                  |    1 +
  sysdeps/generic/ldsodefs.h        |    1 +

Modified: glibc-package/branches/eglibc-2.11/debian/patches/hurd-i386/local-pthread-unsupported-stubs.diff
===================================================================
--- glibc-package/branches/eglibc-2.11/debian/patches/hurd-i386/local-pthread-unsupported-stubs.diff	2010-01-26 10:17:12 UTC (rev 4105)
+++ glibc-package/branches/eglibc-2.11/debian/patches/hurd-i386/local-pthread-unsupported-stubs.diff	2010-01-30 18:10:32 UTC (rev 4106)
@@ -1,3 +1,4 @@
+There are additional stubs in libpthread.
 ---
  include/stubs-biarch.h |    2 ++
  1 file changed, 2 insertions(+)

Modified: glibc-package/branches/eglibc-2.11/debian/patches/hurd-i386/local-pthread_posix-option.diff
===================================================================
--- glibc-package/branches/eglibc-2.11/debian/patches/hurd-i386/local-pthread_posix-option.diff	2010-01-26 10:17:12 UTC (rev 4105)
+++ glibc-package/branches/eglibc-2.11/debian/patches/hurd-i386/local-pthread_posix-option.diff	2010-01-30 18:10:32 UTC (rev 4106)
@@ -2,15 +2,17 @@
 packages which have a pthread library.
 
 ---
- sysdeps/mach/hurd/bits/posix_opt.h |    8 ++++----
- 1 file changed, 4 insertions(+), 4 deletions(-)
+ b/sysdeps/mach/hurd/gai_misc.h     |   43 +++++++++++++++++++++++++++++++++++++
+ sysdeps/mach/hurd/Makeconfig       |   10 ++++++++
+ sysdeps/mach/hurd/bits/posix_opt.h |   40 +++++++++++++++++++++++-----------
+ 3 files changed, 80 insertions(+), 13 deletions(-)
 
---- a/sysdeps/mach/hurd/bits/posix_opt.h
-+++ b/sysdeps/mach/hurd/bits/posix_opt.h
-@@ -61,8 +61,8 @@
- #undef _POSIX_SYNC_IO		/* File supports O_SYNC et al?  */
+--- a/sysdeps/mach/hurd/bits/posix_opt.h	2010-01-05 23:43:03.000000000 +0100
++++ b/sysdeps/mach/hurd/bits/posix_opt.h	2010-01-05 23:46:32.000000000 +0100
+@@ -73,24 +73,38 @@
+ /* XPG4.2 shared memory is supported.  */
+ #define	_XOPEN_SHM	1
  
- 
 -/* We do not have the POSIX threads interface.  */
 -#define _POSIX_THREADS	-1
 +/* Tell we have POSIX threads.  */
@@ -18,7 +20,49 @@
  
  /* We have the reentrant functions described in POSIX.  */
  #define _POSIX_REENTRANT_FUNCTIONS      1
-@@ -108,8 +108,8 @@
+ #define _POSIX_THREAD_SAFE_FUNCTIONS	200809L
+ 
+-/* These are all things that won't be supported when _POSIX_THREADS is not.  */
++/* We do not provide priority scheduling for threads.  */
+ #define _POSIX_THREAD_PRIORITY_SCHEDULING	-1
+-#define _POSIX_THREAD_ATTR_STACKSIZE		-1
+-#define _POSIX_THREAD_ATTR_STACKADDR		-1
++
++/* We support user-defined stack sizes.  */
++#define _POSIX_THREAD_ATTR_STACKSIZE	200112L
++
++/* We support user-defined stacks.  */
++#define _POSIX_THREAD_ATTR_STACKADDR	200112L
++
++/* We do not support priority inheritence.  */
+ #define _POSIX_THREAD_PRIO_INHERIT	-1
++
++/* We do not support priority protection.  */
+ #define _POSIX_THREAD_PRIO_PROTECT	-1
++
+ #ifdef __USE_XOPEN2K8
++/* We do not support priority inheritence for robust mutexes.  */
+ # define _POSIX_THREAD_ROBUST_PRIO_INHERIT	-1
++
++/* We do not support priority protection for robust mutexes.  */
+ # define _POSIX_THREAD_ROBUST_PRIO_PROTECT	-1
+ #endif
+-#define _POSIX_SEMAPHORES			-1
++
++/* We support POSIX.1b semaphores.  */
++#define _POSIX_SEMAPHORES			200112L
+ 
+ /* Real-time signals are not yet supported.  */
+ #define _POSIX_REALTIME_SIGNALS	-1
+@@ -123,17 +137,17 @@
+ /* GNU libc provides regular expression handling.  */
+ #define _POSIX_REGEXP	1
+ 
+-/* Reader/Writer locks are not available.  */
+-#define _POSIX_READER_WRITER_LOCKS	-1
++/* Reader/Writer locks are available.  */
++#define _POSIX_READER_WRITER_LOCKS	200112L
+ 
  /* We have a POSIX shell.  */
  #define _POSIX_SHELL	1
  
@@ -27,5 +71,83 @@
 +/* We support the Timeouts option.  */
 +#define _POSIX_TIMEOUTS	200112L
  
+-/* We do not support spinlocks.  */
+-#define _POSIX_SPIN_LOCKS	-1
++/* We support spinlocks.  */
++#define _POSIX_SPIN_LOCKS	200112L
+ 
  /* The `spawn' function family is supported.  */
  #define _POSIX_SPAWN	200809L
+@@ -142,7 +156,7 @@
+ #define _POSIX_TIMERS	0
+ 
+ /* The barrier functions are not available.  */
+-#define _POSIX_BARRIERS	-1
++#define _POSIX_BARRIERS	200112L
+ 
+ /* POSIX message queues could be available in future.  */
+ #define	_POSIX_MESSAGE_PASSING	0
+--- a/sysdeps/mach/hurd/Makeconfig
++++ b/sysdeps/mach/hurd/Makeconfig
+@@ -2,3 +2,13 @@
+ # See Makefile in this directory for the rule that builds this.
+ # We must define this variable earlier than sysdeps Makefiles are included.
+ static-start-installed-name = crt0.o
++
++have-thread-library = yes
++shared-thread-library = /lib/libpthread.so
++static-thread-library = /lib/libpthread.a
++bounded-thread-library = $(static-thread-library)
++
++$(shared-thread-library):
++	true
++$(static-thread-library):
++	true
++/usr/include/pthread.h:
++	true
+--- /dev/null
++++ b/sysdeps/mach/hurd/gai_misc.h
+@@ -0,0 +1,43 @@
++#include <signal.h>
++
++#define gai_start_notify_thread __gai_start_notify_thread
++#define gai_create_helper_thread __gai_create_helper_thread
++
++extern inline void
++__gai_start_notify_thread (void)
++{
++  sigset_t ss;
++  sigemptyset (&ss);
++  sigprocmask(SIG_SETMASK, &ss, NULL);
++}
++
++extern inline int
++__gai_create_helper_thread (pthread_t *threadp, void *(*tf) (void *),
++			    void *arg)
++{
++  pthread_attr_t attr;
++
++  /* Make sure the thread is created detached.  */
++  pthread_attr_init (&attr);
++  pthread_attr_setdetachstate (&attr, PTHREAD_CREATE_DETACHED);
++
++  /* The helper thread needs only very little resources.  */
++  (void) pthread_attr_setstacksize (&attr, 0x10000);
++
++  /* Block all signals in the helper thread.  To do this thoroughly we
++     temporarily have to block all signals here.  */
++  sigset_t ss;
++  sigset_t oss;
++  sigfillset (&ss);
++  sigprocmask(SIG_SETMASK, &ss, &oss);
++
++  int ret = pthread_create (threadp, &attr, tf, arg);
++
++  /* Restore the signal mask.  */
++  sigprocmask(SIG_SETMASK, &oss, NULL);
++
++  (void) pthread_attr_destroy (&attr);
++  return ret;
++}
++
++#include_next <gai_misc.h>

Modified: glibc-package/branches/eglibc-2.11/debian/patches/hurd-i386/local-pthread_types.diff
===================================================================
--- glibc-package/branches/eglibc-2.11/debian/patches/hurd-i386/local-pthread_types.diff	2010-01-26 10:17:12 UTC (rev 4105)
+++ glibc-package/branches/eglibc-2.11/debian/patches/hurd-i386/local-pthread_types.diff	2010-01-30 18:10:32 UTC (rev 4106)
@@ -1,3 +1,4 @@
+We do have pthread types.
 ---
  sysdeps/mach/hurd/bits/pthreadtypes.h |    1 +
  1 file changed, 1 insertion(+)

Modified: glibc-package/branches/eglibc-2.11/debian/patches/hurd-i386/local-thread-cancel.diff
===================================================================
--- glibc-package/branches/eglibc-2.11/debian/patches/hurd-i386/local-thread-cancel.diff	2010-01-26 10:17:12 UTC (rev 4105)
+++ glibc-package/branches/eglibc-2.11/debian/patches/hurd-i386/local-thread-cancel.diff	2010-01-30 18:10:32 UTC (rev 4106)
@@ -1,3 +1,5 @@
+The critical section lock _can_ be held in that place.
+
 ---
  thread-cancel.c |    1 -
  1 file changed, 1 deletion(-)

Modified: glibc-package/branches/eglibc-2.11/debian/patches/hurd-i386/local-tls-support.diff
===================================================================
--- glibc-package/branches/eglibc-2.11/debian/patches/hurd-i386/local-tls-support.diff	2010-01-26 10:17:12 UTC (rev 4105)
+++ glibc-package/branches/eglibc-2.11/debian/patches/hurd-i386/local-tls-support.diff	2010-01-30 18:10:32 UTC (rev 4106)
@@ -1,3 +1,5 @@
+TLS support
+
 ---
  csu/libc-start.c                        |    2 +
  hurd/hurdfault.c                        |    2 +
@@ -10,16 +12,16 @@
  sysdeps/mach/hurd/bits/libc-tsd.h       |   35 ------------------
  sysdeps/mach/hurd/fork.c                |    7 +++
  sysdeps/mach/hurd/i386/init-first.c     |   60 +++++++++++++++++++-------------
- sysdeps/mach/hurd/i386/tls.h            |   43 ++++++++++++++++++++--
+ sysdeps/mach/hurd/i386/tls.h            |   53 ++++++++++++++++++++++------
  sysdeps/mach/hurd/i386/tlsdesc.sym      |   17 +++++++++
  sysdeps/mach/hurd/i386/trampoline.c     |    2 -
  sysdeps/mach/hurd/profil.c              |    2 +
  sysdeps/mach/hurd/setitimer.c           |    3 +
- sysdeps/mach/hurd/tls.h                 |    1 
+ sysdeps/mach/hurd/tls.h                 |    2 +
  sysdeps/mach/i386/thread_state.h        |   11 +++++
  sysdeps/mach/powerpc/thread_state.h     |    1 
  sysdeps/mach/thread_state.h             |    3 +
- 20 files changed, 161 insertions(+), 70 deletions(-)
+ 20 files changed, 167 insertions(+), 75 deletions(-)
 
 --- a/csu/libc-start.c
 +++ b/csu/libc-start.c
@@ -307,23 +309,53 @@
       properly before before cthreads initialization, so cthreads can know
 --- a/sysdeps/mach/hurd/i386/tls.h
 +++ b/sysdeps/mach/hurd/i386/tls.h
-@@ -96,7 +96,7 @@
+@@ -31,6 +31,8 @@
+ 
+ # ifndef __ASSEMBLER__
+ 
++#include <pthread/pthread.h>
++
+ /* Use i386-specific RPCs to arrange that %gs segment register prefix
+    addresses the TCB in each thread.  */
+ # include <mach/i386/mach_i386.h>
+@@ -72,7 +72,7 @@ _hurd_tls_init (tcbhead_t *tcb, int secondcall)
+ 
+       /* Get the first available selector.  */
+       int sel = -1;
+-      error_t err = __i386_set_gdt (tcb->self, &sel, desc);
++      kern_return_t err = __i386_set_gdt (tcb->self, &sel, desc);
+       if (err == MIG_BAD_ID)
+ 	{
+ 	  /* Old kernel, use a per-thread LDT.  */
+@@ -96,16 +96,16 @@ _hurd_tls_init (tcbhead_t *tcb, int secondcall)
        /* Fetch the selector set by the first call.  */
        int sel;
        asm ("mov %%gs, %w0" : "=q" (sel) : "0" (0));
 -      if (__builtin_expect (sel, 0x50) & 4) /* LDT selector */
 +      if (__builtin_expect (sel, 0x48) & 4) /* LDT selector */
  	{
- 	  error_t err = __i386_set_ldt (tcb->self, sel, &desc, 1);
+-	  error_t err = __i386_set_ldt (tcb->self, sel, &desc, 1);
++	  kern_return_t err = __i386_set_ldt (tcb->self, sel, &desc, 1);
  	  assert_perror (err);
-@@ -142,9 +142,40 @@
+ 	  if (err)
+ 	    return "i386_set_ldt failed";
+ 	}
+       else
+ 	{
+-	  error_t err = __i386_set_gdt (tcb->self, &sel, desc);
++	  kern_return_t err = __i386_set_gdt (tcb->self, &sel, desc);
+ 	  assert_perror (err);
+ 	  if (err)
+ 	    return "i386_set_gdt failed";
+@@ -142,9 +142,40 @@ _hurd_tls_init (tcbhead_t *tcb, int secondcall)
  
  #include <mach/machine/thread_status.h>
  
 -/* Set up TLS in the new thread of a fork child, copying from our own.  */
+-static inline error_t __attribute__ ((unused))
+-_hurd_tls_fork (thread_t child, struct i386_thread_state *state)
 +/* Set up TLS in the new thread of a fork child, copying from the original.  */
- static inline error_t __attribute__ ((unused))
--_hurd_tls_fork (thread_t child, struct i386_thread_state *state)
++static inline kern_return_t __attribute__ ((unused))
 +_hurd_tls_fork (thread_t child, thread_t orig, struct i386_thread_state *state)
 +{
 +  /* Fetch the selector set by _hurd_tls_init.  */
@@ -333,7 +365,7 @@
 +    return 0;
 +
 +  struct descriptor desc, *_desc = &desc;
-+  error_t err;
++  int err;
 +  unsigned int count;
 +
 +  if (__builtin_expect (sel, 0x48) & 4) /* LDT selector */
@@ -354,23 +386,24 @@
 +  return err;
 +}
 +
-+static inline error_t __attribute__ ((unused))
++static inline kern_return_t __attribute__ ((unused))
 +_hurd_tls_new (thread_t child, struct i386_thread_state *state, tcbhead_t *tcb)
  {
    /* Fetch the selector set by _hurd_tls_init.  */
    int sel;
-@@ -152,11 +183,13 @@
+@@ -152,11 +183,13 @@ _hurd_tls_fork (thread_t child, struct i386_thread_state *state)
    if (sel == state->ds)		/* _hurd_tls_init was never called.  */
      return 0;
  
 -  tcbhead_t *const tcb = THREAD_SELF;
    HURD_TLS_DESC_DECL (desc, tcb);
-   error_t err;
+-  error_t err;
++  kern_return_t err;
++
++  tcb->tcb = tcb;
++  tcb->self = child;
  
 -  if (__builtin_expect (sel, 0x50) & 4) /* LDT selector */
-+  tcb->tcb = tcb;
-+  tcb->self = child;
-+
 +  if (__builtin_expect (sel, 0x48) & 4) /* LDT selector */
      err = __i386_set_ldt (child, sel, &desc, 1);
    else

Modified: glibc-package/branches/eglibc-2.11/debian/patches/hurd-i386/local-unwind-resume.diff
===================================================================
--- glibc-package/branches/eglibc-2.11/debian/patches/hurd-i386/local-unwind-resume.diff	2010-01-26 10:17:12 UTC (rev 4105)
+++ glibc-package/branches/eglibc-2.11/debian/patches/hurd-i386/local-unwind-resume.diff	2010-01-30 18:10:32 UTC (rev 4106)
@@ -1,3 +1,5 @@
+Unwind resume support
+
 ---
  Makefile           |   12 +++++++++
  rt-unwind-resume.c |    1 

Modified: glibc-package/branches/eglibc-2.11/debian/patches/hurd-i386/submitted-ECANCELED.diff
===================================================================
--- glibc-package/branches/eglibc-2.11/debian/patches/hurd-i386/submitted-ECANCELED.diff	2010-01-26 10:17:12 UTC (rev 4105)
+++ glibc-package/branches/eglibc-2.11/debian/patches/hurd-i386/submitted-ECANCELED.diff	2010-01-30 18:10:32 UTC (rev 4106)
@@ -1,3 +1,5 @@
+Regenerate errnos.
+
 ---
  sysdeps/mach/hurd/bits/errno.h |    6 +++---
  1 file changed, 3 insertions(+), 3 deletions(-)

Modified: glibc-package/branches/eglibc-2.11/debian/patches/hurd-i386/submitted-IPV6_PKTINFO.diff
===================================================================
--- glibc-package/branches/eglibc-2.11/debian/patches/hurd-i386/submitted-IPV6_PKTINFO.diff	2010-01-26 10:17:12 UTC (rev 4105)
+++ glibc-package/branches/eglibc-2.11/debian/patches/hurd-i386/submitted-IPV6_PKTINFO.diff	2010-01-30 18:10:32 UTC (rev 4106)
@@ -1,3 +1,5 @@
+Add more ipv6 macros.
+
 ---
  bits/in.h |    7 ++++---
  1 file changed, 4 insertions(+), 3 deletions(-)

Modified: glibc-package/branches/eglibc-2.11/debian/patches/hurd-i386/submitted-critical-sections.diff
===================================================================
--- glibc-package/branches/eglibc-2.11/debian/patches/hurd-i386/submitted-critical-sections.diff	2010-01-26 10:17:12 UTC (rev 4105)
+++ glibc-package/branches/eglibc-2.11/debian/patches/hurd-i386/submitted-critical-sections.diff	2010-01-30 18:10:32 UTC (rev 4106)
@@ -1,3 +1,5 @@
+Missing critical region locks.
+
 ---
  hurd/hurd/fd.h              |    2 ++
  sysdeps/mach/hurd/dirfd.c   |    3 +++

Modified: glibc-package/branches/eglibc-2.11/debian/patches/hurd-i386/submitted-dup2-fix.diff
===================================================================
--- glibc-package/branches/eglibc-2.11/debian/patches/hurd-i386/submitted-dup2-fix.diff	2010-01-26 10:17:12 UTC (rev 4105)
+++ glibc-package/branches/eglibc-2.11/debian/patches/hurd-i386/submitted-dup2-fix.diff	2010-01-30 18:10:32 UTC (rev 4106)
@@ -1,3 +1,5 @@
+Mutex locking fix.
+
 ---
  sysdeps/mach/hurd/dup2.c |    7 +++----
  1 file changed, 3 insertions(+), 4 deletions(-)

Modified: glibc-package/branches/eglibc-2.11/debian/patches/hurd-i386/submitted-extern_inline.diff
===================================================================
--- glibc-package/branches/eglibc-2.11/debian/patches/hurd-i386/submitted-extern_inline.diff	2010-01-26 10:17:12 UTC (rev 4105)
+++ glibc-package/branches/eglibc-2.11/debian/patches/hurd-i386/submitted-extern_inline.diff	2010-01-30 18:10:32 UTC (rev 4106)
@@ -1,3 +1,5 @@
+Fix compilation of extern inlines with recent gcc.
+
 ---
  hurd/hurd.h                             |    4 ++++
  hurd/hurd/fd.h                          |   20 ++++++++++++++++++++

Modified: glibc-package/branches/eglibc-2.11/debian/patches/hurd-i386/submitted-ioctl-unsigned-size_t.diff
===================================================================
--- glibc-package/branches/eglibc-2.11/debian/patches/hurd-i386/submitted-ioctl-unsigned-size_t.diff	2010-01-26 10:17:12 UTC (rev 4105)
+++ glibc-package/branches/eglibc-2.11/debian/patches/hurd-i386/submitted-ioctl-unsigned-size_t.diff	2010-01-30 18:10:32 UTC (rev 4106)
@@ -1,3 +1,5 @@
+Add some basic types for ioctls.
+
 ---
  sysdeps/mach/hurd/bits/ioctls.h |   14 +++++++++++++-
  1 file changed, 13 insertions(+), 1 deletion(-)

Modified: glibc-package/branches/eglibc-2.11/debian/patches/hurd-i386/submitted-sysvshm.diff
===================================================================
--- glibc-package/branches/eglibc-2.11/debian/patches/hurd-i386/submitted-sysvshm.diff	2010-01-26 10:17:12 UTC (rev 4105)
+++ glibc-package/branches/eglibc-2.11/debian/patches/hurd-i386/submitted-sysvshm.diff	2010-01-30 18:10:32 UTC (rev 4106)
@@ -17,17 +17,19 @@
 	* sysdeps/mach/hurd/shmat.c: New file.
 	* sysdeps/mach/hurd/shmctl.c: New file.
 	* sysdeps/mach/hurd/shmdt.c: New file.
+	* sysdeps/mach/hurd/bits/posix_opt.h: Define _XOPEN_SHM	to 1.
 
 ---
- hurd/Makefile              |    3 
- hurd/sysvshm.c             |   96 +++++++++++++++++
- hurd/sysvshm.h             |   47 ++++++++
- sysdeps/mach/hurd/ftok.c   |   43 +++++++
- sysdeps/mach/hurd/shmat.c  |   78 ++++++++++++++
- sysdeps/mach/hurd/shmctl.c |  132 ++++++++++++++++++++++++
- sysdeps/mach/hurd/shmdt.c  |   51 +++++++++
- sysdeps/mach/hurd/shmget.c |  245 +++++++++++++++++++++++++++++++++++++++++++++
- 8 files changed, 694 insertions(+), 1 deletion(-)
+ b/hurd/sysvshm.c                   |   96 ++++++++++++++
+ b/hurd/sysvshm.h                   |   47 +++++++
+ b/sysdeps/mach/hurd/ftok.c         |   43 ++++++
+ b/sysdeps/mach/hurd/shmat.c        |   78 +++++++++++
+ b/sysdeps/mach/hurd/shmctl.c       |  132 +++++++++++++++++++
+ b/sysdeps/mach/hurd/shmdt.c        |   51 +++++++
+ b/sysdeps/mach/hurd/shmget.c       |  245 +++++++++++++++++++++++++++++++++++++
+ hurd/Makefile                      |    3 
+ sysdeps/mach/hurd/bits/posix_opt.h |    3 
+ 9 files changed, 697 insertions(+), 1 deletion(-)
 
 --- a/hurd/Makefile
 +++ b/hurd/Makefile
@@ -761,3 +763,17 @@
 +}
 +
 +weak_alias(__shmget, shmget)
+--- a/sysdeps/mach/hurd/bits/posix_opt.h	2010-01-05 22:13:57.000000000 +0100
++++ b/sysdeps/mach/hurd/bits/posix_opt.h	2010-01-05 22:14:42.000000000 +0100
+@@ -61,8 +61,8 @@
+ /* X/Open thread realtime support is not supported.  */
+ #undef _XOPEN_REALTIME_THREADS
+ 
+-/* XPG4.2 shared memory is not supported.  */
+-#undef	_XOPEN_SHM
++/* XPG4.2 shared memory is supported.  */
++#define	_XOPEN_SHM	1
+
+ /* We do not have the POSIX threads interface.  */
+ #define _POSIX_THREADS	-1
+ 

Modified: glibc-package/branches/eglibc-2.11/debian/patches/kfreebsd/local-sysdeps.diff
===================================================================
--- glibc-package/branches/eglibc-2.11/debian/patches/kfreebsd/local-sysdeps.diff	2010-01-26 10:17:12 UTC (rev 4105)
+++ glibc-package/branches/eglibc-2.11/debian/patches/kfreebsd/local-sysdeps.diff	2010-01-30 18:10:32 UTC (rev 4106)
@@ -5850,7 +5850,7 @@
 +#endif	/* bits/socket.h */
 --- /dev/null
 +++ b/ports/sysdeps/unix/bsd/bsd4.4/kfreebsd/bits/stat.h
-@@ -0,0 +1,207 @@
+@@ -0,0 +1,214 @@
 +/* Copyright (C) 1992, 1996-1997, 2000, 2002 Free Software Foundation, Inc.
 +   This file is part of the GNU C Library.
 +
@@ -6051,10 +6051,17 @@
 +/* Set file flags of the file referred to by FD to FLAGS.  */
 +extern int fchflags (int __fd, unsigned long int __flags) __THROW;
 +
++/* Set file flags for FILE to FLAGS without following symlinks.  */
++extern int lchflags(__const char *__file, int __flags);
 +
-+extern char *devname_r(__dev_t dev, __mode_t type, char *buf, int len) __THROW;
++/* Get device name in /dev with a device number of dev and a file type
++   matching the one encoded in type.  */
 +extern char *devname(__dev_t dev, __mode_t type) __THROW;
-+                                                                                                                                                                                                         
++
++/* Store at most BUFLEN characters of the device name in /dev with a 
++   device number of dev and a file type matching the one encoded in type.  */
++extern char *devname_r(__dev_t dev, __mode_t type, char *buf, int buflen) __THROW;
++
 +__END_DECLS
 +
 +#endif /* __USE_BSD */
@@ -8125,7 +8132,7 @@
 +#include <sys/sysctl.h>
 +
 +char *
-+__devname_r(dev_t dev, mode_t type, char *buf, int len)
++__devname_r(__dev_t dev, __mode_t type, char *buf, int len)
 +{
 +	int i;
 +	size_t j;
@@ -8150,7 +8157,7 @@
 +
 +
 +char *
-+__devname(dev_t dev, mode_t type)
++__devname(__dev_t dev, __mode_t type)
 +{
 +	static char buf[SPECNAMELEN + 1];
 +
@@ -23732,6 +23739,156 @@
 @@ -0,0 +1 @@
 +/* 'truncate64' is the same as 'truncate', because __off64_t == __off_t.  */
 --- /dev/null
++++ b/ports/sysdeps/unix/bsd/bsd4.4/kfreebsd/ttyname.c
+@@ -0,0 +1,67 @@
++/* Copyright (C) 1991,92,93,96,97,98,2000,2002 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.  */
++
++#include <stddef.h>
++#include <sys/types.h>
++#include <sys/ioctl.h>
++#include <unistd.h>
++#include <string.h>
++#include <stdlib.h>
++
++/* Static buffer in `ttyname'.  */
++libc_freeres_ptr (static char *ttyname_buf);
++
++static const char dev[] = "/dev";
++
++/* Return the pathname of the terminal FD is open on, or NULL on errors.
++   The returned storage is good only until the next call to this function.  */
++char *
++ttyname (fd)
++     int fd;
++{
++  static size_t buflen;
++  struct fiodgname_arg fgn;
++
++  if (!__isatty (fd))
++    return NULL;
++
++  if (buflen == 0)
++    {
++      buflen = 4095;
++      ttyname_buf = (char *) malloc (buflen + 1);
++      if (ttyname_buf == NULL)
++	{
++	  buflen = 0;
++	  return NULL;
++	}
++    }
++
++  /* Prepare the result buffer.  */
++  memcpy (ttyname_buf, dev, sizeof (dev) - 1);
++  ttyname_buf[sizeof (dev) - 1] = '/';
++
++  fgn.buf = ttyname_buf + sizeof (dev);
++  fgn.len = buflen - sizeof (dev);
++
++  if (__ioctl(fd, FIODGNAME, &fgn) == -1)
++    {
++      return NULL; 
++    }
++
++  return ttyname_buf;
++}
+--- /dev/null
++++ b/ports/sysdeps/unix/bsd/bsd4.4/kfreebsd/ttyname_r.c
+@@ -0,0 +1,77 @@
++/* Copyright (C) 1991,92,93,95,96,97,98,2004 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.  */
++
++#include <errno.h>
++#include <stddef.h>
++#include <sys/types.h>
++#include <sys/ioctl.h>
++#include <unistd.h>
++#include <string.h>
++#include <stdlib.h>
++
++static const char dev[] = "/dev";
++
++/* Store at most BUFLEN character of the pathname of the terminal FD is
++   open on in BUF.  Return 0 on success,  otherwise an error number.  */
++int
++__ttyname_r (fd, buf, buflen)
++     int fd;
++     char *buf;
++     size_t buflen;
++{
++  int ret;
++  struct fiodgname_arg fgn;
++
++  /* Test for the absolute minimal size.  This makes life easier inside
++     the loop.  */
++  if (!buf)
++    {
++      __set_errno (EINVAL);
++      return EINVAL;
++    }
++
++  if (buflen < (int) (sizeof (dev) + 1))
++    {
++      __set_errno (ERANGE);
++      return ERANGE;
++    }
++
++  if (!__isatty (fd))
++    {
++      __set_errno (ENOTTY);
++      return ENOTTY;
++    }
++
++  /* Prepare the result buffer.  */
++  memcpy (buf, dev, sizeof (dev) - 1);
++  buf[sizeof (dev) - 1] = '/';
++
++  fgn.buf = buf + sizeof (dev);
++  fgn.len = buflen - sizeof (dev);
++
++  ret = __ioctl(fd, FIODGNAME, &fgn);
++  if (ret == -1)
++    {
++      __set_errno (EBADF);
++      return EBADF;
++    }
++
++  return 0;
++}
++
++weak_alias (__ttyname_r, ttyname_r)
+--- /dev/null
 +++ b/ports/sysdeps/unix/bsd/bsd4.4/kfreebsd/ulimit.c
 @@ -0,0 +1,2 @@
 +/* just use linux variant */

Added: glibc-package/branches/eglibc-2.11/debian/patches/localedata/locale-et_EE.diff
===================================================================
--- glibc-package/branches/eglibc-2.11/debian/patches/localedata/locale-et_EE.diff	                        (rev 0)
+++ glibc-package/branches/eglibc-2.11/debian/patches/localedata/locale-et_EE.diff	2010-01-30 18:10:32 UTC (rev 4106)
@@ -0,0 +1,19 @@
+2010-01-05  Aurelien Jarno  <aurelien@aurel32.net>
+
+	* locales/et_EE: Change first_weekday and first_workday to 2.
+
+diff --git a/localedata/locales/et_EE b/localedata/locales/et_EE
+index efec335..697d3a7 100644
+--- a/localedata/locales/et_EE
++++ b/localedata/locales/et_EE
+@@ -2197,8 +2197,8 @@ date_fmt	"<U0025><U0061><U0020><U0025><U0062><U0020><U0025><U0065>/
+ <U0020><U0025><U0048><U003A><U0025><U004D><U003A><U0025><U0053><U0020>/
+ <U0025><U005A><U0020><U0025><U0059>"
+ week    7;19971130;4
+-first_weekday 1
+-first_workday 1
++first_weekday 2
++first_workday 2
+ END LC_TIME
+ 
+ LC_MESSAGES

Modified: glibc-package/branches/eglibc-2.11/debian/patches/series
===================================================================
--- glibc-package/branches/eglibc-2.11/debian/patches/series	2010-01-26 10:17:12 UTC (rev 4105)
+++ glibc-package/branches/eglibc-2.11/debian/patches/series	2010-01-30 18:10:32 UTC (rev 4106)
@@ -38,6 +38,7 @@
 localedata/first_weekday.diff
 localedata/submitted-bz9912-locale-ru_UA.diff
 localedata/submitted-pt_BR.diff
+localedata/locale-et_EE.diff
 
 alpha/local-gcc4.1.diff
 alpha/submitted-creat64.diff
@@ -75,6 +76,7 @@
 hurd-i386/local-tls.diff
 hurd-i386/local-tls-support.diff
 hurd-i386/local-gcc-4.1-init-first.diff
+hurd-i386/submitted-posix_opt.h.diff
 hurd-i386/submitted-ioctl-decode-argument.diff
 hurd-i386/submitted-libc_once.diff
 hurd-i386/submitted-ptr-mangle.diff
@@ -127,6 +129,7 @@
 s390/submitted-nexttowardf.diff
 
 sh4/local-fpscr_values.diff
+sh4/submitted-set_fpscr.diff
 
 sparc/local-fork.diff
 sparc/local-sparcv9-target.diff

Modified: glibc-package/branches/eglibc-2.11/debian/patches/series.hurd-i386
===================================================================
--- glibc-package/branches/eglibc-2.11/debian/patches/series.hurd-i386	2010-01-26 10:17:12 UTC (rev 4105)
+++ glibc-package/branches/eglibc-2.11/debian/patches/series.hurd-i386	2010-01-30 18:10:32 UTC (rev 4106)
@@ -4,4 +4,4 @@
 hurd-i386/local-pthread-unsupported-stubs.diff
 hurd-i386/local-unlockpt-chroot.diff
 hurd-i386/local-msg-nosignal.diff
-kfreebsd/local-no-SOCK_NONBLOCK.diff
+hurd-i386/local-pthread.diff

Modified: glibc-package/branches/eglibc-2.11/debian/patches/series.kfreebsd-amd64
===================================================================
--- glibc-package/branches/eglibc-2.11/debian/patches/series.kfreebsd-amd64	2010-01-26 10:17:12 UTC (rev 4105)
+++ glibc-package/branches/eglibc-2.11/debian/patches/series.kfreebsd-amd64	2010-01-30 18:10:32 UTC (rev 4106)
@@ -3,7 +3,6 @@
 kfreebsd/local-linuxthreads29.diff
 kfreebsd/local-nosavesse.diff
 kfreebsd/local-memusage_no_mremap.diff
-kfreebsd/local-no-SOCK_NONBLOCK.diff
 kfreebsd/local-pthread_at_fork.diff
 kfreebsd/local-readdir_r.diff
 kfreebsd/local-scripts.diff

Modified: glibc-package/branches/eglibc-2.11/debian/patches/series.kfreebsd-i386
===================================================================
--- glibc-package/branches/eglibc-2.11/debian/patches/series.kfreebsd-i386	2010-01-26 10:17:12 UTC (rev 4105)
+++ glibc-package/branches/eglibc-2.11/debian/patches/series.kfreebsd-i386	2010-01-30 18:10:32 UTC (rev 4106)
@@ -3,7 +3,6 @@
 kfreebsd/local-linuxthreads29.diff
 kfreebsd/local-nosavesse.diff
 kfreebsd/local-memusage_no_mremap.diff
-kfreebsd/local-no-SOCK_NONBLOCK.diff
 kfreebsd/local-pthread_at_fork.diff
 kfreebsd/local-readdir_r.diff
 kfreebsd/local-scripts.diff

Modified: glibc-package/branches/eglibc-2.11/debian/rules.d/build.mk
===================================================================
--- glibc-package/branches/eglibc-2.11/debian/rules.d/build.mk	2010-01-26 10:17:12 UTC (rev 4105)
+++ glibc-package/branches/eglibc-2.11/debian/rules.d/build.mk	2010-01-30 18:10:32 UTC (rev 4106)
@@ -27,6 +27,7 @@
 	echo "BUILD_CC = $(BUILD_CC)"		>> $(DEB_BUILDDIR)/configparms
 	echo "BUILD_CXX = $(BUILD_CXX)"		>> $(DEB_BUILDDIR)/configparms
 	echo "CFLAGS = $(HOST_CFLAGS)"		>> $(DEB_BUILDDIR)/configparms
+	echo "ASFLAGS = $(HOST_CFLAGS)"		>> $(DEB_BUILDDIR)/configparms
 	echo "BUILD_CFLAGS = $(BUILD_CFLAGS)" 	>> $(DEB_BUILDDIR)/configparms
 	echo "LDFLAGS = "		 	>> $(DEB_BUILDDIR)/configparms
 	echo "BASH := /bin/bash"		>> $(DEB_BUILDDIR)/configparms
@@ -76,6 +77,8 @@
 		--enable-profile \
 		--without-selinux \
 		--enable-stackguard-randomization \
+		--with-pkgversion="Debian EGLIBC $(DEB_VERSION)" \
+		--with-bugurl="http://www.debian.org/Bugs/";
 		--enable-multi-arch \
 		$(call xx,with_headers) $(call xx,extra_config_options))
 	touch $@
@@ -111,7 +114,7 @@
 	else \
 	  echo Testing $(curpass); \
 	  find $(DEB_BUILDDIR) -name '*.out' -exec rm {} ';' ; \
-	  LANG="" TIMEOUTFACTOR="50" $(MAKE) -C $(DEB_BUILDDIR) $(NJOBS) -k check 2>&1 | tee $(log_test); \
+	  LANG="" TIMEOUTFACTOR="50" $(MAKE) -C $(DEB_BUILDDIR) -k check 2>&1 | tee $(log_test); \
 	  chmod +x debian/testsuite-checking/convertlog.sh ; \
 	  debian/testsuite-checking/convertlog.sh $(log_test) | tee $(log_results) ; \
 	  if test -f $(log_expected) ; then \
@@ -173,3 +176,5 @@
 		-f $(build-tree)/eglibc-$(EGLIBC_VERSION).tar.xz \
 		$(EGLIBC_SOURCES)
 	touch $@
+
+.NOTPARALLEL: $(patsubst %,check_%,$(EGLIBC_PASSES))

Modified: glibc-package/branches/eglibc-2.11/debian/rules.d/control.mk
===================================================================
--- glibc-package/branches/eglibc-2.11/debian/rules.d/control.mk	2010-01-26 10:17:12 UTC (rev 4105)
+++ glibc-package/branches/eglibc-2.11/debian/rules.d/control.mk	2010-01-30 18:10:32 UTC (rev 4106)
@@ -2,7 +2,7 @@
 
 debian/control.in/libc6: debian/control.in/libc debian/rules.d/control.mk
 	sed -e 's%@libc@%libc6%g' \
-	    -e 's%@archs@%amd64 arm armeb armel i386 m32r m68k mips mipsel powerpc ppc64 sparc s390 hppa sh3 sh4 sh3eb sh4eb%g' < $< > $@
+	    -e 's%@archs@%amd64 arm armeb armel i386 m32r m68k mips mipsel powerpc ppc64 sparc sparc64 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' < $< > $@

Modified: glibc-package/branches/eglibc-2.11/debian/sysdeps/hppa.mk
===================================================================
--- glibc-package/branches/eglibc-2.11/debian/sysdeps/hppa.mk	2010-01-26 10:17:12 UTC (rev 4105)
+++ glibc-package/branches/eglibc-2.11/debian/sysdeps/hppa.mk	2010-01-30 18:10:32 UTC (rev 4106)
@@ -1,6 +1,3 @@
-CC = gcc-4.3
-CXX = g++-4.3
-
 libc_add-ons = ports nptl $(add-ons)
 libc_extra_config_options = $(extra_config_options) --disable-sanity-checks
 

Modified: glibc-package/branches/eglibc-2.11/debian/sysdeps/hurd.mk
===================================================================
--- glibc-package/branches/eglibc-2.11/debian/sysdeps/hurd.mk	2010-01-26 10:17:12 UTC (rev 4105)
+++ glibc-package/branches/eglibc-2.11/debian/sysdeps/hurd.mk	2010-01-30 18:10:32 UTC (rev 4106)
@@ -1,6 +1,3 @@
-CC = gcc-4.3
-CXX = g++-4.3
-
 # This is for the GNU OS.  Commonly known as the Hurd.
 
 EGLIBC_OVERLAYS ?= $(shell ls glibc-linuxthreads* glibc-ports* glibc-libidn*)
@@ -24,6 +21,3 @@
 
 # Only use libidn as add-on.
 standard-add-ons = libidn
-
-# disabled because the testsuite is known to provoke build abortions.
-RUN_TESTSUITE = no

Modified: glibc-package/branches/eglibc-2.11/debian/sysdeps/mips.mk
===================================================================
--- glibc-package/branches/eglibc-2.11/debian/sysdeps/mips.mk	2010-01-26 10:17:12 UTC (rev 4105)
+++ glibc-package/branches/eglibc-2.11/debian/sysdeps/mips.mk	2010-01-30 18:10:32 UTC (rev 4106)
@@ -1,24 +1,3 @@
-CC = gcc-4.3
-CXX = g++-4.3
-
-#
-# Temporary hack to use our own version of unistd.h
-# to workaround kernel bugs on the build daemons
-#
-KERNEL_HEADER_DIR = $(stamp)mkincludedir-mips
-$(stamp)mkincludedir-mips:
-	rm -rf debian/include
-	mkdir debian/include
-	ln -s $(LINUX_HEADERS)/linux debian/include
-	ln -s $(LINUX_HEADERS)/asm-generic debian/include
-	cp -a $(LINUX_HEADERS)/asm debian/include
-	cp -f debian/mips_asm_unistd.h debian/include/asm/unistd.h
-
-	# To make configure happy if libc6-dev is not installed.
-	touch debian/include/assert.h
-
-	touch $@
-
 libc_add-ons = ports nptl $(add-ons)
 
 # build 32-bit (n32) alternative library

Modified: glibc-package/branches/eglibc-2.11/debian/sysdeps/sparc.mk
===================================================================
--- glibc-package/branches/eglibc-2.11/debian/sysdeps/sparc.mk	2010-01-26 10:17:12 UTC (rev 4105)
+++ glibc-package/branches/eglibc-2.11/debian/sysdeps/sparc.mk	2010-01-30 18:10:32 UTC (rev 4106)
@@ -4,7 +4,7 @@
 sparcv9b_add-ons = nptl $(add-ons)
 sparcv9b_configure_target=sparcv9b-linux-gnu
 sparcv9b_configure_build=sparcv9b-linux-gnu
-sparcv9b_extra_cflags = -mtune=ultrasparc3
+sparcv9b_extra_cflags = -mcpu=ultrasparc3
 sparcv9b_extra_config_options = $(extra_config_options) --disable-profile
 sparcv9b_rtlddir = /lib
 sparcv9b_slibdir = /lib/ultra3

Added: glibc-package/branches/eglibc-2.11/debian/sysdeps/sparc64.mk
===================================================================
--- glibc-package/branches/eglibc-2.11/debian/sysdeps/sparc64.mk	                        (rev 0)
+++ glibc-package/branches/eglibc-2.11/debian/sysdeps/sparc64.mk	2010-01-30 18:10:32 UTC (rev 4106)
@@ -0,0 +1,19 @@
+libc_rtlddir = /lib64
+libc_extra_cflags = -mcpu=ultrasparc
+
+# build a sparcv9b optimized library
+EGLIBC_PASSES += sparcv9b
+DEB_ARCH_REGULAR_PACKAGES += libc6-sparcv9b
+sparcv9b_add-ons = nptl $(add-ons)
+sparcv9b_configure_target=sparc64b-linux-gnu
+sparcv9b_configure_build=sparc64b-linux-gnu
+sparcv9b_extra_cflags = -mcpu=ultrasparc3
+sparcv9b_extra_config_options = $(extra_config_options) --disable-profile
+sparcv9b_rtlddir = /lib
+sparcv9b_slibdir = /lib/ultra3
+
+# /lib64 and /usr/lib64 are provided by glibc instead base-files: #259302.
+define libc6_extra_pkg_install
+ln -sf lib debian/$(curpass)/lib64
+ln -sf lib debian/$(curpass)/usr/lib64
+endef

Added: glibc-package/branches/eglibc-2.11/debian/testsuite-checking/expected-results-i486-gnu-libc
===================================================================
--- glibc-package/branches/eglibc-2.11/debian/testsuite-checking/expected-results-i486-gnu-libc	                        (rev 0)
+++ glibc-package/branches/eglibc-2.11/debian/testsuite-checking/expected-results-i486-gnu-libc	2010-01-30 18:10:32 UTC (rev 4106)
@@ -0,0 +1,78 @@
+#
+# Allowed failures for i486-gnu-libc and the returned make
+# failure number, indicating the signal the process died with.
+# Format: <Failed test>, Error <Make error code> [(ignored)]
+#
+# Need actual porting
+tst-cpucount, Error 1
+tst-cpuset.o, Error 1
+tst-cputimer1.o, Error 1
+tst-cputimer2.o, Error 1
+tst-cputimer3.o, Error 1
+tst-mqueue5.o, Error 1
+tst-pselect.o, Error 1
+tst-timer2.o, Error 1
+tst-timer4.o, Error 1
+tst-timer5.o, Error 1
+#
+# Need investigation
+annexc.out, Error 1 (ignored)
+bug-glob2.out, Error 1
+bug-ulimit1.out, Error 1
+check-local-headers.out, Error 1
+check-localplt.out, Error 1
+mtrace-tst-loading, Error 1
+opendir-tst1.out, Error 1
+test-assert-perr.out, Error 1
+test-assert.out, Error 1
+test-fenv.out, Error 1
+test-ifaddrs.out, Error 1
+test-lfs.out, Error 1
+test-memmem, Error 1
+tst-aio10, Error 1
+tst-aio2, Error 1
+tst-aio3, Error 1
+tst-aio8.out, Error 1
+tst-aio9, Error 1
+tst-atime.out, Error 1
+tst-audit1.out, Error 137
+tst-audit2.out, Error 137
+tst-chk1.out, Error 1
+tst-chk2.out, Error 1
+tst-chk3.out, Error 1
+tst-chk4.out, Error 1
+tst-chk5.out, Error 1
+tst-chk6.out, Error 1
+tst-cpuclock2, Error 1
+tst-dlmopen1.out, Error 1
+tst-error1-mem, Error 1
+tst-ether_line.o, Error 1
+tst-fdopendir2.out, Error 1
+tst-fopenloc.check, Error 1
+tst-futimesat.out, Error 1
+tst-getconf.out, Error 3
+tst-grantpt.out, Error 1
+tst-lfschk1.out, Error 1
+tst-lfschk2.out, Error 1
+tst-lfschk3.out, Error 1
+tst-lfschk4.out, Error 1
+tst-lfschk5.out, Error 1
+tst-lfschk6.out, Error 1
+tst-mknodat.out, Error 1
+tst-mqueue3, Error 1
+tst-mqueue6, Error 1
+tst-mqueue8, Error 1
+tst-renameat.out, Error 1
+tst-sprofil.out, Error 136
+tst-stackguard1-static.out, Error 1
+tst-stackguard1.out, Error 1
+tst-sysconf.out, Error 1
+tst-thrlock, Error 1
+tst-timer.out, Error 1
+tst-timer3, Error 1
+tst-tls18.out, Error 1
+tst-tls9-static.out, Error 1
+tst-ttyname_r.out, Error 2
+tst-vfork3-mem, Error 1
+tststatic.out, Error 139
+tststatic2.out, Error 139

Added: glibc-package/branches/eglibc-2.11/debian/testsuite-checking/expected-results-sparc64-linux-gnu-libc
===================================================================
--- glibc-package/branches/eglibc-2.11/debian/testsuite-checking/expected-results-sparc64-linux-gnu-libc	                        (rev 0)
+++ glibc-package/branches/eglibc-2.11/debian/testsuite-checking/expected-results-sparc64-linux-gnu-libc	2010-01-30 18:10:32 UTC (rev 4106)
@@ -0,0 +1,12 @@
+#
+# Allowed failures for sparc64-linux-gnu-libc and the returned make
+# failure number, indicating the signal the process died with.
+# Format: <Failed test>, Error <Make error code> [(ignored)]
+#
+annexc.out, Error 1 (ignored)
+check-localplt.out, Error 1
+tst-cancelx21.out, Error 1
+tst-cancelx4.out, Error 1
+tst-cancelx5.out, Error 1
+tst-cpuclock2.out, Error 1
+tst-timer.out, Error 139

Added: glibc-package/branches/eglibc-2.11/debian/testsuite-checking/expected-results-sparc64b-linux-gnu-sparcv9b
===================================================================
--- glibc-package/branches/eglibc-2.11/debian/testsuite-checking/expected-results-sparc64b-linux-gnu-sparcv9b	                        (rev 0)
+++ glibc-package/branches/eglibc-2.11/debian/testsuite-checking/expected-results-sparc64b-linux-gnu-sparcv9b	2010-01-30 18:10:32 UTC (rev 4106)
@@ -0,0 +1,14 @@
+#
+# Allowed failures for sparc64b-linux-gnu-sparcv9b and the returned make
+# failure number, indicating the signal the process died with.
+# Format: <Failed test>, Error <Make error code> [(ignored)]
+#
+annexc.out, Error 1 (ignored)
+check-localplt.out, Error 1
+tst-cancelx21.out, Error 1
+tst-cancelx4.out, Error 1
+tst-cancelx5.out, Error 1
+tst-cpuclock2.out, Error 1
+tst-execstack-needed.out, Error 1
+tst-execstack-prog.out, Error 1
+tst-execstack.out, Error 1


Reply to: