[rvm-core] x86 64 status in the SVN trunk

View: New views
1 Messages — Rating Filter:   Alert me  

[rvm-core] x86 64 status in the SVN trunk

by Ian Rogers :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

there is now enough of x86 64 working in the trunk that you can run
helloworld. To do this you need to use the x86_64_m64-linux
configuration, this will create a 64bit compiled version of classpath
that isn't in the way of the 32bit compiled version, however it can't
clear up the generated directory so do an "ant very-clean" first. Once
the build finishes you need to run the rvm with a large minimum heap
size to avoid crashing in GC. The result of running helloworld looks
like:

./dist/prototype_x86_64_m64-linux/rvm -Xms2048M helloworld
hello world
Exception in thread "MainThread" Exception in thread "MainThread"
java.lang.IllegalArgumentException
Exception in thread "MainThread" java.lang.IllegalArgumentException
*** Catastrophic failure while handling uncaught exception.Exception
in thread "MainThread" java.lang.IllegalArgumentException
*** Catastrophic failure while handling uncaught exception.vm: error
flushing stdout, stderr

The reason for the illegal argument is argv parameters to JNI calls
are passed in registers and the 64bit code is still trying to pick the
arguments off the stack. PowerPC has a similar parameter passing
convention. Trackers for this are:

http://jira.codehaus.org/browse/RVM-169 and 717

If someone wants to fix up the remaining issues I'd be quite happy.

Regards,
Ian

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Jikesrvm-core mailing list
Jikesrvm-core@...
https://lists.sourceforge.net/lists/listinfo/jikesrvm-core