From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id MAUYDf1W0WPvlgAAbAwnHQ (envelope-from ) for ; Wed, 25 Jan 2023 17:21:17 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id iEX9DP1W0WNBGAEAauVa8A (envelope-from ) for ; Wed, 25 Jan 2023 17:21:17 +0100 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 C5D3224849 for ; Wed, 25 Jan 2023 17:21:16 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pKiW3-0001Ft-TS; Wed, 25 Jan 2023 11:20:51 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pKiW1-000172-Up for guix-devel@gnu.org; Wed, 25 Jan 2023 11:20:49 -0500 Received: from mail-il1-x130.google.com ([2607:f8b0:4864:20::130]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pKiW0-0002ur-Bo for guix-devel@gnu.org; Wed, 25 Jan 2023 11:20:49 -0500 Received: by mail-il1-x130.google.com with SMTP id i17so8939461ila.9 for ; Wed, 25 Jan 2023 08:20:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=RBviOzXZ2B45pigVJ6U7kMSgWgC8F1pZyyEeyiWgqeU=; b=f1wtk+HEySr31aV8GCAYywCrQyQkwpOkXU07VatTXCCz33VAayn55/PoPm7GgJwOqm 2yGnbTIWT2HjkDQwbl20kIYsb6V940jBCSFUG5pM9DbZR6DVj+qGLjbQx1tubIpUwwwP 7DJa8fd1dcL0UNGV7j0S7sjuPZ/B/2rguxqlsfgYgcMhaj5oaq0elOe4yQTdY8+Sen8x ubDiWilIqajQShW2cNjQ7PDq55/OA056I2AoE+3I91/jynE4h9BN0bf9WNXKUQGSSotu QxtU4iF0GpDT05a0vFs4c4fczIR87RqRW89XFGJ3f/mrW6sB/rz97OJwK6EJTRqq1cSz Rh1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=RBviOzXZ2B45pigVJ6U7kMSgWgC8F1pZyyEeyiWgqeU=; b=r2dsTCx84PbmACj/p6kpcktwBJ0RdU8EII0cvcCYrz29EVJHJyo8eLiPxkz8hJ0fMc MrCGDcUCf0pBrTTVZJ7Jhif7I3QdNmNv16jG35bVLtM/VZqIsoywGCbDuBeqx0KL+qLb kje+4YV38TAC+ZRpkLtmPHNVyIQkh7DKHuRe7FK6lHGqN38fU3gltMC+WZSnkR+9IciB vEkTUDsObF1mEyegwpIyEqMoVfU/FTnlmH4CNdFet176v8wsKYXAwCpYyFkvV5mPJMQu UqqMFmrxFKd2G9E6askW6Wy1EnUEkLiSaXrhkOWaqt9PqEPh+/lpuIVAs6+ytb6tEi2C sOmg== X-Gm-Message-State: AFqh2kpzy8GtfD7f5HL+0+vSEsZ4OXSdm6oHGI3nE0wLYbJaOIXSvXKF TgcH9RPvda3gyXBjcWsuFSldh0CJKWc= X-Google-Smtp-Source: AMrXdXt+o+jr7sMIRxgkF9JITwazLtyVwkvFM9gIMH2NrkTDt8QQoqHg8DoFXAK2ikJQwl+0W72PVw== X-Received: by 2002:a05:6e02:1d13:b0:30f:5d40:1ce0 with SMTP id i19-20020a056e021d1300b0030f5d401ce0mr17638726ila.18.1674663646709; Wed, 25 Jan 2023 08:20:46 -0800 (PST) Received: from washu-v4 (c-174-51-139-101.hsd1.co.comcast.net. [174.51.139.101]) by smtp.gmail.com with ESMTPSA id n13-20020a02a90d000000b0038a822f87c3sm1739032jam.159.2023.01.25.08.20.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Jan 2023 08:20:45 -0800 (PST) From: Katherine Cox-Buday To: Robby Zambito Cc: Guix Devel Subject: Re: Compiler bootstrapping requirements References: <87a628iy7z.fsf@robbyzambito.me> Date: Wed, 25 Jan 2023 09:20:45 -0700 In-Reply-To: <87a628iy7z.fsf@robbyzambito.me> (Robby Zambito's message of "Mon, 23 Jan 2023 19:10:34 -0500") Message-ID: <87cz72ziua.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::130; envelope-from=cox.katherine.e@gmail.com; helo=mail-il1-x130.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1674663677; a=rsa-sha256; cv=none; b=bYqbxTjDruk4UQYjJG37nj9eeZqNXeRW46qph8NKJ/UBv0WPIHS8DAks6W+Yh9l3hr1Miy hcbcanY1xDyfEhVoL8DwWQIjuSg/VrQhpBwH6/OSbH5P/mlWhMUU7NNyTg0l+0+SC0mX40 jmmPhdWM7/80ZBMRDpYNlTJFy9RpbtHdEwbw6k5zO+rrq3kATbMVhPVCFilOs3t6QOzWgE 9cZm9Ukl7c27oUZjQNYT2z41dcLUBhqj8DiWGAzag4Z32zK8RoHbYayMVVJcKH/vYOY6gL +prKkjcD9q8ybM1gJGVF0nmZajhg9QPEtz18fttirqXo6Wz8HWXrJjwfs463xw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1674663677; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=RBviOzXZ2B45pigVJ6U7kMSgWgC8F1pZyyEeyiWgqeU=; b=MmthUBm3JMKRVXzW8YrZP6frXTQtqxfmo7PyKv+6kh7QGJjWYx8+YVEYLy6daWnyb3engJ R6cBdpvHM2MZ6pxEtaFXHvjXn/MW5ozJJRJ8vzPE51ebYsUv3172P7q2rtIxhZcMaCmnh/ DcvmArOS953mvAkepKcBIW/yFC0Yj3gPMJYKpTrYBfQPqI1bO05ipQWKmTlVaqXcRsWJi1 FehKQkCf4X5MxjDRWwVIgCQRMzhW1FldustTDuKEryWPKkLBV4lwdCOOVJAPLBKe6uk0gE MJkgtCXDXVeSQy4HY6ejx5U0BTiALisefkvSZ22/wNA1vhwfqyhi8H9DAB4G6g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=f1wtk+HE; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -11.85 X-Spam-Score: -11.85 X-Migadu-Queue-Id: C5D3224849 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=f1wtk+HE; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com X-TUID: J6DDCk3+58ei Robby Zambito writes: > Hi, > > I remember seeing some details about certain compilers not being > allowed in Guix due to having an inadequate bootstrapping process, but > I can't seem to find it right now. I'm looking to write a package for > the Cyclone Scheme[1] implementation. The compiler requires a copy of > itself to build from the main sources, but there is a secondary > repository which includes some C files that normally require a copy of > the compiler to generate. I'm wondering: is the second repository[2] > sufficient for including in Guix? > > Footnotes: > [1] https://justinethier.github.io/cyclone/ > [2] https://github.com/justinethier/cyclone-bootstrap Without having looked at the specifics: Generally what we do is find an early version of the compiler that was bootstrapped not using itself, package that, and then use that package to bootstrap the later versions. Sometimes that earlier version is never published as the author(s) was quickly iterating. In that scenario, I don't know what we do. I hope that helps. -- Katherine