public inbox for java@gcc.gnu.org
 help / color / mirror / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: Matthias Klose <doko@ubuntu.com>
Cc: Andrew Haley <aph@redhat.com>,
	bill.chatfield@yahoo.com, 'mohan NMH' <mohan.nmh2@gmail.com>,
	java@gcc.gnu.org
Subject: Re: Fwd: gcj can not import packages
Date: Wed, 18 Jan 2017 20:59:00 -0000	[thread overview]
Message-ID: <8760lc6q5n.fsf@elephly.net> (raw)
In-Reply-To: <92b25477-ed9d-f35e-a9b4-2cb90e425cbd@ubuntu.com>


Matthias Klose <doko@ubuntu.com> writes:

> yes, you need some trusted binaries.  For example, there are various Linux
> distributions which provide these binaries.  And even if you want to build for a
> target that doesn't have binaries, you can first build a native openjdk on your
> build platform, and then cross-build for your target.  I built several Linux
> architectures this way ...

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.  Relying on the last release
of GCC that included the GCJ sources isn’t a viable long-term solution,
because, as experience has shown, build systems of the past become
unsupported and harder to satisfy as time passes.  It is, for example,
quite a challenge to build the GNU Pascal compiler (needed to bootstrap
the self-hosted Freepascal compiler from source) from a decade back with
a modern toolchain.

[1]: http://bootstrappable.org
[2]: https://gitlab.com/janneke/mes

--
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net

  reply	other threads:[~2017-01-18 20:59 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CANV4OqjehvrZUaMGbwn0Gu3KsesTy7aWVhY9cPETpnqwf_Zo0A@mail.gmail.com>
2016-11-09 11:29 ` mohan NMH
2016-11-09 12:26   ` Andrew Haley
2016-11-09 12:49     ` mohan NMH
2016-11-09 13:29       ` Andrew Haley
2017-01-16 17:41         ` Bill Chatfield via java
2017-01-16 20:10           ` Ricardo Wurmus
2017-01-16 22:58             ` Bill Chatfield via java
2017-01-16 23:24               ` Anthony Green
2017-01-17  9:56               ` Andrew Haley
2017-01-18 20:29                 ` Ricardo Wurmus
2017-01-18 20:40                   ` Matthias Klose
2017-01-18 20:59                     ` Ricardo Wurmus [this message]
2017-01-19  9:59                       ` Andrew Haley
     [not found]                         ` <CAFXTvn525N1D_EOuCAWXSJugCpZCZCkc5GfuhNJ1nPoDK0DAoQ@mail.gmail.com>
2017-05-17 20:26                           ` Ricardo Wurmus
2017-01-17  9:58           ` Andrew Haley
2017-01-17 15:21             ` Bill Chatfield via java

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8760lc6q5n.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=aph@redhat.com \
    --cc=bill.chatfield@yahoo.com \
    --cc=doko@ubuntu.com \
    --cc=java@gcc.gnu.org \
    --cc=mohan.nmh2@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).