Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Dec 2005 18:14:15 +0100
From:      "Ernst W. Winter" <ewinter@ewinter.org>
To:        Ron Dzierwa <rondzierwa@comcast.net>
Cc:        freebsd-amd64@freebsd.org
Subject:   Re: jdk15 on 6.0-RELEASE amd64
Message-ID:  <20051213171415.GA35686@lobo.ewinter.org>
In-Reply-To: <439EFF19.958D6326@comcast.net>
References:  <439EFF19.958D6326@comcast.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051213171415.GA35686>