Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Apr 2005 01:02:21 +0200
From:      Michael Nottebrock <michaelnottebrock@gmx.net>
To:        freebsd-ports@freebsd.org
Cc:        "Alexander S. Usov" <A.S.Usov@kvi.nl>
Subject:   Re: Using -as-needed in KDE
Message-ID:  <200504110102.26154.michaelnottebrock@gmx.net>
In-Reply-To: <200504110043.30666.michaelnottebrock@gmx.net>
References:  <d3c7sp$q5r$1@sea.gmane.org> <200504110043.30666.michaelnottebrock@gmx.net>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart1760111.JXa4rmyH3l
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Monday, 11. April 2005 00:43, Michael Nottebrock wrote:
> On Monday, 11. April 2005 00:06, Alexander S. Usov wrote:
> > Hi!
> >
> > Recently I found somewhat strange patch to Mk/bsd.kde.mk :
> >
> > Revision 1.47
> > Globally disable -Wl,-as-needed for all users of USE_KDELIBS_VER.
> > Binaries linked with -pthread and -Wl,as-needed will have all
> > references to libphthread stripped (reason/reasoning unknown),
> > causing funny runtime errors when Qt decides to fire up a thread.

Actually, KDE itself turned off -as-needed by default shortly before KDE 3.=
4=20
was branched, since it was causing too many funky problems, so the extra=20
CONFIGURE_ARGS in bsd.kde.mk is mostly a no-op (except for programs which=20
ship with an admin-dir from KDE-HEAD on the road to 3.4).

We've put in an honest effort to get things to work with -as-needed during =
the=20
the KDE 3.4 shakedown, but the long story short is that the feature is just=
=20
too unreliable and causes too many problems. Libpthread also isn't the only=
=20
library that ld manages to magically spirit away, it's just the most obviou=
s=20
showstopper for KDE.

=2D-=20
   ,_,   | Michael Nottebrock               | lofi@freebsd.org
 (/^ ^\) | FreeBSD - The Power to Serve     | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org

--nextPart1760111.JXa4rmyH3l
Content-Type: application/pgp-signature

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

iD8DBQBCWbCCXhc68WspdLARAl5fAJ9t2q6RRw9B6g31r90zY+Apup0abwCgoRdi
lexKZhQIx7VWfztefIK+H7U=
=Oo0F
-----END PGP SIGNATURE-----

--nextPart1760111.JXa4rmyH3l--



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