jdk15 on 6.0-RELEASE amd64

Ron Dzierwa rondzierwa at comcast.net
Tue Dec 13 09:04:29 PST 2005

I am trying to install the native jdk15 on a new installation of 6.0-RELEASE-amd64

i got the three packages:

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
*** 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.


More information about the freebsd-amd64 mailing list