Build hotspot only in IcedTea after a complete build.

Nagy Mostafa nagy.mostafa at gmail.com
Thu Aug 20 17:53:44 PDT 2009


So I read the instructions on Volker's blog (
http://weblogs.java.net/blog/simonis/archive/2008/01/hotspot_develop.html#HotSpotBuild)
and I managed to build hotspot only successfully. The problem now is
enabling Zero. I am running on AMD64 and the build fail with CC_INTERP=1.
Why does this happen and why is Zero built correctly when I do a full build
of IcedTea ?

Anyway to enable Zero on AMD64 when building hotspot only ? The command I
use is:

CC_INTERP=true LP64=1 LANG=C ALT_BOOTDIR=/usr/lib/jvm/java-6-sun/
HOTSPOT_BUILD_JOBS=5 ALT_OUTPUT_DIR=../../build/hotspot-debug make jvmg

The build error is:
/home/nagy/research/icedtea6-debug/openjdk/hotspot/src/cpu/x86/vm/bytecodeInterpreter_x86.hpp:
In static member function 'static void
SharedRuntime::generate_deopt_blob()':
/home/nagy/research/icedtea6-debug/openjdk/hotspot/src/cpu/x86/vm/bytecodeInterpreter_x86.hpp:31:
error: 'intptr_t* BytecodeInterpreter::_sender_sp' is private
/home/nagy/research/icedtea6-debug/openjdk/hotspot/src/cpu/x86/vm/sharedRuntime_x86_64.cpp:2788:
error: within this context
/home/nagy/research/icedtea6-debug/openjdk/hotspot/src/cpu/x86/vm/bytecodeInterpreter_x86.hpp:
In static member function 'static void
SharedRuntime::generate_uncommon_trap_blob()':
/home/nagy/research/icedtea6-debug/openjdk/hotspot/src/cpu/x86/vm/bytecodeInterpreter_x86.hpp:31:
error: 'intptr_t* BytecodeInterpreter::_sender_sp' is private
/home/nagy/research/icedtea6-debug/openjdk/hotspot/src/cpu/x86/vm/sharedRuntime_x86_64.cpp:2970:
error: within this context
make[4]: *** [sharedRuntime_x86_64.o] Error 1



thanks,
- nagy



On Thu, Aug 20, 2009 at 4:06 PM, Nagy Mostafa <nagy.mostafa at gmail.com>wrote:

> Hi Everyone,
> I am having trouble compiling hotspot only in IcedTea6. I build IcedTea
> with Zero as follows:
> ./configure --enable-zero; make;
>
> Now, I want to modify the bytecode interpreter. What is the simplest way to
> compile hotspot only without compiling all of IcedTea. I tried "make
> hotspot", but sometimes it doesn't detect my code changes and even worse the
> build breaks occasionally. Also, how can you do a "make clean" for hotspot
> only.
>
> Additionally, how to do the same for a debug build ? I build initially as
> follows:
> ./configure --enable-zero; make SKIP_FASTDEBUG_BUILD=true
> SKIP_DEBUG_BUILD=false DEBUG_NAME=fulldebug;
>
> thanks,
> - nagy
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/hotspot-dev/attachments/20090820/6650c24e/attachment.html 


More information about the hotspot-dev mailing list