From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38044) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dB2Pj-0005Qt-UX for guix-patches@gnu.org; Wed, 17 May 2017 13:07:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dB2Pf-00040k-02 for guix-patches@gnu.org; Wed, 17 May 2017 13:07:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:48452) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dB2Pe-00040e-Sp for guix-patches@gnu.org; Wed, 17 May 2017 13:07:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dB2Pe-00022m-MW for guix-patches@gnu.org; Wed, 17 May 2017 13:07:02 -0400 Subject: bug#26966: New Java bootstrap Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37847) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dB2Ow-0005Jh-D6 for guix-patches@gnu.org; Wed, 17 May 2017 13:06:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dB2Or-0003qb-FW for guix-patches@gnu.org; Wed, 17 May 2017 13:06:18 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21101) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dB2Or-0003pc-7U for guix-patches@gnu.org; Wed, 17 May 2017 13:06:13 -0400 From: Ricardo Wurmus Date: Wed, 17 May 2017 19:06:03 +0200 Message-ID: <87y3tvqupw.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 26966@debbugs.gnu.org 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