Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jan 2007 17:13:13 +0100
From:      Jean-Yves Lefort <jylefort@FreeBSD.org>
To:        Andriy Gapon <avg@icyb.net.ua>
Cc:        freebsd-gnome@freebsd.org
Subject:   Re: problem with devel/glib20+COLLATION_FIX=yes+devel/icu+THREADS=yes
Message-ID:  <20070125171313.45b744b0.jylefort@FreeBSD.org>
In-Reply-To: <45B8C3B7.5000606@icyb.net.ua>
References:  <45B8C3B7.5000606@icyb.net.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
--Signature=_Thu__25_Jan_2007_17_13_13_+0100_XpYWdWxJnwr_8ZAq
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

On Thu, 25 Jan 2007 16:50:31 +0200
Andriy Gapon <avg@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.

--
Jean-Yves Lefort

jylefort@FreeBSD.org
http://lefort.be.eu.org/

--Signature=_Thu__25_Jan_2007_17_13_13_+0100_XpYWdWxJnwr_8ZAq
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)

iD8DBQFFuNcfyzD7UaO4AGoRApoOAJ98wjFNsjYnSHlxgX9aC/rBJV8yNwCfd+Va
uOHWQphhBavZyZgdq2iMQ+c=
=qwNm
-----END PGP SIGNATURE-----

--Signature=_Thu__25_Jan_2007_17_13_13_+0100_XpYWdWxJnwr_8ZAq--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070125171313.45b744b0.jylefort>