From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id sLr1EiZhsWWpZwAA62LTzQ:P1 (envelope-from ) for ; Wed, 24 Jan 2024 20:12:38 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id sLr1EiZhsWWpZwAA62LTzQ (envelope-from ) for ; Wed, 24 Jan 2024 20:12:38 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=SMuZfY8Z; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1706123558; 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: 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=GAk9jp57GAJ/fiFYQGYLw1/T5y6vuqLwCMutkjL68hA=; b=p4cqWbP9dbwVan8QHALfNumda1IPatC9NU9/mY4nywlh1R6JBPJRy1GdrXqUCyEuMo8ZP+ gOXOCSMxWVlcAjTAQXF77GA4QpIt2cJH60j0886zSJPSVhu5SlUYVqq+7Y8SKY/0LIFlx+ lXIj7TgN7eAsy9FQWXDH+4O1kk93zJVqnJvvFvGCpyr8HXgjSGabZ8V91KB+iG7maPYLIa 7le6zsV+sSBvGzNPR7PlvN6arhsdCDpgwIIRJ8O71ICyGANuKXc0l0W1WCgM2v/nkAtz0k eBBEp7qWmSdeEEPAWuRTvkKBtwzjrGk3bIL5kI/cPn6AmQBXj6tCp3KdtUMLYw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=SMuZfY8Z; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1706123558; a=rsa-sha256; cv=none; b=PG+EGg3nAx6Q+0FHyq/x82KyJha6i4IpyPk3pP8+HBiZm3t5MhliZx5HPBK+1LAu+mlNub aXri57CwUEJ3mbK1h8yKd7qy5cv+VjtZyu3NzFiYgrt5C7UFgDjQhaN7krF600fuVHOFCP JeJWI3hG6pwsR2S/GLYnHp6PzqwrXwjWDNiF9VzpfhxTMk/GtPMb3WYH+ty8KWows/y9kS uEDO5+6hTPhjIwwQQWY2hJ7jVfEFZPvREVkFRV6Jrqn49HvzTbBvDGRzQ4Ry4xLitQNiCl g+g229Z/Rz7X1098jtIyYJCQ4elegohHRJ8HeKW8eBWxTBPHv0SVHd3Tj8+hyA== 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 2215B31E20 for ; Wed, 24 Jan 2024 20:12:38 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rSifH-0005vW-3s; Wed, 24 Jan 2024 14:11:59 -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 1rSifF-0005v4-Dk for guix-patches@gnu.org; Wed, 24 Jan 2024 14:11:58 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rSifF-0003KP-5N for guix-patches@gnu.org; Wed, 24 Jan 2024 14:11:57 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rSifK-0000r9-9S for guix-patches@gnu.org; Wed, 24 Jan 2024 14:12:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#63393] [PATCH 0/2] Fix libstdc++.so and gcc-toolchain Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 24 Jan 2024 19:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63393 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: John Kehayias , 63393@debbugs.gnu.org, Kaelyn , Simon Tournier Received: via spool by 63393-submit@debbugs.gnu.org id=B63393.17061235043251 (code B ref 63393); Wed, 24 Jan 2024 19:12:02 +0000 Received: (at 63393) by debbugs.gnu.org; 24 Jan 2024 19:11:44 +0000 Received: from localhost ([127.0.0.1]:46591 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rSif1-0000qM-NX for submit@debbugs.gnu.org; Wed, 24 Jan 2024 14:11:44 -0500 Received: from mail-oi1-x233.google.com ([2607:f8b0:4864:20::233]:55452) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rSif0-0000qA-1t for 63393@debbugs.gnu.org; Wed, 24 Jan 2024 14:11:42 -0500 Received: by mail-oi1-x233.google.com with SMTP id 5614622812f47-3bd9773ed0fso2476176b6e.2 for <63393@debbugs.gnu.org>; Wed, 24 Jan 2024 11:11:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706123490; x=1706728290; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=GAk9jp57GAJ/fiFYQGYLw1/T5y6vuqLwCMutkjL68hA=; b=SMuZfY8ZHEagKRsks1eJNRSf2IbhtNhkP9MGBMasOts25qFrO8W7djXZHBtcDdcKSO he7RfhwQwaOvhLGl7Qb+0uLePqjyFYsrSsnfpwOGqmJDyZh/lbyLCzo/oqaNN/Wqyoiu SBuryJv6GLOSP1uaKEHaYpxqOl90+KUD9w9QzLiz2pZ5nMxc2mOlxc32qTjnFMkqjJxm P8ppd2yTyOWU/84VjW1+2HdZGNWasJAwaOk8lcnR7kExKhY4oYEEGiimq8vIYSpzushJ r6KTebKF3o9SqnzeiOJ6OZDHDvnBuXJ6O2+1s/0kPp053qcEelWtWS8725tDQKOqf/iy dHRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706123490; x=1706728290; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=GAk9jp57GAJ/fiFYQGYLw1/T5y6vuqLwCMutkjL68hA=; b=gVv1n8QWk+Icp3KZ6SVd/xvSOebm2ClcApHJViFn+MoGmmSC6KKJnF4uKugTKssUpv DVu8Kb86EaUZezCbIU8eB0nrqI7fMnMgzHKiOYyff+KMbfqpWg/lhvvMlcIwDFnnyZ5i oE3NLft1l7Bc6ZWrep3IcETMa7D4fi9WfcSjTKVLgPcsDYaVHqQYPdo3AzOHiCj+UMV0 +nbi40THMJYZyZ/eLvbomP84h/SXBRXVhoCIlnStec3G4jMqWv91YU+cSBBQPobZZSt2 Cxmc8S3WkZpt6cLKDTBxU15eENa4QvZwcBxjz9gM6SDuLHYKY+ZYGLiRsvnYFTMTD8iz nXFw== X-Gm-Message-State: AOJu0Yzlwdbsd1fmm5iWDll2TRzSTyg3PT+nYaBVwPLIkZfnluxGg8bM pAwcooBaU8oe430rApRqMFcKHYU1yfPtD9obl7a7pxDIZUEkb0FUZ5s5lUic2wg= X-Google-Smtp-Source: AGHT+IHa1N/goPz/nK63umYylnCbB5z+6qll95LaatmUsfZ2LCxpxk7X+sV19nA2c5o6eNGzwx+/XA== X-Received: by 2002:a05:6808:148a:b0:3bd:cd55:d320 with SMTP id e10-20020a056808148a00b003bdcd55d320mr1900611oiw.47.1706123490493; Wed, 24 Jan 2024 11:11:30 -0800 (PST) Received: from hurd (dsl-155-16.b2b2c.ca. [66.158.155.16]) by smtp.gmail.com with ESMTPSA id o11-20020ae9f50b000000b007837e17f643sm4291496qkg.63.2024.01.24.11.11.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jan 2024 11:11:30 -0800 (PST) From: Maxim Cournoyer In-Reply-To: <87ede6u09s.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Wed, 24 Jan 2024 18:08:47 +0100") References: <87sf9nzoxf.fsf_-_@protonmail.com> <87o7dkrkju.fsf@gmail.com> <87ede6u09s.fsf@gnu.org> Date: Wed, 24 Jan 2024 14:11:29 -0500 Message-ID: <87sf2mwnq6.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: 3.83 X-Spam-Score: 3.83 X-Migadu-Queue-Id: 2215B31E20 X-Migadu-Scanner: mx12.migadu.com X-TUID: CbtSfzRnWTMt Hi Ludo, Ludovic Court=C3=A8s writes: > Hi, > > Maxim Cournoyer skribis: > >> Shows that the main output of GCC already keeps a reference to its "lib" >> output within its closure. It seems we could merge "lib" back into >> "out" and simplify things? > > No, because most packages depend on gcc:lib and we wouldn=E2=80=99t want = them to > depend on all of gcc: > > $ guix size grep > store item total = self > /gnu/store/gsjczqir1wbz8p770zndrpw4rnppmxi3-glibc-2.35 40.6 = 38.8 50.2% > /gnu/store/930nwsiysdvy2x5zv1sf6v7ym75z8ayk-gcc-11.3.0-lib 75.3 = 34.7 44.9% > /gnu/store/zzyywykw7kriln18rxqd82f0k5kidla7-bash-static-5.1.16 1.8 = 1.8 2.4% > /gnu/store/rib9g2ig1xf3kclyl076w28parmncg4k-bash-minimal-5.1.16 41.6 = 1.0 1.3% > /gnu/store/ixr7c3jadiqg640b8pz3njqhhm5zzmvj-grep-3.8 77.2 = 0.9 1.2% > total: 77.2 MiB > $ guix size grep gcc > guix size: package 'gcc' has been superseded by 'gcc-toolchain' > store item total = self > /gnu/store/5lqhcv91ijy82p92ac6g5xw48l0lwwz4-gcc-11.3.0 223.6 = 148.1 43.0% > /gnu/store/zh4x65snfis7svs6906gj1z8i7dx2j3m-binutils-2.38 95.5 = 54.9 16.0% > /gnu/store/g8p09w6r78hhkl2rv1747pcp9zbk6fxv-guile-3.0.9 134.0 = 53.1 15.4% > /gnu/store/gsjczqir1wbz8p770zndrpw4rnppmxi3-glibc-2.35 40.6 = 38.8 11.3% > /gnu/store/930nwsiysdvy2x5zv1sf6v7ym75z8ayk-gcc-11.3.0-lib 75.3 = 34.7 10.1% > /gnu/store/5iklcps70c0sfkxvlrhg8jhf3q4h18bj-linux-libre-headers-5.15.49 = 5.9 5.9 1.7% > /gnu/store/wlm2r1789qi5kg242kyk72ipr14xsc0n-libunistring-1.0 77.8 = 2.5 0.7% > /gnu/store/zzyywykw7kriln18rxqd82f0k5kidla7-bash-static-5.1.16 1.8 = 1.8 0.5% > /gnu/store/bmcbayp2prca1svm1d5livg4f477i452-pkg-config-0.29.2 76.4 = 1.1 0.3% > /gnu/store/rib9g2ig1xf3kclyl076w28parmncg4k-bash-minimal-5.1.16 41.6 = 1.0 0.3% > /gnu/store/ixr7c3jadiqg640b8pz3njqhhm5zzmvj-grep-3.8 77.2 = 0.9 0.3% > /gnu/store/575d59dd56fwiyjv58n0kjc24g3wi1ik-libgc-8.2.2 76.1 = 0.8 0.2% > /gnu/store/gqld7hz5vm4g904g7nc77z7wzvdrrwyb-zlib-1.2.13 40.8 = 0.2 0.1% > /gnu/store/q5k9xqnq9fvbvn17xymdvnckcwp8xlp9-libffi-3.4.4 75.5 = 0.2 0.1% > /gnu/store/fzsz6gk7g5spr7j5jx5zh6rysd5r0n64-gcc-toolchain-11.3.0 343.4 = 0.1 0.0% > /gnu/store/na1dpbbcxjaa3n8wkwrfpch476f90hlf-ld-wrapper-0 189.1 = 0.1 0.0% > total: 344.3 MiB Thanks for putting this into perspective. So out -> lib but lib !=3D depend on out, which makes it useful to reduce the closure when used standa= lone. --=20 Thanks, Maxim