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 ms9.migadu.com with LMTPS id QJuzORvwXGTCOQEASxT56A (envelope-from ) for ; Thu, 11 May 2023 15:39:40 +0200 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 MIGcORvwXGQYQAAAauVa8A (envelope-from ) for ; Thu, 11 May 2023 15:39:39 +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 B289B241EB for ; Thu, 11 May 2023 15:39:39 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1px6Vl-0003UE-TU; Thu, 11 May 2023 09:39:13 -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 1px6Vb-0003N5-Ne for guix-patches@gnu.org; Thu, 11 May 2023 09:39:06 -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 1px6Vb-0006A3-Fd for guix-patches@gnu.org; Thu, 11 May 2023 09:39:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1px6Va-0000AC-G8 for guix-patches@gnu.org; Thu, 11 May 2023 09:39:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63393] [PATCH 0/2] Fix libstdc++.so and gcc-toolchain Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 11 May 2023 13:39: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: Simon Tournier Cc: Kaelyn , 63393@debbugs.gnu.org Received: via spool by 63393-submit@debbugs.gnu.org id=B63393.1683812291528 (code B ref 63393); Thu, 11 May 2023 13:39:02 +0000 Received: (at 63393) by debbugs.gnu.org; 11 May 2023 13:38:11 +0000 Received: from localhost ([127.0.0.1]:50077 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1px6Uk-00008S-Mm for submit@debbugs.gnu.org; Thu, 11 May 2023 09:38:10 -0400 Received: from eggs.gnu.org ([209.51.188.92]:38842) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1px6Uj-00008E-8k for 63393@debbugs.gnu.org; Thu, 11 May 2023 09:38:09 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1px6Ud-0005tg-Jw; Thu, 11 May 2023 09:38:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=OonixX9i0QWkBC2xVp4WtAWQzA6NmI0lUxLwQojLD8Y=; b=D9ubPPkjmJTzFTUeQMEe oB0ZoXCq4mrThP5HtP1x4nN30NgZTID80I4nl4Xk6gBNwshWuUojtPoEuDmMD1diTfu8Bbw3cbuEY E6K8VXh1752yeCWbBKk/gajIZnMtIfK3sNfVBYFk/Q1lg+WpIvpOlTvE0KLH0afwio3fdfULmtORp I6KgO/Ayuvv+iuBV0/cqVnp8Nbw1T4btA2wAR30XpuNkZWyu1y5WpUIW16ET8i2+vzk2g6SzoISOC OczNLcQSCd5aEdZMsaWfigTUdOp583D5GBC6aokrjKApoMmbi2PYOjH/Zpi5yK5CC4WSg173lbhPt +kuKinsrmiDs9A==; Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1px6Ud-00017Y-5b; Thu, 11 May 2023 09:38:03 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: Date: Thu, 11 May 2023 15:38:01 +0200 In-Reply-To: (Simon Tournier's message of "Tue, 9 May 2023 19:04:05 +0200") Message-ID: <87r0rn2dl2.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) 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-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1683812379; a=rsa-sha256; cv=none; b=vCRqUL2jeUQmLT+Vov1sIEt1L1uic9WAFMc5xbzcfVv2lS7jTS9eQT57zb+PgkdfW7qiRO j0IgRu+z3RHUsuAQkTM8GTatJyTcyLPfvMSJk7Kl8wO/YJOuqWcFnOsTKFLaVSgs6j899C HLNUKIcpBSE2q1vO0S13vIQYhyelBsnnz+6BJQIe4EjEENVfD0vbx7859mGfNo2fymZj7t FG92ATdhA7p8DIxtoz/3dBU0/JbbfN0JjY5m7TjKzWjd1PMxKKvmQSL892KLvPsbw1nZ64 efhQhrm/jOItA3L/xgd/ZUvaZfgAqu9ztl38nWxenjYBCEbxSMifs/1tl0JjHg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=D9ubPPkj; dmarc=pass (policy=none) header.from=gnu.org; 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=1683812379; 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=OonixX9i0QWkBC2xVp4WtAWQzA6NmI0lUxLwQojLD8Y=; b=Dn6sWeCH4ZMrWYmsBJJEsoG7lCA84psBQXxup/5kIQoRGpVEGLQ4ormDxbuF8LCdYHTRrB nqutainpyVG50cY4wE1QC6rKcfi4uONnEl2o2qJLGa/tQ6nQJZtGKSAv4T4B2OFT6+AJY7 S+8xGx5UDDgANlRi/GBLJYZF353DJcQvidp/yGwbiBu6VUnI93L15Nc4rCQFLdO09Js0W/ qNvp5GAMNfHRHrgD7D9L3OqcPwrEG896cY3McUDryPc12H3KK9K1Sdkhs7rrQOm1p6CgNx eJQNecui8gNqaG0ErfoUqErmSOXBQhAEanOUqotb/d+8WZJfqOfmTh8pu5sKSA== X-Migadu-Spam-Score: -3.68 X-Spam-Score: -3.68 X-Migadu-Queue-Id: B289B241EB X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=D9ubPPkj; dmarc=pass (policy=none) header.from=gnu.org; 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" X-TUID: x30MIquaw6K9 Hi, Simon Tournier skribis: > * gnu/packages/commencement.scm (make-gcc-toolchain): Add 'lib' outputs. [...] > (filter-map (match-lambda > (("libc-debug" . _) #f) > (("libc-static" . _) #= f) > + (("gcc-lib" . _) #f) > + (("gcc-debug" . _) #f) I would include gcc:lib in =E2=80=9Cout=E2=80=9D (thus not adding a =E2=80= =9Clib=E2=80=9D output to =E2=80=98gcc-toolchain=E2=80=99). Yes, gcc:lib includes *.a and *.la, but those are already part of the =E2=80=98gcc-toolchain=E2=80=99 closure: --8<---------------cut here---------------start------------->8--- $ guix size gcc-toolchain |head -6 store item total s= elf /gnu/store/jv78mm3dmr6fl2hhy1bkbhfpm702v3gq-gcc-12.3.0 292.6 = 169.4 41.2% /gnu/store/zh4x65snfis7svs6906gj1z8i7dx2j3m-binutils-2.38 95.5 = 54.9 13.4% /gnu/store/g8p09w6r78hhkl2rv1747pcp9zbk6fxv-guile-3.0.9 134.0 = 53.1 12.9% /gnu/store/gsjczqir1wbz8p770zndrpw4rnppmxi3-glibc-2.35 40.6 = 38.8 9.4% /gnu/store/gmv6n5vy5qcsn71pkapg2hnknyn1p7g3-gcc-12.3.0-lib 76.8 = 36.2 8.8% --8<---------------cut here---------------end--------------->8--- However, I=E2=80=99d leave out gcc:debug because (0) it=E2=80=99s unrelated= :-), (1) =E2=80=98gcc-final=E2=80=99 has no =E2=80=9Cdebug=E2=80=9D output, and (2) = it=E2=80=99s really for a niche (folks developing compiler plugins, typically). I=E2=80=99d also leave out the /lib directory of Binutils, which is again r= arely useful. WDYT? Thanks, Ludo=E2=80=99.