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

Bug#413787: marked as done (libc0.3: TLS patch)

Your message dated Wed, 11 Apr 2007 02:47:04 +0000
with message-id <E1HbSrQ-0004zk-Lw@ries.debian.org>
and subject line Bug#413787: fixed in glibc 2.5-1
has caused the attached Bug report to be marked as done.

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

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

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

--- Begin Message ---
Package: libc0.3
Version: 2.5exp6
Severity: normal
Tags: patch


Thanks to Barry's long glibc builds, here is at last a patch that builds
a tls/__thread -enabled and working glibc.

The attached patch may be applied as soon as now, but do _not_ drop
--without-tls and --without-__thread yet, because hurd's libpthread.so
doesn't initialize TLS yet, and hence that would break all multithreaded
applications. I'm now working on the Hurd part, I'll mail the bug when
it is uploaded.


-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-xen
Locale: LANG=fr_FR@euro, LC_CTYPE=fr_FR@euro (charmap=ISO-8859-15)
diff -urN glibc-2.5-orig/include/errno.h glibc-2.5/include/errno.h
--- glibc-2.5-orig/include/errno.h	2006-02-02 09:37:58.000000000 +0000
+++ glibc-2.5/include/errno.h	2007-03-04 15:53:25.000000000 +0000
@@ -21,7 +21,7 @@
 #  include <tls.h>		/* Defines USE_TLS.  */
-#  if USE___THREAD
+#  if USE___THREAD && !defined(__GNU__)
 #   undef  errno
 #   ifndef NOT_IN_libc
 #    define errno __libc_errno
diff -urN glibc-2.5-orig/sysdeps/mach/i386/sysdep.h glibc-2.5/sysdeps/mach/i386/sysdep.h
--- glibc-2.5-orig/sysdeps/mach/i386/sysdep.h	2001-07-06 04:56:00.000000000 +0000
+++ glibc-2.5/sysdeps/mach/i386/sysdep.h	2007-03-01 20:23:59.000000000 +0000
@@ -16,6 +16,9 @@
    Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
    02111-1307 USA.  */
+#include <dl-sysdep.h>
+#include <tls.h>
 #define LOSE asm volatile ("hlt")
 #define SNARF_ARGS(entry_sp, argc, argv, envp)				      \

--- End Message ---
--- Begin Message ---
Source: glibc
Source-Version: 2.5-1

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:

  to pool/main/g/glibc/glibc-doc_2.5-1_all.deb
  to pool/main/g/glibc/glibc_2.5-1.diff.gz
  to pool/main/g/glibc/glibc_2.5-1.dsc
  to pool/main/g/glibc/locales_2.5-1_all.deb

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

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

Debian distribution maintenance software
Clint Adams <schizo@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)

Hash: SHA1

Format: 1.7
Date: Mon, 09 Apr 2007 16:17:20 -0400
Source: glibc
Binary: libc0.1-prof libc6-dev-amd64 locales-all libc6-i686 libc6-dev-ppc64 libc0.3-pic glibc-doc libc0.3 libc0.1-i686 libc0.1-i386 libc6.1-dev libc6-s390x libnss-files-udeb libc0.1-dev-i386 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 libc6-dev-powerpc libc0.1-pic libc6-ppc64 libc0.3-dbg libc0.1-dbg libc6-amd64 libc0.1 libc6-prof libc6-xen libc6-powerpc libc6 libc6-sparcv9b libc6.1-udeb libc6.1-dbg nscd libc6-sparc64 libnss-dns-udeb libc6.1 libc6-dev-s390x
Architecture: source all
Version: 2.5-1
Distribution: unstable
Urgency: low
Maintainer: GNU Libc Maintainers <debian-glibc@lists.debian.org>
Changed-By: Clint Adams <schizo@debian.org>
 glibc-doc  - GNU C Library: Documentation
 libc6      - GNU C Library: Shared libraries
 libc6-amd64 - GNU C Library: 64bit Shared libraries for AMD64
 libc6-dbg  - GNU C Library: Libraries with debugging symbols
 libc6-dev  - GNU C Library: Development Libraries and Header Files
 libc6-dev-amd64 - GNU C Library: 64bit Development Libraries for AMD64
 libc6-i686 - GNU C Library: Shared libraries [i686 optimized]
 libc6-pic  - GNU C Library: PIC archive library
 libc6-prof - GNU C Library: Profiling Libraries
 libc6-udeb - GNU C Library: Shared libraries - udeb (udeb)
 libc6-xen  - GNU C Library: Shared libraries [Xen version]
 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]
 locales-all - GNU C Library: Precompiled locale data
 nscd       - GNU C Library: Name Service Cache Daemon
Closes: 46175 55648 98852 119540 165417 172562 209136 226291 269238 286825 312927 347358 364098 367522 369402 374945 377310 381294 389084 391372 391858 394128 395427 397813 403270 403980 404379 407540 409288 411132 412559 413095 413259 413787 415417 418006
 glibc (2.5-1) unstable; urgency=low
   * New upstream version 2.5.
     - Adds support of POSIX_MADV_* on mips, mipsel, arm and hppa.  Closes:
     - Fixes a pointer-to-long overflow in sunrpc code. Closes: #389084.
     - Fixes getent wrt ipv4 hosts lookups. Closes: #347358.
     - Fixes strtod wrt hex floats with negative exponent. Closes: #172562.
     - Fixes nice() errno when called without appropriate privileges.  Closes:
     - Provides sys/inotify.h. Closes: #369402.
     - Fixes strtod("INF") with some locales. Closes: #415417.
   [ Aurelien Jarno ]
   * debian/shlibver: Bump up to 2.5.
   * debian/copyright: update.
   * Remove locale/cvs-iso3166.diff (merged upstream).
   * Remove localedata/locale-ro_RO.diff (merged upstream).
   * Remove arm/cvs-portshead.patch (merged upstream).
   * Remove arm/local-dwarf2-buildfix.diff (merged upstream).
   * Remove hppa/cvs-clone.patch (merged upstream).
   * Remove hppa/cvs-portshead.diff (merged upstream).
   * Remove hppa/submitted-drop-utimes.diff (merged upstream).
   * Remove hurd-i386/cvs-machrules-make.diff (merged upstream).
   * Remove mips/cvs-fork.diff (merged upstream).
   * Remove mips/cvs-resource.diff (merged upstream).
   * Remove powerpc/cvs-procfs.diff (merged upstream).
   * Remove any/cvs-argp_h.diff (merged upstream).
   * Remove any/cvs-getcwd_c.diff (merged upstream).
   * Remove any/cvs-sysctl.diff (merged upstream).
   * Remove any/cvs-thread_signals.diff (merged upstream).
   * Remove any/cvs-uio_h.diff (merged upstream).
   * Remove any/cvs-sunrpc-xdrmem_setpos.diff (merged upstream).
   * Remove any/cvs-getent-wrong-struct-size.diff (merged upstream).
   * Remove any/submitted-strfmon.diff (merged upstream).
   * Remove all/submitted-uninitialized-byte-LC_CTYPE.diff (merged upstream).
   * Remove any/local-ttyname-devfs.diff (devfs is not supported anymore).
   * Update arm/local-no-hwcap.diff.
   * Update any/local-ldso-disable-hwcap.diff.
   * Update all/submitted-new-brf-encoding.diff.
   * debhelper.in/libc.docs: remove INTERFACE as it has been removed upstream.
   * sysdeps/depflags.pl: don't make libc6 depends on tzdata, as this package
     is of priority required. Should help to debconfize tzdata.
   * sysdeps/i386.mk: put the static Xen libc flavour in /usr/lib/xen.  Closes:
   * sysdeps/powerpc.mk: install 64-bit headers (actually gnu/stubs-64.h)
     directly into /usr/include and provide /usr/include/powerpc64-linux-gnu as
     a symlink to /usr/include for compatibility reasons.  Closes: #391858.
   * sysdeps/ppc64.mk: install 32-bit headers (actually gnu/stubs-32.h)
     directly into /usr/include and provide /usr/include/powerpc-linux-gnu as
     a symlink to /usr/include for compatibility reasons.
   * kfreebsd/local-scripts.diff: update.
   * kfreebsd/local-sys_queue_h.diff: update.
   * kfreebsd/local-sysdeps.diff: update to revision 1689 (from glibc-bsd).
   * kfreebsd/local-sysdeps-2.4.diff: remove.
   * sysdeps/kfreebsd: enable the ports add-on.
   * sysdeps/kfreebsd-i386.mk: ditto.
   * any/local-stubs_h.diff: new patch to fix a warning in stubs.h.  Closes:
   * alpha/submitted-sigsuspend.diff: new patch (fix the build on alpha) from
     the libc-alpha mailing list.
   * debian/local/manpages/*: fix typos.  Closes: #395427.
   * debian/debhelper.in/libc.dirs: don't provide /sys, now provided by
   * debian/debhelper.in/nscd.init: add lsb header.
   * debian/rules.d/debhelper.mk: add support for installing lintian and linda
     overrides files.
   * debian/debhelper.in/libc.overrides: new file.
   * debian/debhelper.in/libc-dev.overrides: new file.
   * debian/debhelper.in/libc-alt.overrides: new file.
   * debian/debhelper.in/libc-otherbuild.overrides: new file.
   * debian/debhelper.in/libc-dev-otherbuild.overrides: new file.
   * debian/any/submitted-getcwd-sys_param_h.diff: new patch (fix the build
     with linuxthreads) from the libc-alpha mailing list.
   * debian/powerpc/cvs-tls-debug.diff: new patch (fix for debugging
     thread-local variables on powerpc) from CVS.
   * Build depends on gcc-4.2 on hppa to enable TLS on hppa.  Closes: #397813.
   * debian/patches/hppa/cvs-hppa-update.diff: new patch (CVS update).
   * debian/sysdeps/hppa.mk, debian/script.in/kernelcheck.sh: bump minimum
     kernel requirement to 2.6.9 on hppa to get LWS CAS support.
   * debian/any/patches/local-linuxthreads-semaphore_h.diff: new patch (fix
     /usr/include/semaphore.h with linuxthreads).
   * sysdeps/sparc.mk: install 64-bit headers (actually gnu/stubs-64.h)
     directly into /usr/include and provide /usr/include/sparc64-linux-gnu as
     a symlink to /usr/include for compatibility reasons.  Closes: #403980.
   * sysdeps/*.mk: build with -g instead of -g1.  Closes: bug#403270.
   * debhelper.in/libc.install: install gai.conf in /etc.  Closes: #404379.
   * Add patches/any/local-ldconfig-timestamps.diff (use the timestamps to
     update the cache only when needed) by Josselin Mouette.  Closes: #374945.
   * Add partial support for armel, from http://armel-debs.applieddata.net/diffs/.
   * debian/debhelper.in/: delete /usr/doc removal from postinst scripts.
   * debian/control.in: drop the dependency on tzdata. It is a required package
     and the glibc from Etch depends on it, ensuring tzdata is always present
   * debian/script.in/kernelcheck.sh, debian/sysdeps/linux.mk: set the minimum
     kernel version to 2.6.1, except on m68k where it is set to 2.4.1.
   * patches/any/cvs-2.5-branch-update.diff: new patch (2.5 branch update) from
     upstream CVS.
   * patches/any/cvs-lt-update.diff: new patch (linuxthreads update) from
     upstream CVS.
   * debhelper.in/locales.templates: recommends UTF-8 locales by default.
     Closes: #312927.
   * control.in/main, rules.d/debhelper.mk: use dh_shlibdeps to set the
     dependencies of nscd.  Closes: #409288.
   * sysdeps/s390.mk: install 64-bit headers (actually gnu/stubs-64.h)
     directly into /usr/include and provide /usr/include/s390x-linux-gnu as
     a symlink to /usr/include for compatibility reasons.
   * patches/all/local-pthread-manpages.diff: update to fix a typo in
     pthread_detach(3).  Closes: #98852.
   * Change any/local-__thread.diff into any/local-notls.diff.
   * Update any/local-notls.diff (make glibc buildable without TLS support)
     from Petr Salinger and Aurelien Jarno.
   * hurd-i386/submitted-trivia.diff: new patch from Thomas Schwinge (make glibc
     partly buildable on Hurd).
   * hurd-i386/submitted-stat.diff: new patch from Thomas Schwinge (update
     struct stat on Hurd).
   * hurd-i386/submitted-libc_once.diff: new patch from Thomas Schwinge (add
     __libc_once_else to make glibc buildable on Hurd).
   * hurd-i386/local-msg-nosignal.diff: new patch from Thomas Schwinge
     (workaround the missing MSG_NOSIGNAL support).
   * m68k/cvs-m68k-update.diff: new patch (bits from CVS).  Closes: #364098.
   * any/submitted-clock-settime.diff: new patch (include <time.h> to get
   * hurd-i386/local-sigsuspend-nocancel.diff: new patch (workaround missing
     sigsuspend_not_cancel() on Hurd).
   * debhelper.in/glibc-doc.links: add symlinks from pthread_setcanceltype(3),
     pthread_setcancelstate(3) and pthread_testcancel(3) to pthread_cancel(3).
     Closes: #411132.
   * debian/control.in/i386: Changed the conflicts on ia32-libs-dev to a
     versioned conflict.  Closes: #407540.
   * any/local-mktemp.diff: new patch (also propose mkdtemp as an alternative
     to mktemp).  Closes: #377310.
   * any/cvs-ftw-c.diff: new patch (fix nftw() with FTW_CHDIR in /) from CVS.
     Closes: #367522.
   * any/cvs-printf_fp-c.diff: new patch (fix printf %#.0g) from CVS.
     Closes: #209136.
   * New Norwegian bokmål debconf translation, by Bjørn Steensrud.  Closes:
   * Remove patches/arm/local-softfloat.diff and patches/series.arm-softfloat.
     Remove arm-softfloat from debian/rules.d/control.mk. armel (ARM EABI)
     replaces the softfloat architecture.
   * patches/any/cvs-pow.diff: new patch (fix pow(-inf, nan)) from upstream.
     Closes: #226291.
   * Update Catalan debconf translation, by Jordà Polo.  Closes: #413259.
   [ Denis Barbier ]
   * Remove localedata/locale-en_NZ.diff (merged upstream).
   * Remove localedata/locale-nr_ZA.diff (merged upstream).
   * Remove localedata/new-catalan-locales.diff (merged upstream).
   * Remove localedata/update-ZA.diff (merged upstream).
   * Remove localedata/locale-te_IN.diff (merged upstream).
   * Remove locale/iso4217-RON.diff (merged upstream).
   * Update localedata/locales_CH.diff
   * Update localedata/supported.diff
   * Update localedata/locale-hy_AM.diff
   * Update localedata/locale-csb_PL.diff
   * Update localedata/dz_BT-collation.diff
   * Update localedata/locale-ia.diff
   * Update localedata/locales-sr.diff
   * Update localedata/tailor-iso14651_t1.diff
   * Update localedata/fix-lang.diff
   * Update localedata/first_weekday.diff
   [ Pierre Habouzit ]
   * Adding myself to Uploaders.
   * Rework patches/any/local-ldd.diff so that we don't use file(1) anymore (it
     wasn't used anyway). Closes: #165417, #413095.
   * Rework patch for #340871 (patches/m68k/local-mathinline_h.diff to use
     __NTH rather than __THROW) in function implementations.
   * Fix rpcgen(1) manpage, to match rpcgen(1) behaviour more closely.
     Closes: #46175.
   * patches/any/submitted-date-and-unknown-tz.diff: fix date output in case of
     an unknown timezone in $TZ, submitted upstream as #4028.
     Closes: #55648, #119540, #269238.
   [ Michael Banck ]
   * patches/hurd-i386/local-tls.diff: New patch (fixes building with TLS) by
     Samuel Thibault and Barry deFreese.  Closes: #413787.
   [ Clint Adams ]
   * debian/watch: add watch file.
   * debian/control, debian/control.in/opt, debian/control.in/main,
     debian/control.in/libc0.1, debian/control.in/libc,
     debian/debhelper.in/locales.templates: English corrections from
     Christian Perrier for Debconf templates and package descriptions.
     Closes: #418006.
 774ed711906fcbf17b61904a5f71c42c 2264 libs required glibc_2.5-1.dsc
 190100d5306cc8b626ea0e1e2d58d4d1 1106001 libs required glibc_2.5-1.diff.gz
 4cb5f63905e30d0aabffd762d42ca26a 1603236 doc optional glibc-doc_2.5-1_all.deb
 a0ee234032829de853d3eb56496ee7b5 4076516 libs standard locales_2.5-1_all.deb

Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Debian!


--- End Message ---

Reply to: