From owner-cvs-all@FreeBSD.ORG Sun Dec 26 22:54:02 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CE20C16A4CE; Sun, 26 Dec 2004 22:54:02 +0000 (GMT) Received: from lakermmtao12.cox.net (lakermmtao12.cox.net [68.230.240.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1145643D1D; Sun, 26 Dec 2004 22:54:02 +0000 (GMT) (envelope-from mezz7@cox.net) Received: from mezz.mezzweb.com ([68.103.32.140]) by lakermmtao12.cox.net (InterMail vM.6.01.04.00 201-2131-117-20041022) with ESMTP id <20041226225349.JZUP1659.lakermmtao12.cox.net@mezz.mezzweb.com>; Sun, 26 Dec 2004 17:53:49 -0500 To: "Akinori MUSHA" References: <200412232030.iBNKUASp077618@repoman.freebsd.org> <86sm5wsp6z.knu@iDaemons.org> Message-ID: Date: Sun, 26 Dec 2004 16:54:31 -0600 From: "Jeremy Messenger" Content-Type: text/plain; format=flowed; delsp=yes; charset=us-ascii MIME-Version: 1.0 Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Opera M2/7.54u1 (Linux, build 892) cc: cvs-ports@freebsd.org cc: cvs-all@freebsd.org cc: ports-committers@freebsd.org Subject: Re: cvs commit: ports/Mk bsd.ruby.mk ports/lang/ruby18 Makefile distinfo pkg-plist ports/lang/ruby18/files patch-cgi.rb ports/x11-toolkits/ruby-tk pkg-plist X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Dec 2004 22:54:03 -0000 On Thu, 23 Dec 2004 15:18:05 -0600, Jeremy Messenger wrote: > On Fri, 24 Dec 2004 06:02:44 +0900, Akinori MUSHA > wrote: > >> At Thu, 23 Dec 2004 14:41:45 -0600, >> Jeremy Messenger wrote: >>> On Thu, 23 Dec 2004 20:30:10 +0000 (UTC), Akinori MUSHA >>> wrote: >>> >>> > knu 2004-12-23 20:30:09 UTC >>> > >>> > FreeBSD ports repository >>> > >>> > Modified files: >>> > Mk bsd.ruby.mk >>> > lang/ruby18 Makefile distinfo pkg-plist >>> > x11-toolkits/ruby-tk pkg-plist >>> > Removed files: >>> > lang/ruby18/files patch-cgi.rb >>> > Log: >>> > Update lang/ruby18 to 1.8.2-preview4. >>> > * Please upgrade sysutils/portupgrade prior to this one, or pkgdb(1) >>> > may coredump with a double free() problem from a misuse of the DL >>> > module. In that case, reinstall sysutils/portupgrade manually. >>> >>> I didn't check those yet, but have you add '-pthread' as default yet? >>> ruby-gtk2/ruby-gnome2 are broke by default in FreeBSD 5.x and 6.x, >>> because of ruby doesn't use -pthread. I have emailed to you few times >>> and you never have reply back. >>> >>> Also, I think we should get rid of _r stuff if it possible. The _r is >>> creating problems, so how about enable it by default? >> >> Sorry, but I have't got to be sure that ruby with -pthread enabled >> works flawlessly. Do you? I'll do some more tests this weekend on my >> FreeBSD 5.x box. If it goes fine, I'll happily enable it by default. > > I can't test it right now.. I can test it tomorrow when I downgrade > GNOME 2.9.x to 2.8.x by via package. Now, I am able to test it and ruby still need to add -pthread. ========================================= % rbbr /libexec/ld-elf.so.1: /usr/local/lib/libgthread-2.0.so.400: Undefined symbol "pthread_getschedparam" ========================================= When I added -pthread in ruby's LDFLAGS and this problem went away. I noticed that ruby has '--enable-pthread' option and I don't know if it's any good with FreeBSD. >> On the other hand, I still believe ruby with -pthread enabled does >> coredump on FreeBSD 4.x when combined with a certain kind of external >> libraries, so we can only enable it on FreeBSD >=5.x. What is your >> suggestion with ruby_r vs. FreeBSD 4.x? > > So, you mean the 'RUBY_CONFIGURE_ARGS+= --with-libc_r=yes' cause the > coredump on FreeBSD 4.x? If no, then how about use it by default and > remove the _r voodoo, while we are there enable -pthread only on FreeBSD >> =5.x? I think, it's best to do this one later after FreeBSD 4.11 released. Cheers, Mezz > I still have to admit that I don't know ruby VS FreeBSD 4.x that well. > > Cheers, > Mezz -- mezz7@cox.net - mezz@FreeBSD.org FreeBSD GNOME Team http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org