From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id QMOvAYX7OmAvKwAA0tVLHw (envelope-from ) for ; Sun, 28 Feb 2021 02:10:13 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id YMYnOYT7OmC0KgAAB5/wlQ (envelope-from ) for ; Sun, 28 Feb 2021 02:10:12 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 330F027589 for ; Sun, 28 Feb 2021 03:10:10 +0100 (CET) Received: from localhost ([::1]:36202 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lGBX7-0008KW-73 for larch@yhetil.org; Sat, 27 Feb 2021 21:10:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:45114) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lGBX0-0008KN-N4 for guix-patches@gnu.org; Sat, 27 Feb 2021 21:10:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:34060) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lGBX0-0001Tu-GG for guix-patches@gnu.org; Sat, 27 Feb 2021 21:10:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lGBX0-0006GM-8N for guix-patches@gnu.org; Sat, 27 Feb 2021 21:10:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#46806] [PATCH] gnu: ocaml-4.07: Bootstrap. Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 28 Feb 2021 02:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46806 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 46806@debbugs.gnu.org Received: via spool by 46806-submit@debbugs.gnu.org id=B46806.161447815924006 (code B ref 46806); Sun, 28 Feb 2021 02:10:02 +0000 Received: (at 46806) by debbugs.gnu.org; 28 Feb 2021 02:09:19 +0000 Received: from localhost ([127.0.0.1]:45606 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lGBWI-0006F7-UF for submit@debbugs.gnu.org; Sat, 27 Feb 2021 21:09:19 -0500 Received: from lepiller.eu ([89.234.186.109]:58926) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lGBWD-0006Es-Bn for 46806@debbugs.gnu.org; Sat, 27 Feb 2021 21:09:17 -0500 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id ccfdab03 for <46806@debbugs.gnu.org>; Sun, 28 Feb 2021 02:09:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=dkim; bh=a1W25So/OqhM Atw+R+4hr9/F+DKwCqiCdaQDQW84clo=; b=Qc44Z0pfuujBA4Mc8gCop1PF//lI PNN0EG+51Fw2iMsJYQeoqXMy1uEmFFsFGgWVhXc7DYnDFkwna4+xaixPruvzIgZA /wzbeQA4DulyyGBViw6TbGKevlxljGxwd1TH5j9SqBVBXoDejNWcvfdWLPtRqEws Bt3y0xL4/bD/Dde/4Of7Kb0jKPoLNBhu/AbdI29uNTgjAS1jh0cwnOs5rqV06tNu hsf6fsUlAIXwNpPIa/afB6Orh8qeRWu5hISTQtjrFTx6JYqb3vmMtcs9mnmpqeq0 G9HYYaPJkVjVpmrsD2IxxCJ2rfHThgiP2v6/22aN2b7rqD9ZUF9y3gj9Pw== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 9eb468f9 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for <46806@debbugs.gnu.org>; Sun, 28 Feb 2021 02:09:10 +0000 (UTC) Date: Sun, 28 Feb 2021 03:09:05 +0100 From: Julien Lepiller Message-ID: <20210228030905.78ccf557@tachikoma.lepiller.eu> In-Reply-To: <20210227001244.17cc3833@tachikoma.lepiller.eu> References: <20210227001244.17cc3833@tachikoma.lepiller.eu> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1614478212; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=a1W25So/OqhMAtw+R+4hr9/F+DKwCqiCdaQDQW84clo=; b=QYwOgjza3CamH43HCneUvwi8DKZXjiwLk20heoLfVHbf57193WVBh/9wFTHaktreTppnPG Jsp/WjVLs9WdOeXxaBQ4rvzf9e4jc6iuJ34/Iun0TFB37lA+6HwNSevDuKNM2M7rk2jRWO S5mb8uQBRsaArMrrj9107xTtGIE4Gg1XpjT/jpChyM0LOuy5Sh8N9n2f6SfV7rV900LBdu mCNaquJKXKiBa+iwyahz7/1KcOGM9thE/Bi7jFUPRiWa8+dJwJ+PT626Xv8OJ7i/DPAMCs MGewMDvVA/lNxRDBTTxPB0v3Z03gI19ezeQrJR4UGAEUPS22fArpEB61KtLaQg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1614478212; a=rsa-sha256; cv=none; b=fGEGeWcvx8gMHJok6cNQgBYQU8zZMLtJZAbH0aaQWC4WLUotu3Te6dwACVY8pieAHNg41g 3Edln2jk3K+/+rZry+pvzech7gLAYKSYyFq0y1pZerZLd5hbTg1ybhwFze3YX6mhBaujnb WsbZinV4zzeEc1va637YZTq9Tpyfma2MFY7PJYEQMuQPpSvH8zKQ/wb1bw7pzwJKC3qxph wOhFbTiyUJc7mzlwtraypjqPQiu3byEtU1A3sf8GF4mcY2aTNsIXLRmypQg1dZ4MChy2lW h8lgOqWcu+ElUJeStT5+XAteCNcbdVOSwQGZfYretD1GcumISp+93Syff4GfQg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b=Qc44Z0pf; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -1.27 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b=Qc44Z0pf; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 330F027589 X-Spam-Score: -1.27 X-Migadu-Scanner: scn1.migadu.com X-TUID: vln6QC1loPPc Le Sat, 27 Feb 2021 00:13:39 +0100, Julien Lepiller a =C3=A9crit : > Hi Guix! >=20 > This small series adds camlboot, a project to reimplement a bootstrap > for OCaml, which lets us remove the pre-built boot/ocaml{c,lex} :) >=20 > The first patch builds the bootstraped ocamlc and ocamllex. This takes > around 4 hours to build. The second patch rebuilds them using the > source code for ocaml 4.07.1, instead of the modified sources used in > camlboot, and reuse them to run the main Makefile (make world.opt). >=20 > As a result, we have identical files for this bootstrap and the > unbootstrapped OCaml (up to output store paths and hash of some files > that get embedded in native files, which differ because of the > different output path). Here's the second version of the series: the first patch is unchanged, the second patch is slightly better: the bootstrap ocaml 4.07 now run "make alldepends" to generate all the .depend files, and installs them to its output at share/depends. Then, ocaml-4.07 simply copies the bootstrap data from this package (ocamlc, ocamllex, ocamlrun and all the .depends) that were deleted from the archive, since they were pre-generated. I feel much better about this patch than the previous one. Thoughts?