[
http://jira.codehaus.org/browse/RVM-604?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Grove updated RVM-604:
----------------------------
Affects Version/s: 3.1.0
3.0.1
Fix Version/s: (was: 3.1.0)
3.1.1
> Require two different host JVMs to successfully build on Linux/PowerPC
> ----------------------------------------------------------------------
>
> Key: RVM-604
> URL:
http://jira.codehaus.org/browse/RVM-604> Project: RVM
> Issue Type: Bug
> Components: Instruction Architecture: PowerPC, Operating System: Linux
> Affects Versions: 3.0, 3.0.1, 3.1.0
> Reporter: David Grove
> Priority: Minor
> Fix For: 3.1.1
>
>
> We currently need two different host JVMs to successfully build Jikes RVM on Linux/PowerPC.
> One must use the IBM Java 6 JVM (currently recommend SR1) to build & compile the GNU Classpath class libraries. GNU Classpath uses sun.misc.Unsafe.putOrderedObject, which is not defined in the IBM Java 5 SDKs, but is defined in the Java 6 SDK. However, using this JVM as the host JVM for the bootimage writer produces non-working Jikes RVM images and/or crashes for some configurations. To robustly run the bootimage writer, you need to use Java 5 (currently recommend SR7 or SR8).
> The easiest way to workaround this, is to install both SDKs on the machine, but make the Java5 one the default one (found in the path when building Jikes RVM). Hack the script RVM_ROOT/components/ecj/3.2/ecj-3.2/ecj to explictly invoke the Java 6 JVM instead of just 'java'. This will let the GNU classpath build use Java 6 to compile its sources while using Java 5 to build the bootimage. This is the workaround we are using for nightly regressions on both piano and rvmppclnx64.
> As each new SR of Java 6 comes out, we need to see if it is capable of building the bootimage. If it is, then we could simply switch the Java 6 across the board to build on Linux/PowerPC.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32.
http://p.sf.net/sfu/p_______________________________________________
Jikesrvm-issues mailing list
Jikesrvm-issues@...
https://lists.sourceforge.net/lists/listinfo/jikesrvm-issues