From owner-freebsd-java Thu Feb 20 17: 4:27 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DE2D937B401 for ; Thu, 20 Feb 2003 17:04:24 -0800 (PST) Received: from titan.kgt.co.jp (titan.kgt.co.jp [210.141.246.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1EE8943FA3 for ; Thu, 20 Feb 2003 17:04:24 -0800 (PST) (envelope-from haro@kgt.co.jp) Received: from navgw.tt.kgt.co.jp (navgw [210.141.246.71]) by titan.kgt.co.jp (Postfix) with ESMTP id 8FE0D49F03; Fri, 21 Feb 2003 10:04:23 +0900 (JST) Received: from tt.kgt.co.jp (pegasus [192.168.10.1]) by navgw.tt.kgt.co.jp (Postfix) with ESMTP id 6C76347711; Fri, 21 Feb 2003 10:04:23 +0900 (JST) Received: from localhost [192.168.17.108] by tt.kgt.co.jp with ESMTP (SMTPD32-7.12) id AC05737011C; Fri, 21 Feb 2003 10:08:21 +0900 Date: Fri, 21 Feb 2003 10:04:06 +0900 (JST) Message-Id: <20030221.100406.41628347.haro@kgt.co.jp> To: c.rued@xsb.com Cc: freebsd-java@FreeBSD.ORG Subject: Re: jdk13 and WITH_NATIVE_THREADS compile failing From: Munehiro Matsuda In-Reply-To: <15957.11931.949338.673306@ool-18bacefa.dyn.optonline.net> References: <15956.19601.491644.845972@ool-18bacefa.dyn.optonline.net> <20030220.152353.104026134.haro@kgt.co.jp> <15957.11931.949338.673306@ool-18bacefa.dyn.optonline.net> X-Mailer: Mew version 2.2 on Emacs 20.7 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello Chris, From: Christopher Rued Date: Thu, 20 Feb 2003 14:38:03 -0500 :: > ::# /usr/local/jdk1.3.1/bin/java -version :: > ::java version "1.3.1-p8" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-p8-cbr-030219-12:02) Classic VM (build 1.3.1-p8-cbr-030219-12:02, green threads, nojit) :: > :: > Ok, which means green thread part of JDK is working. :: > How about doing the following command? :: > :: > # java -native -version :: > :: > If this works, then native thread part of JDK is also working. :: > Then that should tell us, whether only hotspot VM part is broken or :: > not. :: ::OK...native threads seem to work: :: ::# java -version ::java version "1.3.1-p8" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-p8-cbr-030219-12:02) ::Classic VM (build 1.3.1-p8-cbr-030219-12:02, native threads, nojit) Ok, it seems that Hotspot was broken then. :: > BTW, your were the only one who had the corrupted patch with '^M's. :: > I'll send you the original patch in private, so could you retry building :: > your JDK with it? :: :: ::Sure thing. I'll try applying the patch that you sent to me, and see ::if that changes anything. :: ::Something that someone (I forget who) on this mailing list said is ::also causing me to wonder about another issue: My FreeBSD source tree ::(under /usr/src) is not in sync with my compiled system; it's about ::two weeks newer. I was under the impression that the source under ::/usr/src was never used by any ports (just /usr/include, ::/usr/X11R6/include, etc). Should I be worried about my source in ::/usr/src being out of sync with my system? Is the source under ::/usr/src used in the build? The only file FreeBSD's JDK patchset tries include from the /usr/src is the pthread_private.h file, I think. It is not installed by default, so /usr/src becomes a must have. May be we should, 1) change the /usr/src Makefiles to install pthread_private.h to /usr/include/sys or somewhere appropriate 2) change jdk13 port's Makefile to check the existance for pthread_private.h under /usr/include/sys 3) if not found, then apply a patch, to make compile process to use the pthread_pricate.h from /usr/src Thanks, Haro =------------------------------------------------------------------------------ _ _ Munehiro (haro) Matsuda -|- /_\ |_|_| Business Incubation Dept., Kubota Corp. /|\ |_| |_|_| 1-3 Nihonbashi-Muromachi 3-Chome Chuo-ku Tokyo 103-8310, Japan Tel: +81-3-3245-3318 Fax: +81-3-3245-3315 Email: haro@kgt.co.jp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message