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

Ardo van Rangelrooij ardo at ardolabs.com
Sun Oct 25 03:51:32 UTC 2009


Daniel Leidert wrote:
> Hi Ardo,
> 
> Can you coment on this please? You've added the flags for expat in 2004,
> but maybe you remember for what?
> 
> Regards, Daniel
> 
> Am Donnerstag, den 15.10.2009, 15:05 +0200 schrieb Julien Cristau:
> 
>> < 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)?

Hello Daniel,

This was added per request from Raphael Bossek:

> Please consider to extend the compilerflags with -pthread -D_REENTRANT.
> This is required for my python-4suite package and all other
> multi-threaded applications.

Thanks,
Ardo
-- 
Ardo van Rangelrooij                                     Debian XML/SGML Group
<ardo at debian.org>              <debian-xml-sgml-devel at lists.alioth.debian.org>
http://people.debian.org/~ardo/      http://debian-xml-sgml.alioth.debian.org/





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