jdk15 on 6.0-RELEASE amd64

Michael Vince mv at roq.com
Tue Dec 13 16:02:18 PST 2005


I have had problems compiling it, it does appear to be different 
problems for different people but for me I nuked the current linux 
packages setup and put 'OVERRIDE_LINUX_BASE_PORT=suse-9.2' into 
/etc/make.conf
And I also upgraded to 6-stable for some reason it worked after going 
stable.

Mike

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?
>
>any help installing any 1.4 or 1.5 (preferably)  jdk would be appreciated.
>
>thanks,
>ron.
>
>
>_______________________________________________
>freebsd-amd64 at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-amd64
>To unsubscribe, send any mail to "freebsd-amd64-unsubscribe at freebsd.org"
>  
>



More information about the freebsd-amd64 mailing list