Uploaded image for project: 'JikesRVM'
  1. JikesRVM
  2. RVM-95

Switch to building Classpath with javac (stop download of ecj?)

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.4
    • Component/s: Infrastructure: Build
    • Labels:
      None

      Description

      We now use Classpath 0.95 as our default. Classpath 0.95 has a build option of --with-javac meaning it can be compiled without ecj, this means we can remove downloading ecj from our build. There's a possible issue in that the Classpath build may run out of memory with javac, so we may need to run the Classpath configure with --with-javac="javac -J-Xmx512M -target 1.5".

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

              Hide
              ianrogers Ian Rogers added a comment -

              A related note, ecj 3.3 has just been released so we can bump:
              "http://download.eclipse.org/eclipse/downloads/drops/R-3.2-200606291905/ecj.jar"
              in builds/components/ecj.xml to:
              "http://fullmoon.torolab.ibm.com/downloads/drops/R-3.3-200706251500/ecj.jar"

              Show
              ianrogers Ian Rogers added a comment - A related note, ecj 3.3 has just been released so we can bump: "http://download.eclipse.org/eclipse/downloads/drops/R-3.2-200606291905/ecj.jar" in builds/components/ecj.xml to: "http://fullmoon.torolab.ibm.com/downloads/drops/R-3.3-200706251500/ecj.jar"
              Hide
              ianrogers Ian Rogers added a comment -

              Enabling patch committed as r13792.

              Show
              ianrogers Ian Rogers added a comment - Enabling patch committed as r13792.
              Hide
              gnu_andrew Andrew John Hughes added a comment -

              With Classpath 0.96.1, just --with-javac should be sufficient as the memory requirement will be automatically dealt with if the javac found supports that option.

              Show
              gnu_andrew Andrew John Hughes added a comment - With Classpath 0.96.1, just --with-javac should be sufficient as the memory requirement will be automatically dealt with if the javac found supports that option.
              Hide
              ianrogers Ian Rogers added a comment -

              Currently we are downloading Classpath 0.97 but compiling with ecj 3.2. We need the ecj dependency because:

              • all JDK 1.5s can't compile Classpath 0.97 due to a bug in javac, in particular our PowerPC set ups are relying on JDK 1.5 VMs awaiting a more stable 1.6 VM release
              • the ecj that is installed on Fedora and OpenSuSE, by default, is the broken 3.3.0 version that creates a broken Classpath
              Show
              ianrogers Ian Rogers added a comment - Currently we are downloading Classpath 0.97 but compiling with ecj 3.2. We need the ecj dependency because: all JDK 1.5s can't compile Classpath 0.97 due to a bug in javac, in particular our PowerPC set ups are relying on JDK 1.5 VMs awaiting a more stable 1.6 VM release the ecj that is installed on Fedora and OpenSuSE, by default, is the broken 3.3.0 version that creates a broken Classpath
              Hide
              ebrangs Erik Brangs added a comment -

              Fix committed in 25912bfb880e8f8c704677600b15641a78936af0 (11130).

              Show
              ebrangs Erik Brangs added a comment - Fix committed in 25912bfb880e8f8c704677600b15641a78936af0 (11130).

                People

                • Assignee:
                  ebrangs Erik Brangs
                  Reporter:
                  ianrogers Ian Rogers
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: