From owner-freebsd-gnome@FreeBSD.ORG Thu Jan 25 17:50:35 2007 Return-Path: X-Original-To: freebsd-gnome@FreeBSD.org Delivered-To: freebsd-gnome@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A304D16A40E; Thu, 25 Jan 2007 17:50:35 +0000 (UTC) (envelope-from jylefort@FreeBSD.org) Received: from mirapoint3.brutele.be (mirapoint3.brutele.be [212.68.199.148]) by mx1.freebsd.org (Postfix) with ESMTP id C64D313C457; Thu, 25 Jan 2007 17:50:34 +0000 (UTC) (envelope-from jylefort@FreeBSD.org) Received: from host-212-68-244-81.brutele.be (host-212-68-244-81.brutele.be [212.68.244.81]) by mirapoint3.brutele.be (MOS 3.7.5a-GA) with ESMTP id ACR07418; Thu, 25 Jan 2007 18:50:32 +0100 (CET) Received: from jsite.lefort.net (jsite.lefort.net [192.168.1.2]) by gateway.lefort.net (Postfix) with ESMTP id 50A86549A; Thu, 25 Jan 2007 18:50:32 +0100 (CET) Received: from jsite.lefort.net (localhost [127.0.0.1]) by jsite.lefort.net (Postfix) with SMTP id E72BF2D; Thu, 25 Jan 2007 18:50:31 +0100 (CET) Date: Thu, 25 Jan 2007 18:50:31 +0100 From: Jean-Yves Lefort To: pav@FreeBSD.org Message-Id: <20070125185031.0421b071.jylefort@FreeBSD.org> In-Reply-To: <1169743029.21893.88.camel@pav.hide.vol.cz> References: <45B8C3B7.5000606@icyb.net.ua> <20070125171313.45b744b0.jylefort@FreeBSD.org> <1169743029.21893.88.camel@pav.hide.vol.cz> X-Mailer: Sylpheed running on FreeBSD Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Thu__25_Jan_2007_18_50_31_+0100_4c=v5u9P0D=ces9U" X-Junkmail-Status: score=10/50, host=mirapoint3.brutele.be X-Junkmail-SD-Raw: score=unknown, refid=str=0001.0A090209.45B8EDE9.000A,ss=1,fgs=0, ip=212.68.244.81, so=2006-05-09 23:27:51, dmn=5.2.125/2006-10-10 Cc: Andriy Gapon , freebsd-gnome@FreeBSD.org Subject: Re: problem with devel/glib20+COLLATION_FIX=yes+devel/icu+THREADS=yes X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Jan 2007 17:50:35 -0000 --Signature=_Thu__25_Jan_2007_18_50_31_+0100_4c=v5u9P0D=ces9U Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit On Thu, 25 Jan 2007 17:37:09 +0100 Pav Lucistnik wrote: > Jean-Yves Lefort píše v čt 25. 01. 2007 v 17:13 +0100: > > On Thu, 25 Jan 2007 16:50:31 +0200 > > Andriy Gapon wrote: > > > > > The problem with combination of port devel/glib20 config-ed with > > > COLLATION_FIX=yes and port devel/icu config-ed with THREADS=yes is that > > > glib2 pkg-config files are not updated with new dependencies coming from > > > icu. When icu is built with threads support then icu shared libraries > > > become dependent on system thread library (libthr/libpthread) and thus > > > glib20 libraries also become dependent on system thread library (when > > > COLLATION_FIX=yes). But this dependency is not reflected in pkg-config > > > --libs. > > > > > > [...] > > > > This and other similar problems (inability to dlopen() a library using > > libpthread from a program not using libpthread, etc) is caused of the > > unfortunate use of -pthread instead of -lpthread in the definition of > > PTHREAD_LIBS (see the commit message of bsd.port.mk revision 1.499). > > > > To fix it, one should revert PTHREAD_LIBS to -lpthread in bsd.port.mk > > and handle the resulting ports tree chaos. > > I thought this can be solved by fixing the stubs in libc ? That's a prerequisite. Had I read the initial mail slower, I'd have noticed the libpthread occurrence in the ldd output of libicuuc, meaning that icu ignores PTHREAD_LIBS and uses -lpthread instead. -- Jean-Yves Lefort jylefort@FreeBSD.org http://lefort.be.eu.org/ --Signature=_Thu__25_Jan_2007_18_50_31_+0100_4c=v5u9P0D=ces9U Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFFuO3nyzD7UaO4AGoRAkxZAJ44yc9zTusu5epJUHZ5G4oh8SVjcgCcCkqF +PGlLAzmKIcuOB2N3hh4w0Q= =Ebvx -----END PGP SIGNATURE----- --Signature=_Thu__25_Jan_2007_18_50_31_+0100_4c=v5u9P0D=ces9U--