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

Bug#276062: libc6-dev: Different thread model when linking in static mode or dynamic mode on 2.6 kernel



Package: libc6-dev
Version: 2.3.2.ds1-17
Severity: important

Trying to reduce the memory consuption of a RT process by using static
libraries rather than dynamic ones (VmSize 87 Mb -> 35 Mb so _yes_ this 
is worth doing especially due to the needed mlockall system call) I 
noticed that the static version was using linuxthread POSIX pthread 
implementation while the dynamic version was _correctly_ using the 
NPTL 0.60 one's. I think this is rather not correct especially when 
nothing prevents to use NPTL version compiled statically. 
Other distro's (mandrake, red hat) provide at least a static 
version of the NPTL/LIBC/RT combination.

May I recall that the NPLT implementation has major avantages :
	- POSIX conformance,
	- Threading performance,
	- Easier to follow (no fake process...),

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.9-rc2
Locale: LANG=en_IE@euro, LC_CTYPE=en_IE (ignored: LC_ALL set to en_IE@euro)

Versions of packages libc6-dev depends on:
ii  libc6                2.3.2.ds1-17        GNU C Library: Shared libraries an
ii  linux-kernel-headers 2.5.999-test7-bk-17 Linux Kernel Headers for developme

-- no debconf information



Reply to: