« Return to Thread: [jira] Created: (RVM-604) Require two different host JVMs to successfully build on Linux/PowerPC

[jira] Closed: (RVM-604) Require two different host JVMs to successfully build on Linux/PowerPC

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View in Thread


     [ http://jira.codehaus.org/browse/RVM-604?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Grove closed RVM-604.
---------------------------

    Resolution: Fixed

Opening separate issue for ExtremeAssertions build, but want to close this to get in 3.1.1 release notes that it is mostly working now.


> 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
>            Assignee: 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

       

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Jikesrvm-issues mailing list
Jikesrvm-issues@...
https://lists.sourceforge.net/lists/listinfo/jikesrvm-issues

 « Return to Thread: [jira] Created: (RVM-604) Require two different host JVMs to successfully build on Linux/PowerPC