[rb-general] bootstrappable builds: practical source based bootstrapping

Holger Levsen holger at layer-acht.org
Sat Sep 2 23:40:54 CEST 2017


Hi Jan,

sorry for this terribly late reply… summer…

On Mon, Jul 24, 2017 at 06:57:58PM +0200, Jan Nieuwenhuizen wrote:
> I am working on something related to reproducible builds which is
> possibly significantly new.  [GuixSD's] reproducible builds inspired me
> last year to create Mes[0], a project that aims to produce source based
> bootstrapping.
> 
> It's great if we can reproduce [almost all of] our packages from
> source...so that got me thinking: what about the initial GCC and the
> other bootstrap binaries?  This is now one of the aims of the
> “bootstrappable builds” effort[1].
> 
> The idea of Mes is to have a Scheme intepreter written in simplified
> stage0[2] M1 assembly that executes a C compiler written in Scheme, that
> compiles tinycc.  Tinycc can compile Gcc.
> 
> The Scheme interpreter is prototyped in ~1400 lines of simple C (mes.c)
> and the C compiler in Scheme (mescc.scm) can compile this interpreter,
> which makes them mutually self-hosting.

just one word: awesome!
 
> I'm working with Jeremiah Orians [cc] who has created stage0, a source
> based toolchain that builds from a self-hosting hex assembler in ~280
> bytes via a labeled hex linker up to a simplifield M1 assembler.
> 
> This list came to my attention after a posting that suggested that
> specific plans to deliver something significantly new be proposed for
> future funding.  It would be nice if we could get some help and it
> would of course be amazing if there would be a possibility of funding
> for a source based bootstrap path.
> 
> What do you think, are our efforts related?

I'd say: absolutly!

Are you aware of our summit happening in late October / early November 2017
in Berlin?


-- 
cheers,
	Holger
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 811 bytes
Desc: Digital signature
URL: <http://lists.reproducible-builds.org/pipermail/rb-general/attachments/20170902/340f829f/attachment.sig>


More information about the rb-general mailing list