jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • RVM
  • RVM-604

Require two different host JVMs to successfully build on Linux/PowerPC

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 3.0, 3.0.1, 3.1.0
  • Fix Version/s: 3.1.1
  • Component/s: Instruction Architecture: PowerPC, Operating System: Linux
  • Labels:
    None

Description

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.

Issue Links

is superceded by

Bug - A problem which impairs or prevents the functions of the product. RVM-837 ExtremeAssertions builds fail on ppc using IBM Java6 SR4 and SR5

  • Trivial - Cosmetic problem like misspelt words or misaligned text.
  • Open - The issue is open and ready for the assignee to start work on it.
relates to

Sub-task - The sub-task of the issue RVM-596 Updated installed JVMs on rvmppclnx64

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Bug - A problem which impairs or prevents the functions of the product. RVM-550 Implementation of isZero magic in PPC baseline compiler can overflow expression stack and corrupt stack frame

  • Blocker - Blocks development and/or testing work, production could not run
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
David Grove added a comment - 06/Oct/08 1:47 PM

Initial triage for 3.0.1 release; suggesting postponing to 3.0.2; move back to 3.0.1 if you disagree.

Show
David Grove added a comment - 06/Oct/08 1:47 PM Initial triage for 3.0.1 release; suggesting postponing to 3.0.2; move back to 3.0.1 if you disagree.
Hide
Permalink
David Grove added a comment - 12/Jun/09 5:04 PM

Initial tests with IBM Java 6 SR 4 look promising. I'll do some more testing, and then try switching the nightly runs on piano over if they pan out.

Show
David Grove added a comment - 12/Jun/09 5:04 PM Initial tests with IBM Java 6 SR 4 look promising. I'll do some more testing, and then try switching the nightly runs on piano over if they pan out.
Hide
Permalink
David Grove added a comment - 17/Jun/09 1:50 PM

The ExtremeAssertions build failed. using Java6 SR4. Everything else seemed fine.

http://jikesrvm.anu.edu.au/cattrack/results/piano.watson.ibm.com/sanity-ppc64/9740/regression_report

Show
David Grove added a comment - 17/Jun/09 1:50 PM The ExtremeAssertions build failed. using Java6 SR4. Everything else seemed fine. http://jikesrvm.anu.edu.au/cattrack/results/piano.watson.ibm.com/sanity-ppc64/9740/regression_report
Hide
Permalink
David Grove added a comment - 16/Jul/09 12:53 PM

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.

Show
David Grove added a comment - 16/Jul/09 12:53 PM 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.

People

  • Assignee:
    David Grove
    Reporter:
    David Grove
Vote (0)
Watch (0)

Dates

  • Created:
    28/Jul/08 5:30 PM
    Updated:
    16/Jul/09 12:56 PM
    Resolved:
    16/Jul/09 12:53 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.