From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id MGlrLduBXWOxVgEAbAwnHQ (envelope-from ) for ; Sat, 29 Oct 2022 21:41:15 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id UEdULduBXWOfCwAAauVa8A (envelope-from ) for ; Sat, 29 Oct 2022 21:41:15 +0200 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 8ABBD29D3F for ; Sat, 29 Oct 2022 21:41:15 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oorhc-000491-Vf; Sat, 29 Oct 2022 15:41:08 -0400 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 1oorhW-00048u-5y for guix-patches@gnu.org; Sat, 29 Oct 2022 15:41:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oorhV-00068f-Sr for guix-patches@gnu.org; Sat, 29 Oct 2022 15:41:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oorhV-0006g7-NN for guix-patches@gnu.org; Sat, 29 Oct 2022 15:41:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57788] [PATCH] gnu: rust: Disable debug info to reduce build requirements Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 29 Oct 2022 19:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57788 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Mark H Weaver Cc: 57788@debbugs.gnu.org Received: via spool by 57788-submit@debbugs.gnu.org id=B57788.166707241325603 (code B ref 57788); Sat, 29 Oct 2022 19:41:01 +0000 Received: (at 57788) by debbugs.gnu.org; 29 Oct 2022 19:40:13 +0000 Received: from localhost ([127.0.0.1]:36739 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oorgj-0006et-2L for submit@debbugs.gnu.org; Sat, 29 Oct 2022 15:40:13 -0400 Received: from mail-ej1-f54.google.com ([209.85.218.54]:36846) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oorge-0006eV-EY for 57788@debbugs.gnu.org; Sat, 29 Oct 2022 15:40:12 -0400 Received: by mail-ej1-f54.google.com with SMTP id 13so20478319ejn.3 for <57788@debbugs.gnu.org>; Sat, 29 Oct 2022 12:40:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender:from:to :cc:subject:date:message-id:reply-to; bh=srNmkdpzSthTNqrSTxOsVLcnrZFDdWrwElmuEet7yQM=; b=CZ46znbWWWYRja257pYNPCfVhkLv+NpBwQz53b5mJVjJK5KN3O0SUz02F0qcaOPMbH VlHvHi7ppIFZQqdy9MfKVUIiRQcpjD0wmPUWV68Bmjv6L+kPnGCpzvyEHN6yORkjhVOc i0e140P7qC87Z/pjhHHgZI2Fc5WV658kwQa4wgii7bXLpr+U8egaiOkt3GCUg+R0oc+a +3yFk2cBHXFjm2pJjN0DM5nF4cL3rDXsDMwxXqL/QqEFS8wMbNDdxuIaTAuBPHs8rhWG vDliLhRUcAMnD2SWVYup9h045g4CenZtfckrZgFB9G/A5oIUriI8250lKwGEx5ypjUjh rKmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=srNmkdpzSthTNqrSTxOsVLcnrZFDdWrwElmuEet7yQM=; b=ZS3AgQ2k2Y0MJY++CM0zuZcbcnuBOoWSeojNT/3kIMrENFUAjvbHHFzL9zpQBCuhpz Km8JbRHkkslhSOaBqlNEqBPy2pjZ4hVZocTLuDqp0aLxtwHgVsU8Izy5muJQHyvBKpg7 HtVlQwJfiLiLR/LXX2Qd1+XUZudt3GtqY/y4M1JwySt+CcitD/O66JRleeBC0F9N0xXR z8rjKwCJWBTiLDOAnNG7jIuReCnxHPwH5/BzBGY/I05b0ErYw+RgfmFu5oFZhg4DVvvm 03U8p5YwGch1cumbvaz7lLf1bUTrkog+hMT6rBfV6c4HLVPb930Xq5Al2cf8UmOyA9go +S9Q== X-Gm-Message-State: ACrzQf2yhM89b3Ap3f/Xu+FTfH98QWROAgYgvpiHjv9UUyg4iq+UXALP iI9nf+SIXmoODmH4wK6Sq6wIaNhS5yuA85Qm X-Google-Smtp-Source: AMsMyM7teVTUd+m5bgl5bUiBWmP77fTf7wSSXzNCK5AVETPccyCIs39aAtAx6kV7+E8qi5ieCZr7vw== X-Received: by 2002:a17:907:7e9a:b0:796:7a21:1520 with SMTP id qb26-20020a1709077e9a00b007967a211520mr5174155ejc.236.1667072402292; Sat, 29 Oct 2022 12:40:02 -0700 (PDT) Received: from localhost ([141.226.15.67]) by smtp.gmail.com with ESMTPSA id i6-20020a1709063c4600b007adbeca22fasm205709ejg.47.2022.10.29.12.40.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 29 Oct 2022 12:40:01 -0700 (PDT) Date: Sat, 29 Oct 2022 22:39:59 +0300 From: Efraim Flashner Message-ID: Mail-Followup-To: Efraim Flashner , Mark H Weaver , 57788@debbugs.gnu.org References: <874jxahlpi.fsf@netris.org> <877d1buw70.fsf@netris.org> <87wn8kfcy1.fsf@netris.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="d7g4lNHXORQLSSr5" Content-Disposition: inline In-Reply-To: <87wn8kfcy1.fsf@netris.org> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 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: , Sender: "Guix-patches" Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org X-TUID: HDJQzStecimJ --d7g4lNHXORQLSSr5 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Oct 28, 2022 at 06:40:27AM -0400, Mark H Weaver wrote: > Hi Efraim, >=20 > I was surprised to see commit 01be1973f464cb81cdece54f7858f0dee46abb50 > attributed solely to me, although I did not actually author that commit. >=20 > In the future, please do not attribute commits to me that I did not > write or approve of. At minimum, if you modify a commit that I > proposed, please add a "Modified-by" line in the commit log. If you > made radical changes to a commit that I proposed, better to list > yourself as author and maybe say "based on a proposal by Mark H Weaver" > in the commit log. >=20 > One important modification that got lost in your simplified commit was > the change I made to mrustc/tools/minicargo/build.cpp, which I evidently > found necessary. Without that change, I do not know if Rust can still > be bootstrapped on a small machine such as mine. >=20 > Anyway, thanks for working on it, and for the other important work > you've done on dramatically shortening the Rust bootstrap. >=20 > Regards, > Mark Sorry about that, I was modifying as I went and after updating mrustc to a later commit the "if (true) add '-g'" spots in mrustc got changed to depend on enabling debug, and I found that after removing -g from the makefiles it wasn't being added anymore. I'll make sure to be more careful in the future about commit attribution. About mrustc/tools/minicargo/build.cpp, it looked to me like that was specifically about building mrustc using the codeblocks IDE. I've tried to rebuild rust-1.54 on my pine64, which has 2GB of ram and 4GB of swap and that didn't seem to be enough so I'm retrying that with just 1 core. I'm also trying on my pinebook pro, with 4GB of ram and 6GB of swap and I'll see if it works there or if it needs more tuning. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --d7g4lNHXORQLSSr5 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmNdgYsACgkQQarn3Mo9 g1GW9hAAnQ1B9N0qtK3GNgwNXPeKmazLMX5KG3YxlpYg1O8I2d4MmMz8IWZrJwby WYiEEuG1XpX49EYFbC/tO/nLi8Xs+w6ukGclh+cTsfuj0j5DbGzqbexXE/KSVgU9 2fc/lNUvc7tRqkT4TepRxqz4mEjKJplCvMdq/Xu6joIPcLyOqF+sLgjjsmQA9xkz X84JVSa50BBho6ig8cfre7Ldkz2MGQBtqqghYoBh9uwfmDk+K1wgbODmnpnIcB6L 4BhCRDdkcI5wzmKXofqV4dXVHdaxTxEBBpo9S0en6szUxfkOtncno/iJ83FZDY52 0eb8oBBBqvQnCiUIxuIA5J0z8QOXA9pDAi3xyPRSFMl3CgNpmjRXvlpNLtxG//eK UEq9Vyjss5sjWcgHIZwpkyto//x3M8vBn+lBc3dk4DUz70XPEIigIRVN1O0I5tAD 4OnTUxtpA+mtS/Pc4DoiSZEDilKt7F3iMBazfUkr9esjylMCdR2su+sKBdkw0K6X 5YFuOftwwR1ixDNtHTm3/arZO5CWo71z4t5yoXK9PYdur7fI3a+hrdjB9UKiSI99 Uud6bnF6ocaP1UkidTMDrCiXLTX/aJtTDG4r6sI3luHo/P1PImVpSBDObr7U21Lg X5j06yp0l8niCDqaY5oSUyKX/bmvtmMFQYwsrzCA7LjTvTmtpRY= =4zOB -----END PGP SIGNATURE----- --d7g4lNHXORQLSSr5--