From owner-freebsd-ports Sun Mar 18 16:29:17 2001 Delivered-To: freebsd-ports@freebsd.org Received: from gforce.homelan.net (24-240-126-32.hsacorp.net [24.240.126.32]) by hub.freebsd.org (Postfix) with ESMTP id 4832F37B718; Sun, 18 Mar 2001 16:29:12 -0800 (PST) (envelope-from glennpj@charter.net) Received: (from glenn@localhost) by gforce.homelan.net (8.11.3/8.11.3) id f2J0RtN00830; Sun, 18 Mar 2001 18:27:55 -0600 (CST) (envelope-from glenn) From: Glenn Johnson Date: Sun, 18 Mar 2001 18:27:54 -0600 To: Dag-Erling Smorgrav Cc: Will Andrews , FreeBSD Ports , sobomax@FreeBSD.ORG, knu@FreeBSD.ORG Subject: Re: Qt2X business (KDE2, GL support and XFree86 4.0.2_2+ & xthreads) Message-ID: <20010318182754.A749@gforce.homelan.net> Mail-Followup-To: glenn@FreeBSD.ORG, Dag-Erling Smorgrav , Will Andrews , FreeBSD Ports , sobomax@FreeBSD.ORG, knu@FreeBSD.ORG References: <20010318161729.M61859@ohm.physics.purdue.edu> <20010318184039.V61859@ohm.physics.purdue.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from des@ofug.org on Mon, Mar 19, 2001 at 01:06:47AM +0100 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, Mar 19, 2001 at 01:06:47AM +0100, Dag-Erling Smorgrav wrote: > Will Andrews writes: > > > On Mon, Mar 19, 2001 at 12:27:56AM +0100, Dag-Erling Smorgrav wrote: > > > > > Have you tried to simply fix the KDE configure scripts to enable > > > threading on FreeBSD (they currently only allow threading on > > > Linux), then run aclocal and autoconf, and configure --enable-mt? > > > > What do you think the current kdelibs2/kdebase2/kdesupport2 ports > > do? > > I can't see any patches in x11/kdelibs2/files that look anything like > this: > > --- acinclude.m4.orig Mon Mar 19 01:04:13 2001 > +++ acinclude.m4 Mon Mar 19 01:04:30 2001 > @@ -855,7 +855,7 @@ > if test "x$kde_use_qt_mt" = "xyes"; then > > case $host in > - *-*-linux-*) > + *-*-linux-*|*-*-freebsd*) > if test "x$GCC" = "xyes"; then > CPPFLAGS="$CPPFLAGS -DQT_THREAD_SUPPORT -pthread" > X_EXTRA_LIBS="$X_EXTRA_LIBS -pthread" > > Neither do I see "--enable-mt" in CONFIGURE_FLAGS, nor do I see > USE_AUTOCONF being set to "YES", so you're going to have to work > harder to convince me that you're doing this correctly. If you look at the port Makefile for kdebase2 for example you will see that the equivalent is being accomplished. The problem is that although the kde2 stuff will build with the threaded support added it will not run without core dumping, hanging in loops, and other unpleasant events. Also, if you look at the configure scripts it is clearly stated that the '--enable-mt' is experimental and for Linux only. I think it is obvious at this point that it will not work with FreeBSD. I really wonder if it works with Linux but that is really irrelevant. As far as I know the only problem case is XFree86-4.0.2 (maybe 4.0.1) which builds with thread support and thus causes the linking problem. I am wondering if we really need to have XFree86-4 built with threaded support but I do not know enough about the decision to add thread support to X to comment further. -- Glenn Johnson glennpj@charter.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message