From owner-freebsd-java@FreeBSD.ORG Thu Feb 23 07:20:57 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 B661D16A420 for ; Thu, 23 Feb 2006 07:20:57 +0000 (GMT) (envelope-from david@israelsson.org) Received: from mxfep01.bredband.com (mxfep01.bredband.com [195.54.107.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA2ED43D5D for ; Thu, 23 Feb 2006 07:20:54 +0000 (GMT) (envelope-from david@israelsson.org) Received: from lala.gnapp.org ([83.227.138.201] [83.227.138.201]) by mxfep01.bredband.com with ESMTP id <20060223072053.RZKW16046.mxfep01.bredband.com@lala.gnapp.org>; Thu, 23 Feb 2006 08:20:53 +0100 Received: by lala.gnapp.org (Postfix, from userid 1001) id 1083BC40F; Thu, 23 Feb 2006 08:27:39 +0100 (CET) To: freebsd-java@freebsd.org References: <200602221524.35585.work@ashleymoran.me.uk> From: David Israelsson Date: Thu, 23 Feb 2006 08:27:38 +0100 In-Reply-To: <200602221524.35585.work@ashleymoran.me.uk> (Ashley Moran's message of "Wed, 22 Feb 2006 15:24:35 +0000") Message-ID: <86bqwy7cwl.fsf@lala.gnapp.org> User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4.18 (Social Property, berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Ashley Moran Subject: Re: i386 java binaries causing 100% cpu on amd64 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Feb 2006 07:20:57 -0000 Ashley Moran writes: > I have an Althlon 64 server running 6.0-rel in amd64 mode. I'm trying to > compile JDK 1.5 on it, and I've gone about it two ways: > > * installing the binary package of the native JDK 1.4 created on my i386 > desktop > * installing emulators/linux_base and the Linux JDK 1.4 > > In both cases, when I run java -version, it does nothing but takes up 100% > CPU. I've stress-tested the system by running an i386 version of the > misc/chef port, and that runs, so the issue is not with i386 binaries in > general. I had the same problems on amd64. In my case the problem was solved by deinstalling linux_base-8 and installing linux_base-rh-9. After that, the JDK build went fine using linux-sun-jdk-14. /David