From owner-freebsd-questions@FreeBSD.ORG Sun Apr 23 21:35:09 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E13D116A401 for ; Sun, 23 Apr 2006 21:35:09 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: from chen.org.nz (chen.org.nz [202.89.146.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4BBB543D46 for ; Sun, 23 Apr 2006 21:35:09 +0000 (GMT) (envelope-from jonc@chen.org.nz) Received: by chen.org.nz (Postfix, from userid 1000) id 8BA0456430; Mon, 24 Apr 2006 09:35:07 +1200 (NZST) Date: Mon, 24 Apr 2006 09:35:07 +1200 From: Jonathan Chen To: Michael Conlen Message-ID: <20060423213507.GA3526@osiris.chen.org.nz> References: <75004E39-C70C-4508-AEEE-738430F25AE6@obmail.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <75004E39-C70C-4508-AEEE-738430F25AE6@obmail.net> User-Agent: Mutt/1.4.2.1i Cc: FreeBSD Mailing List Subject: Re: JDK1.5 build and linux-sun-java1.4 problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Apr 2006 21:35:10 -0000 On Sun, Apr 23, 2006 at 04:12:19PM -0400, Michael Conlen wrote: > I'm having problems building jdk1.5. It segfaults early in the build. > I believe I've tracked it down to the linux-sun-java1.4.2 build not > working. I get the following > > # pwd > /usr/local/linux-sun-jdk1.4.2/bin > # ./java -v > Segmentation fault (core dumped) > # [...] > I got the same result from the linux-sun-java1.5 port as well. This > error and the build error are consistent. I've even gone through the > step of rebuilding the entire system just to make sure there wasn't > some bizarre problem with this particular hardware. > > FreeBSD system 6.0-RELEASE-p7 FreeBSD 6.0-RELEASE-p7 #0: Wed Apr 19 > 14:15:18 EDT 2006 root@:/usr/obj/usr/src/sys/AD i386 > > It was installed as 6.0-RELEASE, updated and purpose built for > running java (and later tomcat) so there's not a bunch of other junk > on it. > > Any thoughts on how to debug why java is seg faulting? Just the usual stuff: - make sure linprocfs is mounted. - don't run the build in a jail. If all else fails, you can download the diablo-jdk1.5 to build the ports based jdk1.5. Cheers. -- Jonathan Chen ---------------------------------------------------------------------- "With sufficient thrust, pigs fly just fine. However, this is not necessarily a good idea. It is hard to be sure where they are going to land, and it could be dangerous sitting under them as they fly overhead." -- RFC 1925