This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Fwd: gcj can not import packages
- From: Andrew Haley <aph at redhat dot com>
- To: Ricardo Wurmus <rekado at elephly dot net>, Matthias Klose <doko at ubuntu dot com>
- Cc: bill dot chatfield at yahoo dot com, "'mohan NMH'" <mohan dot nmh2 at gmail dot com>, java at gcc dot gnu dot org
- Date: Thu, 19 Jan 2017 09:59:05 +0000
- Subject: Re: Fwd: gcj can not import packages
- Authentication-results: sourceware.org; auth=none
- References: <CANV4OqjehvrZUaMGbwn0Gu3KsesTy7aWVhY9cPETpnqwf_Zo0A@mail.gmail.com> <CANV4Oqhm440dav4AONgwW87VJ3+0c0S7KjdvnjwW+7V_VP2WJg@mail.gmail.com> <bac57298-a2aa-814d-603e-fde240be20f8@redhat.com> <CANV4OqgvpxXFP9VSRFNVtbkTcR5PgAZNHVWaHF7VsoSu+k7_0w@mail.gmail.com> <9335b6e8-ed7f-1e8d-4022-656da4681770@redhat.com> <59a501d2701f$b1bb1290$153137b0$@yahoo.com> <87ziiq937c.fsf@elephly.net> <59dc01d2704c$0d4ea910$27ebfb30$@yahoo.com> <a5421827-9cc8-63b5-d7b7-b9ee96737c2d@redhat.com> <878tq86rjx.fsf@elephly.net> <92b25477-ed9d-f35e-a9b4-2cb90e425cbd@ubuntu.com> <8760lc6q5n.fsf@elephly.net>
On 18/01/17 20:59, Ricardo Wurmus wrote:
> The Bootstrappable Builds project[1] ties to remove the number of
> trusted binaries to bootstrap a modern system. One way to get there is
> to have a bootstrap path that leads to the unavoidable C compiler.
>
> And even the C compiler doesn’t *have* to be a trusted binary. The Mes
> project[2] tries to build a C compiler using a minimal, hand-verifyable
> Scheme implementation, for example.
>
> I just find it sad to see GCJ go, because it makes it quite a bit harder
> to build the OpenJDK without a trusted JDK.
It could be done with a chain of OpenJDK versions going back to
OpenJDK 6. Each release can build the previous one. You'd also
need a chain of old GCC releases, because old OpenJDK wasn't
necessarily compilable with a modern GCC.
But bear in mind that even GCJ needed precompiled binaries: the
class library could be recompiled from source, but it needed a
binary class library. So I'm not convinced that it's much of an
advantage to use GCJ, really.
Andrew.