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

Bug#271298: marked as done (glibc: Please use nptl instead of linuxthreads on amd64)



Your message dated Sun, 17 Oct 2004 17:03:41 +0200
with message-id <20041017150341.GA11040@andaco.de>
and subject line Bug#271298: glibc: Please use nptl instead of linuxthreads on amd64
has caused the attached Bug report to be marked as done.

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

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

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

--------------------------------------
Received: (at submit) by bugs.debian.org; 12 Sep 2004 13:35:32 +0000
>From aj@andaco.de Sun Sep 12 06:35:32 2004
Return-path: <aj@andaco.de>
Received: from b111127.adsl.hansenet.de (localhost) [62.109.111.127] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1C6UVv-00085l-00; Sun, 12 Sep 2004 06:35:32 -0700
Received: from aj by localhost with local (Exim 4.34)
	id 1C6UXg-0007lQ-5D; Sun, 12 Sep 2004 15:37:20 +0200
To: Debian Bug Tracking System <submit@bugs.debian.org>
From: Andreas Jochens <aj@andaco.de>
Subject: glibc: Please use nptl instead of linuxthreads on amd64
Message-Id: <E1C6UXg-0007lQ-5D@localhost>
Date: Sun, 12 Sep 2004 15:37:20 +0200
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Package: glibc
Severity: wishlist
Tags: patch

The attached patch changes the following file of the glibc package:

* debian/sysdeps/amd64.mk:

    Drop the 'nptl' pass from GLIBC_PASSES.

    Use 'nptl' instead of 'linuxthreads' in the 'libc' pass (this requires 
    kernel >= 2.6.0, but 2.4 is not supported by the amd64 port anyway).


There had been some complaints about the default use of linuxthreads 
(instead of nptl) on amd64.
In response to these complaints a glibc package with this patch applied 
has been used by the amd64/gcc-3.4 experimental archive on alioth since 
a few weeks (without problems so far).

Regards
Andreas Jochens

--- amd64.mk	2004-09-12 15:18:37.216153000 +0200
+++ debian/sysdeps/amd64.mk	2004-09-12 15:19:09.390261953 +0200
@@ -1,11 +1,14 @@
 CC = gcc
 BUILD_CC = gcc
 
-GLIBC_PASSES += nptl
-nptl_extra_cflags = -O3 -fomit-frame-pointer -D__USE_STRING_INLINES
+# build libc with nptl instead of linuxthreads
+libc_MIN_KERNEL_SUPPORTED = 2.6.0
+libc_add-ons = nptl $(add-ons)
+libc_extra_cflags = -O3 -fomit-frame-pointer -D__USE_STRING_INLINES
+libc_extra_config_options := $(extra_config_options) --with-tls --with-__thread
 
 # work around patch for gcc-3.4: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=260710
 BUILD_CC_VERSION := $(shell $(BUILD_CC) -dumpversion | sed 's/\([0-9]*\.[0-9]*\)\(.*\)/\1/')
 ifeq ($(BUILD_CC_VERSION),3.4)
-	nptl_extra_cflags += -g0
+	libc_extra_cflags += -g0
 endif

---------------------------------------
Received: (at 271298-done) by bugs.debian.org; 17 Oct 2004 15:03:46 +0000
>From aj@andaco.de Sun Oct 17 08:03:46 2004
Return-path: <aj@andaco.de>
Received: from d040109.adsl.hansenet.de (aj.andaco.de) [80.171.40.109] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CJCZU-0006E2-00; Sun, 17 Oct 2004 08:03:46 -0700
Received: from aj by aj.andaco.de with local (Exim 4.34)
	id 1CJCZR-0002sX-4O; Sun, 17 Oct 2004 17:03:41 +0200
Date: Sun, 17 Oct 2004 17:03:41 +0200
To: 271298-done@bugs.debian.org
Subject: Re: Bug#271298: glibc: Please use nptl instead of linuxthreads on amd64
Message-ID: <20041017150341.GA11040@andaco.de>
References: <E1C6UXg-0007lQ-5D@localhost> <813c1mr9du.wl@omega.webmasters.gr.jp> <20040913072139.GA7736@andaco.de> <81sm9lpp8k.wl@omega.webmasters.gr.jp> <20040914085925.GA12236@andaco.de> <81r7oqoepn.wl@omega.webmasters.gr.jp>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <81r7oqoepn.wl@omega.webmasters.gr.jp>
User-Agent: Mutt/1.5.6+20040907i
From: Andreas Jochens <aj@andaco.de>
Delivered-To: 271298-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

The patch has been included in version 2.3.2.ds1-17 (thanks!).

Regards
Andreas Jochens



Reply to: