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

Bug#361064: marked as done (glibc: [patch] make building glibc-2.4 without __thread support possible)



Your message dated Tue, 08 Aug 2006 10:32:39 -0700
with message-id <E1GAVRX-0008SW-6v@spohr.debian.org>
and subject line Bug#361064: fixed in glibc 2.3.999.2-10
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: glibc
Version: 2.3.999-1
Tags: experimental, patch

Hi,

the Hurd/Mach still has no TLS or __thread support.  This is not that
big of a problem as there is --without-tls, but glibc-2.4 uses __thread
unconditionally at one place and Ulrich Drepper refused to support
systems without __thread support (see
http://sourceware.org/ml/libc-alpha/2005-08/msg00091.html ).

The attached patch fixes building on system without __thread support
(i.e. hurd-i386), is it OK to apply to the 2.4 branch?


cheers,

Michael
# All lines beginning with `# DP:' are a description of the patch.
# DP: Description: Fix build when __thread is not available.
# DP: Dpatch author: Michael Banck <mbanck@debian.org>
# DP: Patch author: Thomas Schwinge
# DP: Upstream status: Rejected
# DP: Date: 2005-08-28

2005-08-28  Thomas Schwinge  <schwinge@nic-nac-project.de>

	malloc/memusage.c: Only use __thread if USE___THREAD.


Index: malloc/memusage.c
===================================================================
RCS file: /cvs/glibc/libc/malloc/memusage.c,v
retrieving revision 1.12
diff -u -r1.12 memusage.c
--- malloc/memusage.c	20 Aug 2005 01:12:37 -0000	1.12
+++ malloc/memusage.c	27 Aug 2005 23:43:02 -0000
@@ -83,7 +83,11 @@
 static memusage_cntr_t decreasing_mremap;
 static memusage_size_t current_heap;
 static memusage_size_t peak_use[3];
+#if USE___THREAD
 static __thread uintptr_t start_sp;
+#else
+static uintptr_t start_sp;
+#endif
 
 /* A few macros to make the source more readable.  */
 #define peak_heap	peak_use[0]

--- End Message ---
--- Begin Message ---
Source: glibc
Source-Version: 2.3.999.2-10

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

glibc-doc_2.3.999.2-10_all.deb
  to pool/main/g/glibc/glibc-doc_2.3.999.2-10_all.deb
glibc_2.3.999.2-10.diff.gz
  to pool/main/g/glibc/glibc_2.3.999.2-10.diff.gz
glibc_2.3.999.2-10.dsc
  to pool/main/g/glibc/glibc_2.3.999.2-10.dsc
libc6-dbg_2.3.999.2-10_amd64.deb
  to pool/main/g/glibc/libc6-dbg_2.3.999.2-10_amd64.deb
libc6-dev-i386_2.3.999.2-10_amd64.deb
  to pool/main/g/glibc/libc6-dev-i386_2.3.999.2-10_amd64.deb
libc6-dev_2.3.999.2-10_amd64.deb
  to pool/main/g/glibc/libc6-dev_2.3.999.2-10_amd64.deb
libc6-i386_2.3.999.2-10_amd64.deb
  to pool/main/g/glibc/libc6-i386_2.3.999.2-10_amd64.deb
libc6-pic_2.3.999.2-10_amd64.deb
  to pool/main/g/glibc/libc6-pic_2.3.999.2-10_amd64.deb
libc6-prof_2.3.999.2-10_amd64.deb
  to pool/main/g/glibc/libc6-prof_2.3.999.2-10_amd64.deb
libc6-udeb_2.3.999.2-10_amd64.udeb
  to pool/main/g/glibc/libc6-udeb_2.3.999.2-10_amd64.udeb
libc6_2.3.999.2-10_amd64.deb
  to pool/main/g/glibc/libc6_2.3.999.2-10_amd64.deb
libnss-dns-udeb_2.3.999.2-10_amd64.udeb
  to pool/main/g/glibc/libnss-dns-udeb_2.3.999.2-10_amd64.udeb
libnss-files-udeb_2.3.999.2-10_amd64.udeb
  to pool/main/g/glibc/libnss-files-udeb_2.3.999.2-10_amd64.udeb
locales-all_2.3.999.2-10_amd64.deb
  to pool/main/g/glibc/locales-all_2.3.999.2-10_amd64.deb
locales_2.3.999.2-10_all.deb
  to pool/main/g/glibc/locales_2.3.999.2-10_all.deb
nscd_2.3.999.2-10_amd64.deb
  to pool/main/g/glibc/nscd_2.3.999.2-10_amd64.deb



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

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

Debian distribution maintenance software
pp.
Aurelien Jarno <aurelien@aurel32.net> (supplier of updated glibc package)

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


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

Format: 1.7
Date: Tue,  8 Aug 2006 17:38:54 +0200
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 libc6.1-dev libc6-s390x libnss-files-udeb libc6-dev-sparc64 libc6-i386 libc0.3-dev libc6-udeb libc6-dbg libc6.1-pic libc6-dev libc0.3-prof libc6-sparcv9 libc0.1-udeb libc6-dev-i386 libc6.1-prof libc0.1-dev locales libc6-pic libc0.3-udeb 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 amd64 all
Version: 2.3.999.2-10
Distribution: unstable
Urgency: low
Maintainer: GNU Libc Maintainers <debian-glibc@lists.debian.org>
Changed-By: Aurelien Jarno <aurelien@aurel32.net>
Description: 
 glibc-doc  - GNU C Library: Documentation
 libc6      - GNU C Library: Shared libraries
 libc6-dbg  - GNU C Library: Libraries with debugging symbols
 libc6-dev  - GNU C Library: Development Libraries and Header Files
 libc6-dev-i386 - GNU C Library: 32bit development libraries for AMD64
 libc6-i386 - GNU C Library: 32bit shared libraries for AMD64
 libc6-pic  - GNU C Library: PIC archive library
 libc6-prof - GNU C Library: Profiling Libraries
 libc6-udeb - GNU C Library: Shared libraries - udeb (udeb)
 libnss-dns-udeb - GNU C Library: NSS helper for DNS - udeb (udeb)
 libnss-files-udeb - GNU C Library: NSS helper for files - udeb (udeb)
 locales    - GNU C Library: National Language (locale) data [support]
 locales-all - GNU C Library: Precompiled locale data
 nscd       - GNU C Library: Name Service Cache Daemon
Closes: 181494 361064
Changes: 
 glibc (2.3.999.2-10) unstable; urgency=low
 .
   [ Clint Adams ]
   * New upstream version 2.4.
     - Remove all/cvs-manual-memory.diff (merged upstream).
     - Remove all/cvs-manual-string.diff (merged upstream).
     - Remove any/cvs-divdi3-moddi3.diff (merged upstream).
     - Remove any/cvs-errlist.diff (merged upstream).
     - Remove any/cvs-siginfo_h.diff (merged upstream).
     - Remove any/cvs-regcomp_c.diff (merged upstream).
     - Remove any/cvs-tst-setcontext_c.diff (merged upstream).
     - Remove any/local-dash.diff (merged upstream).
     - Remove any/local-gcc4-elf.diff (merged upstream).
     - Remove powerpc/cvs-executable-got.diff (merged upstream).
     - Remove sparc/cvs-datastart.diff (merged upstream).
     - Remove sparc/cvs-gcc4-inline.diff (merged upstream).
     - Remove sparc/local-gcc4-mv8.diff (merged upstream).
     - Remove sparc/submitted-socket-weakalias.diff (merged upstream).
     - Remove everything to do with nscd_nischeck.
     - Update any/local-linuxthreads-sizefix.diff.
     - Update hppa/submitted-lt.diff.
     - debian/shlibver: Bump up to 2.4-1.
     - Add any/local-bashisms.diff: fix invalid test operator (==)
       in run-iconv-test.sh
     - debian/rules.d/build.mk: don't try to build html documentation.
     - debian/sysdeps/hppa.mk: use ports add-on
     - debian/sysdeps/m68k.mk: use ports add-on
     - debian/sysdeps/mips.mk: use ports add-on
     - debian/sysdeps/mipsel.mk: use ports add-on
     - debian/sysdeps/arm.mk: use ports add-on
     - Build with gcc 4.1 on all architectures.
     - debian/debhelper.in/nscd.init: partially sync nscd initscript
       with upstream.
     - Remove mips/local-librt.diff.
     - debian/rules.d/tarball.mk: no longer run tar with -v.
     - Add hppa/cvs-portshead.patch (update hppa code to ports HEAD)
     - Disable hppa/submitted-sysdeps.diff, hppa/local-gcc-4-profile.diff,
       hppa/submitted-iitlbp.diff, hppa/cvs-pie-relocs.diff,
       hppa/cvs-no-ldbl-128.diff.
     - Add arm/cvs-portshead.patch (update arm code to ports HEAD)
     - Add mips/cvs-portshead.patch (update mips code to ports HEAD)
 .
   [ Denis Barbier ]
     - Remove locale/complex-collate.diff (merged upstream).
     - Remove locale/cvs-{iso4217,iso639}.diff, locale/cvs-localedata.diff
     - Remove from any/local-forward-backward-collation.diff a chunk merged
       upstream.
     - debian/rules.d/tarball.mk: glibc-<foo>-2.4.tar.bz2 add-on unpacks
       into either <foo> or glibc-<foo>-2.4, in which case it is renamed
       into <foo>.
     - Remove the GNU Libc Reference manual from glibc-doc because it is
       not DFSG-free.  (Closes: #181494)
       The whole glibc-2.4/manual directory is removed from glibc-2.4.tar.bz2.
     - debian/control: Drop Build-Depends: texinfo, texi2html.
     - debian/control: Drop references to the antique libc-doc package.
 .
   [ Michael Banck ]
   * debian/sysdeps/hurd.mk: Only use libidn for add-ons.
 .
   [ Aurelien Jarno ]
   * Update all/submitted-new-brf-encoding.diff.
   * Remove alpha/cvs-gcc4-profile.diff (not needed anymore).
   * Update alpha/submitted-xstat.diff.
   * Update arm/cvs-gcc4-inline.diff.
   * Remove arm/cvs-gcc4.1-raise.diff (merged upstream).
   * Remove arm/cvs-float-byteorder.diff (merged upstream).
   * Remove arm/cvs-socket-weakalias.diff (merged upstream).
   * Update arm/local-ioperm.diff to reflect the new port add-on.
   * Update arm/local-no-hwcap.diff to reflect the new port add-on.
   * Remove any/cvs-argp_h.diff (merged upstream).
   * Remove any/cvs-ctan.diff (merged upstream).
   * Remove any/cvs-futimes.diff (merged upstream).
   * Remove any/cvs-nfs_h.diff (merged upstream).
   * Remove any/cvs-path_log.diff (merged upstream).
   * Remove any/cvs-resource_h.diff (merged upstream).
   * Remove any/cvs-tls-crashfix.diff (merged upstream).
   * Remove any/local-kernel-features.diff (merged upstream).
   * Update any/local-ldso-disable-hwcap.diff.
   * Update any/local-linuxthreads-sizefix.diff.
   * Update any/local-rtld.diff.
   * Update any/local-version-sanity.diff.
   * Remove any/submitted-eh-frame-terminator.diff (merged upstream).
   * Update any/submitted-nis-netgrp.diff.
   * Remove i386/local-i486_ldt_support.diff (merged upstream).
   * Remove ia64/cvs-gcc41-atomic_h.diff (merged upstream).
   * Remove hppa/cvs-linesep.diff (merged upstream).
   * Update hppa/cvs-no-ldbl-128.diff to reflect the new port add-on.
   * Update hppa/cvs-pie-relocs.diff to reflect the new port add-on.
   * Update hppa/local-gcc-4-profile.diff to reflect the new port add-on.
   * Update hppa/local-inlining.diff to reflect the new port add-on.
   * Update hppa/submitted-drop-utimes.diff.
   * Update hppa/submitted-fenv-align.diff to reflect the new port add-on.
   * Update hppa/submitted-fpu.diff to reflect the new port add-on.
   * Update hppa/submitted-iitlbp.diff to reflect the new port add-on.
   * Update hppa/submitted-sysdeps.diff.
   * Remove hurd-i386/cvs-ioctl-pfinet.diff (merged upstream).
   * Remove hurd-i386/cvs-getresuid-dyslexia.diff (merged upstream).
   * Remove hurd-i386/cvs-posix-opts.diff (merged upstream).
   * Update hurd-i386/submitted-sysvshm.diff.
   * Remove kfreebsd/local-nscd_no_mremap.diff (not necessary anymore).
   * Update kfreebsd/local-scripts.diff.
   * Add kfreebsd/local-ftw.diff.
   * Add kfreebsd/local-sysdeps-2.4.diff.
   * Add kfreebsd/local-memusage_no_mremap.diff.
   * Remove m32r/cvs-elf-m32r_rel32.diff (merged upstream).
   * Update m68k/local-compat.diff.
   * Update m68k/local-mathinline_h.diff to reflect the new port add-on.
   * Update m68k/local-fpic.diff.
   * Update m68k/local-reloc.diff to reflect the new port add-on.
   * Update m68k/submitted-gcc34-seccomment.diff.
   * Remove mips/cvs-gcc4-inline.diff (merged upstream).
   * Remove mips/cvs-gcc4-sysdeps.diff (merged upstream).
   * Update mips/submitted-msq.diff to reflect the new port add-on.
   * Remove powerpc/cvs-gcc41-initfini.diff (merged upstream).
   * Update any/local-libgcc-compat-{all,others}.diff and split them into
     any/local-libgcc-compat-{main,ports}.diff.
   * Add sparc/local-fork.diff (use fork.c instead of fork.S).
   * Add any/local-__thread.diff (make glibc buildable without __thread support)
     from Michael Banck.  (Closes: #361064)
   * debian/sysdeps/m68k.mk: use linuxthreads instead of NPTL.
   * debian/sysdeps/m32r.mk: use linuxthreads instead of NPTL.
   * debian/script.in/kernelcheck.sh: set the minimum kernel version to 2.6.0,
     except on m68k where it is set to 2.4.1.
 .
   [Jeff Bailey]
 .
   * debian/control.in/libc: Move tzdata dependancy to ...
   * debian/sysdeps/depflags.mk: ... here.
 .
   * debian/sysdeps/powerpc.mk: Include biarch headers in libc6-dev-ppc64
 .
   * debian/patches/any/local-dynamic-resolvconf.diff: New file to
     check for updated resolv.conf before a nameserver call.
   * debian/patches/series: Use it.
   *
Files: 
 8de4e222f3cd5c0b224b94d49024e076 2141 libs required glibc_2.3.999.2-10.dsc
 c9e151ab4a75cea2b83d274fea4c0367 801899 libs required glibc_2.3.999.2-10.diff.gz
 71a9f0ef6611127fe6e609a3f1688912 1653078 doc optional glibc-doc_2.3.999.2-10_all.deb
 46cdc42276f8c69fdb91ab17aef429a4 3986026 libs standard locales_2.3.999.2-10_all.deb
 a4fa937b16dd4da7558200a3386c2b16 4713760 libs required libc6_2.3.999.2-10_amd64.deb
 98935bdfad4d641a4c9b2647fa410459 2142562 libdevel standard libc6-dev_2.3.999.2-10_amd64.deb
 7e3ed3517e842452e0fac187a8f01ab9 1593830 libdevel extra libc6-prof_2.3.999.2-10_amd64.deb
 1a84c532b75ff5afc96da930b079df0e 1409344 libdevel optional libc6-pic_2.3.999.2-10_amd64.deb
 1e3a400135061b7996f6e8f4cc1d937b 14791618 libs extra locales-all_2.3.999.2-10_amd64.deb
 163aff19cc172434894ad6a4b86e0a27 3517568 libs standard libc6-i386_2.3.999.2-10_amd64.deb
 eaa822219f4fcbba2d6f1578cedf496d 1604654 libdevel optional libc6-dev-i386_2.3.999.2-10_amd64.deb
 4baee3acf70737817cd4ddcdb4a8dd14 144642 admin optional nscd_2.3.999.2-10_amd64.deb
 807e93e451bf496d0ce3b42c0915a0ee 2397312 libdevel extra libc6-dbg_2.3.999.2-10_amd64.deb
 b41da7e2902150f577528737f8408e11 1043024 debian-installer extra libc6-udeb_2.3.999.2-10_amd64.udeb
 3201e5dd14d5f44a71c8c3bcca3d37ac 9568 debian-installer extra libnss-dns-udeb_2.3.999.2-10_amd64.udeb
 2d1b841f231ab2f16a22761e49ca9999 17266 debian-installer extra libnss-files-udeb_2.3.999.2-10_amd64.udeb
Package-Type: udeb

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

iD8DBQFE2MTew3ao2vG823MRApnrAJ9JGM3cGa4f1lgXb9UWI+kfkb2EVwCghhBN
Rd9W2pQsjMEtzSzPSCAQAUE=
=XMhe
-----END PGP SIGNATURE-----


--- End Message ---

Reply to: