From owner-freebsd-current@FreeBSD.ORG Tue Sep 23 22:34:22 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 122DB16A4B3; Tue, 23 Sep 2003 22:34:22 -0700 (PDT) Received: from basement.kutulu.org (pcp03610121pcs.longhl01.md.comcast.net [68.49.239.235]) by mx1.FreeBSD.org (Postfix) with ESMTP id BF91543FDD; Tue, 23 Sep 2003 22:34:18 -0700 (PDT) (envelope-from kutulu@kutulu.org) Received: from wombat.localnet (wombat.localnet [192.168.69.3]) by basement.kutulu.org (Postfix) with ESMTP id B056EA97F; Wed, 24 Sep 2003 01:34:13 -0400 (EDT) Received: by wombat.localnet (Postfix, from userid 1001) id 6F9DEB926; Wed, 24 Sep 2003 01:34:13 -0400 (EDT) Date: Wed, 24 Sep 2003 01:34:13 -0400 From: Michael Edenfield To: Kris Kennaway Message-ID: <20030924053413.GA28722@wombat.localnet> Mail-Followup-To: Kris Kennaway , current@FreeBSD.org, ports@FreeBSD.org, deischen@FreeBSD.org, jb@FreeBSD.org References: <20030924021820.GA55388@rot13.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="X1bOJ3K7DJ5YkBrT" Content-Disposition: inline In-Reply-To: <20030924021820.GA55388@rot13.obsecurity.org> X-Mailer: Mutt http://www.mutt.org/ X-Accept-Language: en X-PGP-Key: http://www.kutulu.org/pgp/kutulu.asc X-PGP-Fingerprint: 1CE0 3C31 7013 D529 406D 37DC 09CC CD84 A46C 878F User-Agent: Mutt/1.5.4i cc: ports@FreeBSD.org cc: deischen@FreeBSD.org cc: jb@FreeBSD.org cc: current@FreeBSD.org Subject: Re: Initial list of ports that fail due to -pthread X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Sep 2003 05:34:22 -0000 --X1bOJ3K7DJ5YkBrT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline * Kris Kennaway [030923 22:21]: > Here is a partial list of the ports that need to be taught to respect > PTHREAD_LIBS and PTHREAD_CFLAGS, from the latest 5.x package build (I > just grepped for the "-pthread is deprecated" error message). None of One very important group of ports that should get looked at when this gets worked out is KDE. Apparently, Qt uses a different means of determining wether to use threading, than the ports that depend on it. The qt-using ports appear to check for -lpthread, then c++ -pthread, and if neither of those checks pass, disable threading: checking for pthread_create in -lpthread... no checking whether c++ supports -pthread... no However, Qt somehow knows that threads are supported and installs the libqt-mt version of it's libraries. The dependant ports then look for -lqt, not -lqt-mt, since they've disabled threading. I haven't updated my gcc since -pthread started working again, and this doesn't generate the typical "-pthread is deprecated" error, so I've been pulling my hair out for two days over it :) --Mike --X1bOJ3K7DJ5YkBrT Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/cSzVCczNhKRsh48RAkb2AJ9CcpOPJnYNWrIb1nvjP1ggMJ+5EgCgx/12 kb12IGRbxKz1hC9kWImnwsU= =h1G5 -----END PGP SIGNATURE----- --X1bOJ3K7DJ5YkBrT--