[xml/sgml-pkgs] Bug#551079: libexpat1: links with -lpthread for no reason

Julien Cristau jcristau at debian.org
Thu Oct 15 13:05:02 UTC 2009


Package: libexpat1
Version: 2.0.1-4
Severity: normal

< ickle> jcristau: libfontconfig pulls in pthreads [debian]
 * ickle starts recompiling the whole damn stack to lose the pthread 
    dependency, gah!
< pq> what's wrong with pthread? Or for distribution?
< ickle> just the excessive performance cost when running single-threaded
< ickle> jcristau: it appears that the debian package of expat links 
         against libpthread.so, but not when compiled from source...
< ickle> yay for uncommented changes: expat (1.95.8-1) unstable; 
         urgency=low
< ickle>  * debian/rules: added '-pthread -D_REENTRANT' to 'CFLAGS'
< ickle>  but no explanation :(

Any chance you could remove this unnecessary -pthread from debian/rules?
Or is there a hidden non-obvious reason to keep it there (not that I can
see what that could possibly be)?

Thanks,
Julien

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (101, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libexpat1 depends on:
ii  libc6                         2.9-27     GNU C Library: Shared libraries

libexpat1 recommends no packages.

libexpat1 suggests no packages.

-- no debconf information





More information about the debian-xml-sgml-pkgs mailing list