Date: Sat, 24 Aug 2002 01:38:31 -0500 From: "skeetz" <skeetz@8thdeadlysim.com> To: <freebsd-java@FreeBSD.org> Subject: building native hotspot Message-ID: <NEBBJKCJGLMILKAIGPHBCEGAEMAA.skeetz@8thdeadlysim.com>
next in thread | raw e-mail | index | archive | help
Hey all, I'm looking at the java options again for Freebsd. I'm trying to build the hotspot for my jdk13 port. I found this message instructing me how to do it. http://www.geocrawler.com/lists/3/FreeBSD/162/0/9147806/ I'm running a 4.3 box and a 4.6 release, but I'm trying to get things working on my 4.3 box for testing purposes. If I go into /usr/ports/java/jdk13/work/hotspot1.3.1/build/ , I see that there is a bsd directory now. Is that the one I'm supposed to use instead of linux? USING BSD DIRECTORY I first had to edit ./makefiles/top.make and add in DISABLE_HOTSPOT_OS_VERSION_CHECK=ok then I setenv ALT_BOOTDIR /usr/local/linux-sun-jdk1.3.1/ is this right? building hot spot requires the linux sun jvm? why can't I use the one I just made /usr/local/jdk1.3.1? then I try running gmake core and I get gmake[1]: Entering directory `/usr/ports/java/jdk13/work/hotspot1.3.1/build/bsd/bsd_i486_core/jvmg' gmake[2]: Entering directory `/usr/ports/java/jdk13/work/hotspot1.3.1/build/bsd/bsd_i486_core/jvmg' Compiling /usr/ports/java/jdk13/work/hotspot1.3.1/src/share/vm/runtime/functionAtStart .cpp In file included from ../generated/incls/_functionAtStart.cpp.incl:2, from /usr/ports/java/jdk13/work/hotspot1.3.1/src/share/vm/runtime/functionAtStart .cpp:18: /usr/ports/java/jdk13/work/hotspot1.3.1/src/share/vm/utilities/globalDefinit ions_gcc.hpp:27: wchar.h: No such file or directory In file included from ../generated/incls/_functionAtStart.cpp.incl:2, from /usr/ports/java/jdk13/work/hotspot1.3.1/src/share/vm/runtime/functionAtStart .cpp:18: /usr/ports/java/jdk13/work/hotspot1.3.1/src/share/vm/utilities/globalDefinit ions_gcc.hpp:91: integer constant out of range /usr/ports/java/jdk13/work/hotspot1.3.1/src/share/vm/utilities/globalDefinit ions_gcc.hpp:92: integer constant out of range /usr/ports/java/jdk13/work/hotspot1.3.1/src/share/vm/utilities/globalDefinit ions_gcc.hpp: In function `int g_isnan(double)': /usr/ports/java/jdk13/work/hotspot1.3.1/src/share/vm/utilities/globalDefinit ions_gcc.hpp:107: implicit declaration of function `int isnand(...)' /usr/ports/java/jdk13/work/hotspot1.3.1/src/share/vm/utilities/globalDefinit ions_gcc.hpp: In function `int wcslen(const jchar *)': /usr/ports/java/jdk13/work/hotspot1.3.1/src/share/vm/utilities/globalDefinit ions_gcc.hpp:123: passing `const __wchar_t *' as argument 1 of `wcslen(const jchar *)' gmake[2]: *** [functionAtStart.o] Error 1 gmake[2]: Leaving directory `/usr/ports/java/jdk13/work/hotspot1.3.1/build/bsd/bsd_i486_core/jvmg' gmake[1]: *** [the_vm] Error 2 gmake[1]: Leaving directory `/usr/ports/java/jdk13/work/hotspot1.3.1/build/bsd/bsd_i486_core/jvmg' gmake: *** [jvmgcore] Error 2 USING LINUX DIRECTORY sh /usr/ports/java/jdk13/work/hotspot1.3.1/build/linux/../../build/linux/makefi les/buildATree.sh core /usr/ports/java/jdk13/work/hotspot1.3.1/build/linux/../.. linux i486 gmake: *** [linux_i486_core/jvmg] Error 1 SUMMARY I can't seem to figure out how I am supposed to do this. Is the problem that I'm running Freebsd STABLE? I would appreciate if someone pointed me in the right direction. Also, now that we have a licence to distribute a native FreeBSD version of java, doesn't that mean that we should be able to download just the binaries instead of downloading the src and building all of the code? If not, then what exactly does it mean? Chad Skeeters To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?NEBBJKCJGLMILKAIGPHBCEGAEMAA.skeetz>