[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#26966: New Java bootstrap
From: |
Ricardo Wurmus |
Subject: |
bug#26966: New Java bootstrap |
Date: |
Wed, 17 May 2017 19:06:03 +0200 |
User-agent: |
mu4e 0.9.18; emacs 25.2.1 |
This patch series removes GCJ and bootstraps the JDK with Jikes.
Up to now our Java bootstrap with GCJ involved nasty compromises:
* GCJ depended on an iterative Java compiler in the form of a binary of
ECJ (the Eclipse compiler for Java)
* The GCJ sources include pre-compiled Java .class files coming from
the GNU Classpath project.
I only learned of the second of these problems when I expressed my
sadness about the removal of GCJ and Andrew Haley replied that GCJ
depended on binaries to a larger extent than I was aware of.
Recently Ludo brought up Jikes on #guix and while it first looked like a
much less capable compiler (only implementing a limited set of Java 1.5)
it turned out to be enough to get a first bootstrap JDK built. After
some experimentation I managed to build a version of ECJ from source,
which eventually led the way to a properly bootstrapped JDK with IcedTea.
Note that some work is still needed to make it all fully reproducible,
but that’s not the primary goal of this patch set.
--
Ricardo
GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC
https://elephly.net
- bug#26966: New Java bootstrap,
Ricardo Wurmus <=