From owner-freebsd-ports@FreeBSD.ORG Sun Apr 10 23:02:45 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3509016A4CE for ; Sun, 10 Apr 2005 23:02:45 +0000 (GMT) Received: from mail.gmx.net (pop.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 0296143D31 for ; Sun, 10 Apr 2005 23:02:44 +0000 (GMT) (envelope-from michaelnottebrock@gmx.net) Received: (qmail invoked by alias); 10 Apr 2005 23:02:42 -0000 Received: from p508BF99D.dip.t-dialin.net (EHLO lofi.dyndns.org) [80.139.249.157] by mail.gmx.net (mp006) with SMTP; 11 Apr 2005 01:02:42 +0200 X-Authenticated: #443188 Received: from kiste.my.domain (lofi@kiste.my.domain [192.168.8.4]) (authenticated bits=0) by lofi.dyndns.org (8.13.3/8.12.10) with ESMTP id j3AN2RWM084212 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Mon, 11 Apr 2005 01:02:38 +0200 (CEST) (envelope-from michaelnottebrock@gmx.net) From: Michael Nottebrock To: freebsd-ports@freebsd.org Date: Mon, 11 Apr 2005 01:02:21 +0200 User-Agent: KMail/1.8 References: <200504110043.30666.michaelnottebrock@gmx.net> In-Reply-To: <200504110043.30666.michaelnottebrock@gmx.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1760111.JXa4rmyH3l"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200504110102.26154.michaelnottebrock@gmx.net> X-Virus-Scanned: by amavisd-new X-Y-GMX-Trusted: 0 cc: "Alexander S. Usov" Subject: Re: Using -as-needed in KDE X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Apr 2005 23:02:45 -0000 --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--