How to use cppInterpreter in Hotspot?

Colin(Du Li) dawn2004 at gmail.com
Wed Mar 4 10:40:14 PST 2009


Hello,
When I added  CC_INTERP=1 as make option. I got following error :
Linking vm...
{ \
            echo Linking launcher...; \
             \
            gcc -m32 -march=i586 -Xlinker -O1 -m32 -march=i586
-export-dynamic  -L `pwd` -o gamma launcher.o -ljvm -lm -ldl -lpthread; \
             \
        }
Linking launcher...
/home/dli/Hotspot/openjdk_b24/jdk7/build/openjdk7_full_debug/linux_i486_compiler2/jvmg/libjvm.so:
undefined reference to `frame::set_interpreter_frame_sender_sp(int*)'
/home/dli/Hotspot/openjdk_b24/jdk7/build/openjdk7_full_debug/linux_i486_compiler2/jvmg/libjvm.so:
undefined reference to `methodOopDesc::set_result_index(BasicType)'
/home/dli/Hotspot/openjdk_b24/jdk7/build/openjdk7_full_debug/linux_i486_compiler2/jvmg/libjvm.so:
undefined reference to `frame::interpreter_frame_set_last_sp(int*)'
/home/dli/Hotspot/openjdk_b24/jdk7/build/openjdk7_full_debug/linux_i486_compiler2/jvmg/libjvm.so:
undefined reference to
`frame::interpreter_frame_set_monitor_end(BasicObjectLock*)'
/home/dli/Hotspot/openjdk_b24/jdk7/build/openjdk7_full_debug/linux_i486_compiler2/jvmg/libjvm.so:
undefined reference to `CppInterpreter::contains(unsigned char*)'
collect2: ld returned 1 exit status

How can I fix it?
Thanks a lot!



Christian Thalinger-3 wrote:
> 
> On Mon, 2009-02-23 at 20:12 -0800, Colin(Du Li) wrote:
>> Hi, 
>> 
>> Thank you for your reply!
>> I still have some questions.
>> 1. Can c++ interpreter be used in product version?
>> 2. Can c++ interpreter be used in 64 bit machine with Linux OS.
> 
> Both answers should be yes.  I don't see a reason why it shouldn't work.
> Have you tried it?
> 
> -- Christian
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/How-to-use-cppInterpreter-in-Hotspot--tp22170486p22336444.html
Sent from the OpenJDK Hotspot Compiler Development List mailing list archive at Nabble.com.




More information about the hotspot-compiler-dev mailing list