Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Dec 2005 12:04:25 -0500
From:      Ron Dzierwa <rondzierwa@comcast.net>
To:        glewis@freebsd.org, freebsd-amd64@FreeBSD.org
Subject:   jdk15 on 6.0-RELEASE amd64
Message-ID:  <439EFF19.958D6326@comcast.net>

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

any help installing any 1.4 or 1.5 (preferably)  jdk would be appreciated.

thanks,
ron.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?439EFF19.958D6326>