From owner-freebsd-amd64@FreeBSD.ORG Tue Dec 13 17:18:14 2005 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B0EC116A41F for ; Tue, 13 Dec 2005 17:18:14 +0000 (GMT) (envelope-from ewinter@west.bsn.com) Received: from lobo.ewinter.org (host-62-245-151-69.customer.m-online.net [62.245.151.69]) by mx1.FreeBSD.org (Postfix) with ESMTP id CA82C43D53 for ; Tue, 13 Dec 2005 17:18:13 +0000 (GMT) (envelope-from ewinter@west.bsn.com) Received: from lobo.ewinter.org (localhost [127.0.0.1]) by lobo.ewinter.org (8.13.4/8.13.4) with ESMTP id jBDHEGPV035759; Tue, 13 Dec 2005 18:14:16 +0100 (CET) (envelope-from ewinter@west.bsn.com) Received: (from ewinter@localhost) by lobo.ewinter.org (8.13.4/8.13.4/Submit) id jBDHEFf5035758; Tue, 13 Dec 2005 18:14:15 +0100 (CET) (envelope-from ewinter) Date: Tue, 13 Dec 2005 18:14:15 +0100 From: "Ernst W. Winter" To: Ron Dzierwa Message-ID: <20051213171415.GA35686@lobo.ewinter.org> References: <439EFF19.958D6326@comcast.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <439EFF19.958D6326@comcast.net> X-Phone: + 49-89-3075-6800 Organization: FreeBSD Evangelist X-Operating-System: FreeBSD lobo.ewinter.org 6.0-STABLE FreeBSD 6.0-STABLE User-Agent: mutt-ng/devel (FreeBSD) Cc: freebsd-amd64@freebsd.org Subject: Re: jdk15 on 6.0-RELEASE amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Ernst W. Winter" List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Dec 2005 17:18:14 -0000 On Tue, 13 Dec 2005, Ron Dzierwa wrote: > I am trying to install the native jdk15 on a new installation of > 6.0-RELEASE-amd64 > > i got the three packages: > jdk-1_5_0-bin-scsl.zip > jdk-1_5_0-src-scsl.zip > bsd-jdk15-patches-2.tar.bz2 > > put them in distfiles, then did make in /usr/ports/java/jdk15. it > runs along for a while, then: > > ===> Applying FreeBSD patches for jdk-1.5.0p2_3 > Ignoring previously applied (or reversed) patch. > 1 out of 1 hunks ignored--saving rejects to > ../../hotspot/src/os/bsd/vm/os_bsd.inline.hpp.rej => Patch > patch-hotspot-vm-os_bsd.inline.hpp failed to apply cleanly. > => Patch(es) patch-control::common::Defs-bsd.gmk > patch-deploy::common::Defs-bsd.gmk patch-dep > loy::common::DeployRules-solaris.gmk > patch-deploy::native::msgString.c patch-deploy::native:: > system_md.c patch-deploy::native::system_md.h > patch-deploy::ns7-adapter::Makefile applied cle > anly. > *** Error code 1 > > Stop in /usr/ports/java/jdk15. > > the contents of ./work/hotspot/src/os/bsd/vm/os_bsd.inline.hpp.rej > is: > > *************** > *** 29,38 **** > > inline bool os::allocate_stack_guard_pages() { > assert(uses_stack_guard_pages(), "sanity check"); > - // XXXBSD: ?? > - // return thr_main(); > - // return pthread_main_np(); > - return true; > } > > > --- 29,37 ---- > > inline bool os::allocate_stack_guard_pages() { > assert(uses_stack_guard_pages(), "sanity check"); > + // Since FreeBSD 4 uses malloc() for allocating the thread stack > + // there is no need to do anything extra to allocate the guard pages > + return false; > } > > > any ideas? > well I would say to update it with cvsup and then do a "makeworld - kernel installation and then reboot and compile it. I have done a update yesterday and there where no problems it all went smooth. Here output: lobo root 502-->uname -a FreeBSD lobo.ewinter.org 6.0-STABLE FreeBSD 6.0-STABLE #5: Tue Dec 6 21:20:19 CET 2005 ewinter@lobo.ewinter.org:/usr/obj/usr/src/sys/lobo amd64 /home/ewinter lobo root 503--> > any help installing any 1.4 or 1.5 (preferably) jdk would be > appreciated. > that is all I can say to it. It was a bit wonky in the beginning when 6.0pre came out, but so far I would say if you updated it with cvsup I would say it will compile and install. Mond you I don't use it, jst to see that it is installable for customers. Ernst