From owner-freebsd-java Thu Feb 20 11:38:56 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 ECA7437B401 for ; Thu, 20 Feb 2003 11:38:53 -0800 (PST) Received: from ool-18bacefa.dyn.optonline.net (ool-18bacefa.dyn.optonline.net [24.186.206.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id 62B924402F for ; Thu, 20 Feb 2003 11:38:11 -0800 (PST) (envelope-from cbr@ool-18bacefa.dyn.optonline.net) Received: from ool-18bacefa.dyn.optonline.net (localhost [127.0.0.1]) by ool-18bacefa.dyn.optonline.net (8.12.6/8.12.6) with ESMTP id h1KJc44p092436; Thu, 20 Feb 2003 14:38:04 -0500 (EST) (envelope-from cbr@ool-18bacefa.dyn.optonline.net) Received: (from cbr@localhost) by ool-18bacefa.dyn.optonline.net (8.12.6/8.12.6/Submit) id h1KJc4pP092433; Thu, 20 Feb 2003 14:38:04 -0500 (EST) From: Christopher Rued MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15957.11931.949338.673306@ool-18bacefa.dyn.optonline.net> Date: Thu, 20 Feb 2003 14:38:03 -0500 To: Munehiro Matsuda Cc: c.rued@xsb.com, freebsd-java@FreeBSD.ORG Subject: Re: jdk13 and WITH_NATIVE_THREADS compile failing In-Reply-To: <20030220.152353.104026134.haro@kgt.co.jp> References: <15955.56261.257100.178858@ool-18bacefa.dyn.optonline.net> <20030220.115914.41627219.haro@kgt.co.jp> <15956.19601.491644.845972@ool-18bacefa.dyn.optonline.net> <20030220.152353.104026134.haro@kgt.co.jp> X-Mailer: VM 7.07 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid 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 Munehiro Matsuda writes: > From: Christopher Rued > Date: Wed, 19 Feb 2003 22:33:37 -0500 > :: > I have never seen or had report of this kind of error before. > :: > What kind of OS do you use? 4-STABLE/5-CURRENT/other from when? > :: > ::# uname -a > ::FreeBSD ool-18bacefa.dyn.optonline.net 4.7-STABLE FreeBSD 4.7-STABLE #1: Sat Feb 8 19:58:28 EST 2003 root@ool-18bacefa.dyn.optonline.net:/usr/obj/usr/src/sys/FRANKENSTEIN i386 > > Ok. > > :: > What happens if you disable hotspot, by renaming hotspot directory to > :: > some thing else, and try java -version? > :: > e.g. > :: > # cd /usr/local/jdk1.3.1/jre/lib/i386/ > :: > # mv hotspot hotspot.tmp > :: > # java -version > :: > ::# /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) > 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? Thanks, -- Chris > > 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