From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id yBHjJGY4tGSWsgAASxT56A (envelope-from ) for ; Sun, 16 Jul 2023 20:35:18 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 0PjfJGY4tGTZ5wAA9RJhRA (envelope-from ) for ; Sun, 16 Jul 2023 20:35:18 +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 5E69D43F36 for ; Sun, 16 Jul 2023 20:35:18 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail3 header.b=uIaEOe02; 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-Seal: i=1; s=key1; d=yhetil.org; t=1689532518; a=rsa-sha256; cv=none; b=XB4KUgkHRkxKjzW2wFrzWR9EaxH11AawXYB8pQ6zuAkNDFDpEYIeZak2s91+j8HDd/h1t8 t/T0+aelGUXjS8U5f2A34sNtD/l4042aiCkYrUEDBNkYWUglmv3o0YU/tDehvhjHp9Eb6R 4lLg3TfrSanS762IgvwKd+qMzglK6cBuX7ZPld85BdSrgRuhO32KgsqgX1NKmKgZe5m8Og uVfFl2xjPOXdLihjyx/SF7CyaJwiME4BBMwU8M/MV1sT4rtkEO89WeIbRGWtaCivNFkQ5c Sq90wF4om6JybPt+OaxUHW4KDZZCxTfwHTqOu3/gYBRZmt5KG8rct/px/Ct9KA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail3 header.b=uIaEOe02; 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=1689532518; h=from:from:sender:sender:reply-to: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=MbUnlG3MjmeGmueeftbs8y/yCGcVTgRibHYc/NTvbok=; b=tb39Nt1DArs+dgHAHOBDq5Nj92v0f6P3IHs+kmUTvgF/NColvMTykzcSR3xkO9aD7ns65u YZiRwpUPIDCaRB5CQBOgvC0Qs7TbpMrVPs7r/AOg0GuG79O18cXVsNwZsSbSPkFt+aqqmy Qg2+H59fNO+TQy8E7R0bp808/j7YzvCikVyZGb+6BgToK53ABbJ4jtcypQT9rGfLMs1CZa kV0M2ILwzl1TaOVulzDhqHkDwDov3Qlyq90y3vBQKWj6+cNgOHaEgLsmQRHZq4ZhYg+oAp JrL+R+V65StStA/91QSpaJzNsX91p2I714rJ3ZX0oXrJ/ZHejOqmrursa3e5VA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qL6aH-0006K1-3V; Sun, 16 Jul 2023 14:35:05 -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 1qL6aE-0006JQ-PG for guix-patches@gnu.org; Sun, 16 Jul 2023 14:35:02 -0400 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 1qL6aE-0001C3-4s for guix-patches@gnu.org; Sun, 16 Jul 2023 14:35:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qL6aE-0000u3-0r for guix-patches@gnu.org; Sun, 16 Jul 2023 14:35:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63393] [PATCH 0/2] Fix libstdc++.so and gcc-toolchain References: In-Reply-To: Resent-From: John Kehayias Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 16 Jul 2023 18:35:01 +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?= , Simon Tournier , Kaelyn Cc: 63393@debbugs.gnu.org Received: via spool by 63393-submit@debbugs.gnu.org id=B63393.16895324443404 (code B ref 63393); Sun, 16 Jul 2023 18:35:01 +0000 Received: (at 63393) by debbugs.gnu.org; 16 Jul 2023 18:34:04 +0000 Received: from localhost ([127.0.0.1]:48560 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qL6ZI-0000sq-3d for submit@debbugs.gnu.org; Sun, 16 Jul 2023 14:34:04 -0400 Received: from mail-4316.protonmail.ch ([185.70.43.16]:59593) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qL6ZG-0000sK-7v for 63393@debbugs.gnu.org; Sun, 16 Jul 2023 14:34:03 -0400 Date: Sun, 16 Jul 2023 18:33:52 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1689532436; x=1689791636; bh=MbUnlG3MjmeGmueeftbs8y/yCGcVTgRibHYc/NTvbok=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=uIaEOe02axeBGoU+9OTawwvBfeHWAmyVH7iCtYuRF18r2ljqIuPgeLr1CGWuQ9j+g nmtK2qjx8L3P0QZ3vRgecK+yRKQpYNoyA+9PrAnM36BRrlK1SYhC6Tt5v/zAGar2q/ MhUhaIo1MJU1QWqbc62jsojkkglMflZm0OQb5QMPWeT8qtX9a1cdSto+BkG1YoTNzx l28f0lIJOdHV8HsQunvs3HnmPQ1ppV9/aGKBznmM9pPSMZjNW7AMy8UWy1Yv7nNGEX fD2hnrOF25v2oValQzuCVTmRwa/5Dtsy1rHeu87LjfMzAlHTcSAJX4Oo2o4ybq5Jk6 HMHZq93iRjC9Q== Message-ID: <87sf9nzoxf.fsf_-_@protonmail.com> Feedback-ID: 7805494:user:proton 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: , Reply-to: John Kehayias X-ACL-Warn: , John Kehayias via Guix-patches From: John Kehayias via Guix-patches via 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.63 X-Migadu-Scanner: mx2.migadu.com X-Spam-Score: -3.63 X-Migadu-Queue-Id: 5E69D43F36 X-TUID: xN4rn4KeehG9 Hello, On Thu, May 11, 2023 at 03:38 PM, Ludovic Court=C3=A8s wrote: > 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: > > $ guix size gcc-toolchain |head -6 > store item total = self > /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% > > However, I=E2=80=99d leave out gcc:debug because (0) it=E2=80=99s unrelat= ed :-), (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= rarely > useful. > > WDYT? > I don't have any strong opinions on the organization here of these outputs, happy to defer to whatever others decide here. It would be nice to have this sorted and taken care of before we forget about it :) However, I think this message from Kaelyn only went to the bug number (just saw that as I went to reply here) so I'm including it here: On Tue, May 09, 2023 at 06:50 PM, Kaelyn wrote: > Hi, > > I like the direction of this patch. However, if gcc-toolchain:lib is > intended to provide the runtime libraries when the full compiler isn't > needed, then I think the .a and .la files should be moved back to the > main gcc-toolchain output (or a separate :static output) since they > are for static linking and the .a files in particular can be sizeable. > > Cheers, > Kaelyn