From owner-freebsd-gnome@FreeBSD.ORG Thu Apr 22 18:52:23 2004 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 48BEC16A4CE; Thu, 22 Apr 2004 18:52:23 -0700 (PDT) Received: from lakermmtao05.cox.net (lakermmtao05.cox.net [68.230.240.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id B6AE043D1D; Thu, 22 Apr 2004 18:52:22 -0700 (PDT) (envelope-from mezz7@cox.net) Received: from mezz.mezzweb.com ([68.103.32.11]) by lakermmtao05.cox.net (InterMail vM.6.01.03.02 201-2131-111-104-20040324) with ESMTP id <20040423015220.ZNGG18641.lakermmtao05.cox.net@mezz.mezzweb.com>; Thu, 22 Apr 2004 21:52:20 -0400 To: Joe Marcus Clarke References: <1082595788.34974.23.camel@shumai.marcuscom.com> <1082683244.28653.20.camel@shumai.marcuscom.com> Message-ID: From: Jeremy Messenger Content-Type: text/plain; format=flowed; charset=iso-8859-1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Date: Thu, 22 Apr 2004 20:53:09 -0500 In-Reply-To: <1082683244.28653.20.camel@shumai.marcuscom.com> User-Agent: Opera7.23/Linux M2 build 518 cc: FreeBSD GNOME Users Subject: Re: Problems with the new file selector and non-threaded applications X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Apr 2004 01:52:23 -0000 On Thu, 22 Apr 2004 21:20:45 -0400, Joe Marcus Clarke wrote: > On Wed, 2004-04-21 at 22:38, Jeremy Messenger wrote: > > [snip] > >> > Solution: >> > --------- >> > >> > We don't have a good one at this point. Here's what I see as possible >> > solutions: >> > >> > 1. Set GNOME's PTHREAD_LIBS to -pthread for all versions of FreeBSD. >> > _Pros:_ This should fix the problem as it will emulate what 4.X does, >> > and ORBit will do the right thing in the non-threaded case. _Cons:_ I >> > haven't tested this on 5.2.1, but it will work on -CURRENT. We will >> > have to relink all applications that depend on gtk20 to make this 100% >> > effective. >> >> This seems to be a best solution until 6.x if nobody have any better >> solution. I would care less for 5.2.1 if it is going to not work, >> because >> they should be expected since it's a new technology. I personal see no >> point of keep 5.0 and 5.1 either. > > I lied, this does not work. It looked like it worked, but in fact, the > gtk+ file selector was used since there were undefined pthread symbols. Bummer! >> All the others(2,3,4,5)' Cons don't look good, I think they will hurt >> more. > > I think 2 might be our best bet. There's also a modified 2 we can > consider, where we explicitly add PTHREAD_LIBS to all non-threaded ports > that invoke the file selector. This could be done reactively once > people start reporting crashes. Or, we could combine 2 and 3 so we > wouldn't get a crash, but people could see a warning, send email, and we > could then link the app to PTHREAD_LIBS. I agree with you about 2 then.. Umm, have you ask GTK/GNOME developers about it yet? To see if they have any better idea? Cheers, Mezz > Joe -- bsdforums.org 's moderator, mezz.