problem with devel/glib20+COLLATION_FIX=yes+devel/icu+THREADS=yes

Pav Lucistnik pav at FreeBSD.org
Thu Jan 25 16:55:53 UTC 2007


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 <avg at icyb.net.ua> 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 ?

-- 
Pav Lucistnik <pav at oook.cz>
              <pav at FreeBSD.org>

East or west, ~ is best.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: Toto je =?UTF-8?Q?digit=C3=A1ln=C4=9B?=
	=?ISO-8859-1?Q?_podepsan=E1?= =?UTF-8?Q?_=C4=8D=C3=A1st?=
	=?ISO-8859-1?Q?_zpr=E1vy?=
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20070125/da49387f/attachment.pgp


More information about the freebsd-gnome mailing list