From unknown Tue Sep 09 18:21:48 2025 X-Loop: help-debbugs@gnu.org Subject: bug#51928: GHC 8.10 occupies =?UTF-8?Q?1.6=C2=A0GiB?= Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 17 Nov 2021 21:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 51928 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 51928@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16371837373223 (code B ref -1); Wed, 17 Nov 2021 21:16:01 +0000 Received: (at submit) by debbugs.gnu.org; 17 Nov 2021 21:15:37 +0000 Received: from localhost ([127.0.0.1]:34041 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mnSHI-0000pu-Me for submit@debbugs.gnu.org; Wed, 17 Nov 2021 16:15:36 -0500 Received: from lists.gnu.org ([209.51.188.17]:48586) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mnSHF-0000pk-FI for submit@debbugs.gnu.org; Wed, 17 Nov 2021 16:15:35 -0500 Received: from eggs.gnu.org ([209.51.188.92]:39592) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mnSHD-00053m-Qb for bug-guix@gnu.org; Wed, 17 Nov 2021 16:15:33 -0500 Received: from [2001:470:142:3::e] (port=49184 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mnSHD-0003vp-Hv for bug-guix@gnu.org; Wed, 17 Nov 2021 16:15:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to: references; bh=/KsK/NEzOGX2nf1MF40XNULVUhTu/slJZd12KjMhm3A=; b=mRCiYQHYvLrZys jx32szJFkNJjjChI4LU5qax6u+hFUAiiCVoTaZ9sgXwQdrBPS3et/qsh+4T8HDJmX5GGPHiwu7cad Ce1j/kB93+9k5wpXUe5P49lQ1FvvwXBnjVvF2Y04FrItHCvXiGnU4zD35x3OT45tEMrxTTQpRrfss quPxa/SWktUqc7tzd1UOczSrd+iwCgq3bpW3wfle4LTtiZPyZr0H4O8+wuFW29P4C0Znj6BoCYL89 uKEtjlacsoLgKbbaDrehlJwdNB5fdR2bCfbT9t0d67w7USCWhmrMuDLoQQXNI6+wbdy6WCRxJAxfr chsHulwaYdPtpqnNzXWg==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:62429 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mnSHC-0000P9-S9 for bug-guix@gnu.org; Wed, 17 Nov 2021 16:15:31 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 27 Brumaire an 230 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Wed, 17 Nov 2021 22:15:28 +0100 Message-ID: <8735nutrf3.fsf@inria.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi! GHC takes way too much space (GHC itself, not the closure): --8<---------------cut here---------------start------------->8--- $ guix size ghc@8.10 konserveja ero total s= elf /gnu/store/allyyvs2xg396s23csrmqfx19n9zayp7-ghc-8.10.7 1831.0 1= 599.4 87.3% /gnu/store/z9alkwg8anajvasd01pyx4rzcasli3yf-ghc-8.10.7-doc 190.2 = 150.8 8.2% /gnu/store/fa6wj5bxkj5ll1d7292a70knmyl7a0cr-glibc-2.31 38.4 = 36.7 2.0% /gnu/store/01b4w3m6mp55y531kyi1g8shh722kwqm-gcc-7.5.0-lib 71.0 = 32.6 1.8% /gnu/store/zzkly5rbfvahwqgcs7crz0ilpi7x5g5p-ncurses-6.2 76.9 = 5.9 0.3% /gnu/store/35afkywncrr5xsb4cxcljf6rpjcb7f61-gmp-6.2.0 73.8 = 2.7 0.2% /gnu/store/mmhimfwmmidf09jw1plw3aw1g1zn2nkh-bash-static-5.0.16 1.6 = 1.6 0.1% /gnu/store/pwcp239kjf7lnj5i4lkdzcfcxwcfyk72-bash-minimal-5.0.16 39.4 = 1.0 0.1% /gnu/store/bw15z9kh9c65ycc2vbhl2izwfwfva7p1-libffi-3.3 71.2 = 0.2 0.0% total: 1831.0 MiB $ guix describe Generacio 194 Nov 07 2021 23:40:30 (nuna) guix bd41e59 repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: bd41e590dd24e54797fb8b6854c244efd4d12df5 --8<---------------cut here---------------end--------------->8--- Most of it comes from $libdir, specifically: --8<---------------cut here---------------start------------->8--- $ du -s /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.10= .7/*|sort -k1 -n| tail 23756 /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.10= .7/haskeline-0.8.2 28776 /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.10= .7/text-1.2.4.1 47664 /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.10= .7/containers-0.6.5.1 48428 /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.10= .7/ghc-prim-0.6.1 50768 /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.10= .7/ghci-8.10.7 54100 /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.10= .7/template-haskell-2.16.0.0 80200 /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.10= .7/bin 151868 /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.10= .7/base-4.14.3.0 426416 /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.10= .7/Cabal-3.2.1.0 538168 /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.10= .7/ghc-8.10.7 $ du -s /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.10= .7/ghc-8.10.7/*|sort -k1 -n|tail 652 /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.10= .7/ghc-8.10.7/Llvm 716 /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.10= .7/ghc-8.10.7/SPARC 1108 /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.10= .7/ghc-8.10.7/RegAlloc 2256 /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.10= .7/ghc-8.10.7/DynFlags.dyn_hi 2256 /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.10= .7/ghc-8.10.7/DynFlags.hi 2256 /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.10= .7/ghc-8.10.7/DynFlags.p_hi 23724 /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.10= .7/ghc-8.10.7/GHC 90908 /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.10= .7/ghc-8.10.7/libHSghc-8.10.7-ghc8.10.7.so 127908 /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.10= .7/ghc-8.10.7/libHSghc-8.10.7.a 225972 /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.10= .7/ghc-8.10.7/libHSghc-8.10.7_p.a --8<---------------cut here---------------end--------------->8--- Can we at least (re)move those =E2=80=98.a=E2=80=99 files? Thoughts? Ludo=E2=80=99. From unknown Tue Sep 09 18:21:48 2025 X-Loop: help-debbugs@gnu.org Subject: bug#51928: GHC 8.10 occupies 1.6 GiB Resent-From: raingloom Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 24 Nov 2021 05:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51928 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 51928@debbugs.gnu.org Received: via spool by 51928-submit@debbugs.gnu.org id=B51928.16377300318683 (code B ref 51928); Wed, 24 Nov 2021 05:01:02 +0000 Received: (at 51928) by debbugs.gnu.org; 24 Nov 2021 05:00:31 +0000 Received: from localhost ([127.0.0.1]:52720 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mpkOV-0002Fy-GV for submit@debbugs.gnu.org; Wed, 24 Nov 2021 00:00:31 -0500 Received: from mx1.riseup.net ([198.252.153.129]:46194) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mpkOR-0002FR-76 for 51928@debbugs.gnu.org; Wed, 24 Nov 2021 00:00:29 -0500 Received: from fews1.riseup.net (fews1-pn.riseup.net [10.0.1.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4HzTN53XvRzF3Mq; Tue, 23 Nov 2021 21:00:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1637730021; bh=6hvrQ8Rp/kiu12mW22Yptrm7nLBVqikURYJf6faVP4c=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=ETa1lj/ddp5NKf24NpeGd2fBcPBb51lXSTD6e2HuctaZ4EVkDGayfmyVK34eoinbc nJtokQCB8QxPpv00ezUNvz3JHLzm+2XWltX2sT49gVqiaFljswAqca6VY435l3A8rt rlGznihwajWCs7dpopZgFdY6xHIf8Y5jRKO9bJhE= X-Riseup-User-ID: 676F66B7889C3684178DE621F4572988E8E218DC5EC056FAEEE2FABF5B043E9A Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews1.riseup.net (Postfix) with ESMTPSA id 4HzTN43SCSz5vcc; Tue, 23 Nov 2021 21:00:20 -0800 (PST) Date: Wed, 24 Nov 2021 00:56:41 +0100 From: raingloom Message-ID: <20211124005641.44b985e9@riseup.net> In-Reply-To: <8735nutrf3.fsf@inria.fr> References: <8735nutrf3.fsf@inria.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.4 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.6 (/) On Wed, 17 Nov 2021 22:15:28 +0100 Ludovic Court=C3=A8s wrote: > Hi! >=20 > GHC takes way too much space (GHC itself, not the closure): >=20 > --8<---------------cut here---------------start------------->8--- > $ guix size ghc@8.10 > konserveja ero > total self /gnu/store/allyyvs2xg396s23csrmqfx19n9zayp7-ghc-8.10.7 > 1831.0 1599.4 87.3% > /gnu/store/z9alkwg8anajvasd01pyx4rzcasli3yf-ghc-8.10.7-doc > 190.2 150.8 8.2% > /gnu/store/fa6wj5bxkj5ll1d7292a70knmyl7a0cr-glibc-2.31 > 38.4 36.7 2.0% > /gnu/store/01b4w3m6mp55y531kyi1g8shh722kwqm-gcc-7.5.0-lib > 71.0 32.6 1.8% > /gnu/store/zzkly5rbfvahwqgcs7crz0ilpi7x5g5p-ncurses-6.2 > 76.9 5.9 0.3% > /gnu/store/35afkywncrr5xsb4cxcljf6rpjcb7f61-gmp-6.2.0 > 73.8 2.7 0.2% > /gnu/store/mmhimfwmmidf09jw1plw3aw1g1zn2nkh-bash-static-5.0.16 > 1.6 1.6 0.1% > /gnu/store/pwcp239kjf7lnj5i4lkdzcfcxwcfyk72-bash-minimal-5.0.16 > 39.4 1.0 0.1% > /gnu/store/bw15z9kh9c65ycc2vbhl2izwfwfva7p1-libffi-3.3 > 71.2 0.2 0.0% total: 1831.0 MiB $ guix describe Generacio > 194 Nov 07 2021 23:40:30 (nuna) guix bd41e59 repository > URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: > bd41e590dd24e54797fb8b6854c244efd4d12df5 --8<---------------cut > here---------------end--------------->8--- >=20 > Most of it comes from $libdir, specifically: >=20 > --8<---------------cut here---------------start------------->8--- > $ du -s > /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.10.7/*|s= ort > -k1 -n| tail 23756 > /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.10.7/has= keline-0.8.2 > 28776 > /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.10.7/tex= t-1.2.4.1 > 47664 > /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.10.7/con= tainers-0.6.5.1 > 48428 > /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.10.7/ghc= -prim-0.6.1 > 50768 > /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.10.7/ghc= i-8.10.7 > 54100 > /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.10.7/tem= plate-haskell-2.16.0.0 > 80200 > /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.10.7/bin > 151868 > /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.10.7/bas= e-4.14.3.0 > 426416 > /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.10.7/Cab= al-3.2.1.0 > 538168 > /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.10.7/ghc= -8.10.7 > $ du -s > /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.10.7/ghc= -8.10.7/*|sort > -k1 -n|tail 652 > /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.10.7/ghc= -8.10.7/Llvm > 716 > /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.10.7/ghc= -8.10.7/SPARC > 1108 > /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.10.7/ghc= -8.10.7/RegAlloc > 2256 > /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.10.7/ghc= -8.10.7/DynFlags.dyn_hi > 2256 > /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.10.7/ghc= -8.10.7/DynFlags.hi > 2256 > /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.10.7/ghc= -8.10.7/DynFlags.p_hi > 23724 > /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.10.7/ghc= -8.10.7/GHC > 90908 > /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.10.7/ghc= -8.10.7/libHSghc-8.10.7-ghc8.10.7.so > 127908 > /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.10.7/ghc= -8.10.7/libHSghc-8.10.7.a > 225972 > /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.10.7/ghc= -8.10.7/libHSghc-8.10.7_p.a > --8<---------------cut here---------------end--------------->8--- >=20 > Can we at least (re)move those =E2=80=98.a=E2=80=99 files? >=20 > Thoughts? >=20 > Ludo=E2=80=99. >=20 >=20 >=20 Shouldn't `.a` be split to a static lib output? From unknown Tue Sep 09 18:21:48 2025 X-Loop: help-debbugs@gnu.org Subject: bug#51928: GHC 8.10 occupies =?UTF-8?Q?1.6=C2=A0GiB?= Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 27 Nov 2021 03:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51928 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: raingloom Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , 51928@debbugs.gnu.org Received: via spool by 51928-submit@debbugs.gnu.org id=B51928.163798320916243 (code B ref 51928); Sat, 27 Nov 2021 03:21:01 +0000 Received: (at 51928) by debbugs.gnu.org; 27 Nov 2021 03:20:09 +0000 Received: from localhost ([127.0.0.1]:60900 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mqoG0-0004Dv-Il for submit@debbugs.gnu.org; Fri, 26 Nov 2021 22:20:09 -0500 Received: from mail-qv1-f43.google.com ([209.85.219.43]:34482) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mqoFy-0004DI-2Y for 51928@debbugs.gnu.org; Fri, 26 Nov 2021 22:20:06 -0500 Received: by mail-qv1-f43.google.com with SMTP id i13so8731372qvm.1 for <51928@debbugs.gnu.org>; Fri, 26 Nov 2021 19:20:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version:content-transfer-encoding; bh=eBx/TVzwq60gi1KxLpIXQfhVAgd4jBEbEbCuCJu/Eao=; b=k7twg8m2rQLf3mACKE79jprfxuAMxYyVJ067i/1TlYUPWofhIUFrGnsjx7HeefMVi8 XBIJ68F2L/oejaCJARspy9a7vR9iBCjK9mSKaOOkl8MxvFo1fzXY1hwwEQyFy1bVE2ZK lTxo6LtVBeKoGib2RZms8ytziBZXlr9/6aEjglPjrJAY4x/7N7JDkcSUKbxIoZpJvi0N /5Y+K+Y1FQNk/uI7pyYe+rkvtsBTV+WhWQI1/eDwAnz8idj1zpYi5AjR8ZNlRut9cCdr /Pqvw7adytx8MXOiWoKrDzVVFVDBf+7sDDG/+CdjqEvP4CbCpsnEvBJXuRD8UbfHmoHb 0XPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references :user-agent:date:message-id:mime-version:content-transfer-encoding; bh=eBx/TVzwq60gi1KxLpIXQfhVAgd4jBEbEbCuCJu/Eao=; b=8D7aDbqDKT+HRFLKCNMQxSBrT7yTWoWfqP8KJmpj0uKMk5m+zcH3WXIxoZCAnmCYgk NZAQnpcVHq/I5XTAt+64e4D15be8BHajnVa1Up1pLYiwtKfbWFGd1BVZgvbKxcAJZcIR HJkCf165hnM+9IKdtqQXyH9FTGJalewm9gcc4QG9WosuabTJ1JBqez5UFiTgiz7/Rtr3 U+/vb5WBKLgCRNZ8eZoCb07CSrYgnNQ4GkBUy6S7m9KPYt0D6f6rrnMGWKsep46qSrRE EQ97Ib8mh43Nb38O1yKxmtmaG0m9JZU8ajm0SY2apL9lkVZ+Bk4r4SrGd1z4jH+2YW2I xugQ== X-Gm-Message-State: AOAM533i+cRA7nv2xPga14nxH1Tu6TLb3w470uyNjKdMTcdyPz1gIC6c ToBl7mfApS7yXUGGGrURfKQg9kslNiWSUQ== X-Google-Smtp-Source: ABdhPJyRP5jku4T2lx3tw8n+9JPktjEnXugazfamicM71Ug7ysbqqTWiCEBOIedfaMkhb9xM4EdFYQ== X-Received: by 2002:a05:6214:1bc6:: with SMTP id m6mr29839098qvc.14.1637983200411; Fri, 26 Nov 2021 19:20:00 -0800 (PST) Received: from hurd (dsl-148-169.b2b2c.ca. [66.158.148.169]) by smtp.gmail.com with ESMTPSA id f21sm4456364qte.52.2021.11.26.19.19.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Nov 2021 19:19:59 -0800 (PST) From: Maxim Cournoyer In-Reply-To: <20211124005641.44b985e9@riseup.net> (raingloom@riseup.net's message of "Wed, 24 Nov 2021 00:56:41 +0100") References: <8735nutrf3.fsf@inria.fr> <20211124005641.44b985e9@riseup.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) Date: Fri, 26 Nov 2021 22:19:58 -0500 Message-ID: <87ee728eu9.fsf_-_@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello, raingloom writes: > On Wed, 17 Nov 2021 22:15:28 +0100 > Ludovic Court=C3=A8s wrote: > >> Hi! >>=20 >> GHC takes way too much space (GHC itself, not the closure): >>=20 >> --8<---------------cut here---------------start------------->8--- >> $ guix size ghc@8.10 >> konserveja ero >> total self /gnu/store/allyyvs2xg396s23csrmqfx19n9zayp7-ghc-8.10.7 >> 1831.0 1599.4 87.3% >> /gnu/store/z9alkwg8anajvasd01pyx4rzcasli3yf-ghc-8.10.7-doc >> 190.2 150.8 8.2% >> /gnu/store/fa6wj5bxkj5ll1d7292a70knmyl7a0cr-glibc-2.31 >> 38.4 36.7 2.0% >> /gnu/store/01b4w3m6mp55y531kyi1g8shh722kwqm-gcc-7.5.0-lib >> 71.0 32.6 1.8% >> /gnu/store/zzkly5rbfvahwqgcs7crz0ilpi7x5g5p-ncurses-6.2 >> 76.9 5.9 0.3% >> /gnu/store/35afkywncrr5xsb4cxcljf6rpjcb7f61-gmp-6.2.0 >> 73.8 2.7 0.2% >> /gnu/store/mmhimfwmmidf09jw1plw3aw1g1zn2nkh-bash-static-5.0.16 >> 1.6 1.6 0.1% >> /gnu/store/pwcp239kjf7lnj5i4lkdzcfcxwcfyk72-bash-minimal-5.0.16 >> 39.4 1.0 0.1% >> /gnu/store/bw15z9kh9c65ycc2vbhl2izwfwfva7p1-libffi-3.3 >> 71.2 0.2 0.0% total: 1831.0 MiB $ guix describe Generacio >> 194 Nov 07 2021 23:40:30 (nuna) guix bd41e59 repository >> URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: >> bd41e590dd24e54797fb8b6854c244efd4d12df5 --8<---------------cut >> here---------------end--------------->8--- >>=20 >> Most of it comes from $libdir, specifically: >>=20 >> --8<---------------cut here---------------start------------->8--- >> $ du -s >> /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.10.7/*|= sort >> -k1 -n| tail 23756 >> /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.10.7/ha= skeline-0.8.2 >> 28776 >> /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.10.7/te= xt-1.2.4.1 >> 47664 >> /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.10.7/co= ntainers-0.6.5.1 >> 48428 >> /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.10.7/gh= c-prim-0.6.1 >> 50768 >> /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.10.7/gh= ci-8.10.7 >> 54100 >> /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.10.7/te= mplate-haskell-2.16.0.0 >> 80200 >> /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.10.7/bin >> 151868 >> /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.10.7/ba= se-4.14.3.0 >> 426416 >> /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.10.7/Ca= bal-3.2.1.0 >> 538168 >> /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.10.7/gh= c-8.10.7 >> $ du -s >> /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.10.7/gh= c-8.10.7/*|sort >> -k1 -n|tail 652 >> /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.10.7/gh= c-8.10.7/Llvm >> 716 >> /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.10.7/gh= c-8.10.7/SPARC >> 1108 >> /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.10.7/gh= c-8.10.7/RegAlloc >> 2256 >> /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.10.7/gh= c-8.10.7/DynFlags.dyn_hi >> 2256 >> /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.10.7/gh= c-8.10.7/DynFlags.hi >> 2256 >> /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.10.7/gh= c-8.10.7/DynFlags.p_hi >> 23724 >> /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.10.7/gh= c-8.10.7/GHC >> 90908 >> /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.10.7/gh= c-8.10.7/libHSghc-8.10.7-ghc8.10.7.so >> 127908 >> /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.10.7/gh= c-8.10.7/libHSghc-8.10.7.a >> 225972 >> /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.10.7/gh= c-8.10.7/libHSghc-8.10.7_p.a >> --8<---------------cut here---------------end--------------->8--- >>=20 >> Can we at least (re)move those =E2=80=98.a=E2=80=99 files? >>=20 >> Thoughts? >>=20 >> Ludo=E2=80=99. >>=20 >>=20 >>=20 > > Shouldn't `.a` be split to a static lib output? In Guix they aren't used typically (everything gets linked dynamically); at 1 GiB+ I think it's fair to get rid of them. Thanks, Maxim From unknown Tue Sep 09 18:21:48 2025 X-Loop: help-debbugs@gnu.org Subject: bug#51928: GHC 8.10 occupies =?UTF-8?Q?1.6=C2=A0GiB?= Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 28 Nov 2021 17:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51928 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxim Cournoyer Cc: raingloom , 51928@debbugs.gnu.org Received: via spool by 51928-submit@debbugs.gnu.org id=B51928.163811902717560 (code B ref 51928); Sun, 28 Nov 2021 17:04:01 +0000 Received: (at 51928) by debbugs.gnu.org; 28 Nov 2021 17:03:47 +0000 Received: from localhost ([127.0.0.1]:36289 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mrNad-0004ZA-Eh for submit@debbugs.gnu.org; Sun, 28 Nov 2021 12:03:47 -0500 Received: from eggs.gnu.org ([209.51.188.92]:55462) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mrNab-0004Yu-R8 for 51928@debbugs.gnu.org; Sun, 28 Nov 2021 12:03:46 -0500 Received: from [2001:470:142:3::e] (port=38490 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mrNaW-0002um-Jb; Sun, 28 Nov 2021 12:03:40 -0500 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=wfKqE/WqF2y5g0rDZxVP58RlOJpYwyjhNuI7KX1HdE0=; b=ZoEeyJTn1gu8iDNQuylH 4ehn5pLGjZmKhwpsSlsKjQZCv8EflvqlRGXcrvHDVkW5904NPxu/IhN01P+EWGxNB3P3X4GCgouFC S1T+7ofNuir0k7iiqe1Mctdgw4Cb/s8kPh/MW6JNOUEbiME9uOiD+31YTFNvl19EwUVUt4yDkhwb0 ek9loT7aACu4ih/GA7XwoV1Ml3T9sfW7D9SGpHShsorUu+KG5m9uNnJs9FR7GCrQJLn1vsyJa7vce jtDhbyFGm1V6OWe6z+ZA9xk9g32pDOZU65BTaCwA2ubLzsJZV+RG0mpcXvUvfJvF9aEMhj/C4PUgF h0TkDLNwEKOt6g==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:55225 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mrNaW-0004z9-Dm; Sun, 28 Nov 2021 12:03:40 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <8735nutrf3.fsf@inria.fr> <20211124005641.44b985e9@riseup.net> <87ee728eu9.fsf_-_@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 8 Frimaire an 230 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Sun, 28 Nov 2021 18:03:38 +0100 In-Reply-To: <87ee728eu9.fsf_-_@gmail.com> (Maxim Cournoyer's message of "Fri, 26 Nov 2021 22:19:58 -0500") Message-ID: <87h7bwb4b9.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Maxim Cournoyer skribis: > In Guix they aren't used typically (everything gets linked dynamically); I think they=E2=80=99re used for =E2=80=98pandoc=E2=80=99. Also, in general, we don=E2=80=99t want to make static linking impossible, = so we could move .a files to a separate output as for =E2=80=98glibc=E2=80=99. Ludo=E2=80=99. From unknown Tue Sep 09 18:21:48 2025 X-Loop: help-debbugs@gnu.org Subject: bug#51928: GHC 8.10 occupies 1.6 GiB Resent-From: raingloom Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 30 Nov 2021 02:08:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51928 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 51928@debbugs.gnu.org, Maxim Cournoyer Received: via spool by 51928-submit@debbugs.gnu.org id=B51928.16382380572988 (code B ref 51928); Tue, 30 Nov 2021 02:08:03 +0000 Received: (at 51928) by debbugs.gnu.org; 30 Nov 2021 02:07:37 +0000 Received: from localhost ([127.0.0.1]:39899 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mrsYS-0000m6-Ic for submit@debbugs.gnu.org; Mon, 29 Nov 2021 21:07:37 -0500 Received: from mx1.riseup.net ([198.252.153.129]:33150) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mrsY6-0000l6-Ne for 51928@debbugs.gnu.org; Mon, 29 Nov 2021 21:07:15 -0500 Received: from fews1.riseup.net (fews1-pn.riseup.net [10.0.1.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4J35FT2L16zF4gT; Mon, 29 Nov 2021 18:07:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1638238029; bh=IDJ3wYSxxMq3cOIUN5jyF2yNQC2bJCZd/pzL4v7S7BA=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=KbhDmhtzFdqUV2dfiwGBcc3S3WZgNeD1aYH2wSArrEv7+Ez1bS5eAmiDOR22qEEAi zj0UeAHqONJGsxXAwJ5imxtlHz+pQINdfAGeLwj5ZERSHpNhMX2lEnv45HjVcQZLj4 BffXA8dixiU1QTrnFuqm/5F8bpOamF6R2XbGPR+4= X-Riseup-User-ID: 1713F799F20B2F16B458EFC4D939ADDE613844EFD5E6D653931CA18765A3B9E3 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews1.riseup.net (Postfix) with ESMTPSA id 4J35FS1k46z5vcH; Mon, 29 Nov 2021 18:07:08 -0800 (PST) Date: Sun, 28 Nov 2021 21:45:28 +0100 From: raingloom Message-ID: <20211128214528.35a012a0@riseup.net> In-Reply-To: <87h7bwb4b9.fsf@gnu.org> References: <8735nutrf3.fsf@inria.fr> <20211124005641.44b985e9@riseup.net> <87ee728eu9.fsf_-_@gmail.com> <87h7bwb4b9.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.2 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.2 (-) On Sun, 28 Nov 2021 18:03:38 +0100 Ludovic Court=C3=A8s wrote: > Hi, >=20 > Maxim Cournoyer skribis: >=20 > > In Guix they aren't used typically (everything gets linked > > dynamically); =20 >=20 > I think they=E2=80=99re used for =E2=80=98pandoc=E2=80=99. >=20 > Also, in general, we don=E2=80=99t want to make static linking impossible= , so > we could move .a files to a separate output as for =E2=80=98glibc=E2=80= =99. >=20 > Ludo=E2=80=99. If I recall correctly there was a discussion some months back about Haskell binaries being smaller when linked statically. From unknown Tue Sep 09 18:21:48 2025 X-Loop: help-debbugs@gnu.org Subject: bug#51928: GHC 8.10 occupies =?UTF-8?Q?1.6=C2=A0GiB?= Resent-From: Simon Tournier Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 22 Sep 2023 16:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51928 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Ricardo Wurmus , Lars-Dominik Braun Cc: 51928@debbugs.gnu.org Received: via spool by 51928-submit@debbugs.gnu.org id=B51928.169540117024639 (code B ref 51928); Fri, 22 Sep 2023 16:47:02 +0000 Received: (at 51928) by debbugs.gnu.org; 22 Sep 2023 16:46:10 +0000 Received: from localhost ([127.0.0.1]:37235 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qjjI9-0006PF-Ey for submit@debbugs.gnu.org; Fri, 22 Sep 2023 12:46:10 -0400 Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]:40104) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qjjHx-0006N2-73 for 51928@debbugs.gnu.org; Fri, 22 Sep 2023 12:45:59 -0400 Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-40471c054f9so7496285e9.0 for <51928@debbugs.gnu.org>; Fri, 22 Sep 2023 09:45:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695401141; x=1696005941; darn=debbugs.gnu.org; h=content-transfer-encoding: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=Er+iOqa3plCmmLma3HsSlEb1tjRmjhJwHLCc8FNpGZM=; b=lJ/r4vl1QizpINiW2q4jnnP8yZ6vV7HneyrZviI0PRYs8j9LVEjMfnV26tKzNSd7g5 BrDVHDUgGtF9TtH3/PHVnePvMbWOTBJiI4FAD/KystTRHcBBd9kbCJAr0N2pLoSyZjOJ p/mFXtk/cy+joC1eW+K2DpXSwWJVuwEbJpkwXlP3ahVOL5BxX0jHeHf4g4G1QtmNGmbT 5tFFIPuJf5JV8O9001oyv66Q9Asnof2/F9jaU1641E9hMR+wxlw5CSXungy6B49IwhCj syQ/JyoiWUsoStU0qTHruwvPoRqZHQhf7Pxd8hfFQjgqal3aSKgkjZPvDM8Br4JApWmK zKsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695401141; x=1696005941; h=content-transfer-encoding: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=Er+iOqa3plCmmLma3HsSlEb1tjRmjhJwHLCc8FNpGZM=; b=HBfXW2qHdPMHP00d4tFKjlsd84ETgHMN28a3IpyH1oyapX2MeLy10pY1n2FCE60lO7 OHULKd5oUvC9U+uRdJC/FgkPKaYUpnBWpb8TCgaYwdowYgBwsH1py1gFjuk5pGAMtRtl tpYgYlhDXfDLxKdg+IHibFR5vP4ssX7qSUL23nJ1vaPeLRASAbgg0/I8sONIjqvYjI0n Z4jow8Kk86Roystfr9/osen5zd2Ks2fYff+H1bcjGUlbuISO54h1VlaW68j+wbQJp4PR MVr5+T7fM6+tTfS/+wMgq1kr2lGkE9IJKr+F50WfTQNY9XjwZqmGxmVaw8791njpaMxx YBPw== X-Gm-Message-State: AOJu0YxPRlVSSs+hw24ykZ4V9JzMhX3U0HsSgReCTO1bt8zxN/waZ/Eb BjaQfHQyqJ5qRUGMwZamRgCoWE8SoY0= X-Google-Smtp-Source: AGHT+IGCIBTEOuzFfk4WGDTQg3YzZXfkPyzuQxo6qd+Im7J3aEd1wKxOrQHsILzhOxQ90MiHkVIRYg== X-Received: by 2002:a05:600c:358d:b0:401:b53e:6c3e with SMTP id p13-20020a05600c358d00b00401b53e6c3emr8419993wmq.1.1695401140414; Fri, 22 Sep 2023 09:45:40 -0700 (PDT) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id ay2-20020a05600c1e0200b003feea62440bsm1585048wmb.43.2023.09.22.09.45.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Sep 2023 09:45:40 -0700 (PDT) From: Simon Tournier References: <8735nutrf3.fsf@inria.fr> Date: Fri, 22 Sep 2023 18:42:56 +0200 In-Reply-To: <8735nutrf3.fsf@inria.fr> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Wed, 17 Nov 2021 22:15:28 +0100") Message-ID: <87zg1e6twv.fsf@gmail.com> 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-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, Old bug#51928: https://issues.guix.gnu.org/issue/51928 still current. On Wed, 17 Nov 2021 at 22:15, Ludovic Court=C3=A8s wrote: > $ guix describe > Generacio 194 Nov 07 2021 23:40:30 (nuna) > guix bd41e59 > repository URL: https://git.savannah.gnu.org/git/guix.git > branch: master > commit: bd41e590dd24e54797fb8b6854c244efd4d12df5 > $ guix size ghc@8.10 > total: 1831.0 MiB > $ du -s /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.= 10.7/*|sort -k1 -n| tail > 23756 /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.= 10.7/haskeline-0.8.2 > 28776 /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.= 10.7/text-1.2.4.1 > 47664 /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.= 10.7/containers-0.6.5.1 > 48428 /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.= 10.7/ghc-prim-0.6.1 > 50768 /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.= 10.7/ghci-8.10.7 > 54100 /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.= 10.7/template-haskell-2.16.0.0 > 80200 /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.= 10.7/bin > 151868 /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.= 10.7/base-4.14.3.0 > 426416 /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.= 10.7/Cabal-3.2.1.0 > 538168 /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.= 10.7/ghc-8.10.7 > $ du -s /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.= 10.7/ghc-8.10.7/*|sort -k1 -n|tail > 652 /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.= 10.7/ghc-8.10.7/Llvm > 716 /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.= 10.7/ghc-8.10.7/SPARC > 1108 /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.= 10.7/ghc-8.10.7/RegAlloc > 2256 /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.= 10.7/ghc-8.10.7/DynFlags.dyn_hi > 2256 /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.= 10.7/ghc-8.10.7/DynFlags.hi > 2256 /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.= 10.7/ghc-8.10.7/DynFlags.p_hi > 23724 /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.= 10.7/ghc-8.10.7/GHC > 90908 /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.= 10.7/ghc-8.10.7/libHSghc-8.10.7-ghc8.10.7.so > 127908 /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.= 10.7/ghc-8.10.7/libHSghc-8.10.7.a > 225972 /gnu/store/ifr4svr31053fgqay0il5acipl7b6579-ghc-8.10.7/lib/ghc-8.= 10.7/ghc-8.10.7/libHSghc-8.10.7_p.a Today, it is the same for all GHC versions: --8<---------------cut here---------------start------------->8--- $ guix describe Generation 28 Sep 06 2023 14:54:50 (current) guix 6113e05 repository URL: https://git.savannah.gnu.org/git/guix.git commit: 6113e0529d61df7425f64e30a6bf77f7cfdfe5a5 $ for v in $(guix show ghc | recsel -CP version); do printf "ghc@$v "; gui= x size ghc@$v | grep total: ;done ghc@9.2.5 total: 1814.6 MiB ghc@9.0.2 total: 1742.9 MiB ghc@8.10.7 total: 1774.3 MiB ghc@8.8.4 total: 1847.2 MiB ghc@8.6.5 total: 1603.0 MiB ghc@8.4.4 total: 1801.3 MiB ghc@8.0.2 total: 1505.0 MiB ghc@7.10.3 total: 1275.9 MiB ghc@6.10.4 total: 303.2 MiB ghc@6.6 total: 444.4 MiB ghc@6.0 total: 286.5 MiB ghc@4.08.2 total: 233.9 MiB $ for v in $(guix show ghc | recsel -CP version); do echo ""; du -sh $(guix= build ghc@$v | grep -v doc)/lib/ghc-$v/ghc-$v/* | sort -h -k1 | tail -3 ;d= one 94M /gnu/store/x0q2jmg4pfy0wjxdz8l4apsp1yg2sm2c-ghc-9.2.5/lib/ghc-9.2.5/ghc= -9.2.5/GHC 133M /gnu/store/x0q2jmg4pfy0wjxdz8l4apsp1yg2sm2c-ghc-9.2.5/lib/ghc-9.2.5/gh= c-9.2.5/libHSghc-9.2.5.a 231M /gnu/store/x0q2jmg4pfy0wjxdz8l4apsp1yg2sm2c-ghc-9.2.5/lib/ghc-9.2.5/gh= c-9.2.5/libHSghc-9.2.5_p.a 86M /gnu/store/n2apysbmkmpywd6xfs2g1jigmlr7kb9v-ghc-9.0.2/lib/ghc-9.0.2/ghc= -9.0.2/GHC 120M /gnu/store/n2apysbmkmpywd6xfs2g1jigmlr7kb9v-ghc-9.0.2/lib/ghc-9.0.2/gh= c-9.0.2/libHSghc-9.0.2.a 208M /gnu/store/n2apysbmkmpywd6xfs2g1jigmlr7kb9v-ghc-9.0.2/lib/ghc-9.0.2/gh= c-9.0.2/libHSghc-9.0.2_p.a 80M /gnu/store/4f4rva7ga15srz70jxdzrzv8w19y0zbn-ghc-8.10.7/lib/ghc-8.10.7/g= hc-8.10.7/libHSghc-8.10.7-ghc8.10.7.so 125M /gnu/store/4f4rva7ga15srz70jxdzrzv8w19y0zbn-ghc-8.10.7/lib/ghc-8.10.7/= ghc-8.10.7/libHSghc-8.10.7.a 221M /gnu/store/4f4rva7ga15srz70jxdzrzv8w19y0zbn-ghc-8.10.7/lib/ghc-8.10.7/= ghc-8.10.7/libHSghc-8.10.7_p.a 78M /gnu/store/j2dcjp1s6y4xy1m8xxw15wgcphq3ncp6-ghc-8.8.4/lib/ghc-8.8.4/ghc= -8.8.4/libHSghc-8.8.4-ghc8.8.4.so 122M /gnu/store/j2dcjp1s6y4xy1m8xxw15wgcphq3ncp6-ghc-8.8.4/lib/ghc-8.8.4/gh= c-8.8.4/libHSghc-8.8.4.a 215M /gnu/store/j2dcjp1s6y4xy1m8xxw15wgcphq3ncp6-ghc-8.8.4/lib/ghc-8.8.4/gh= c-8.8.4/libHSghc-8.8.4_p.a 73M /gnu/store/7gjfmdf5ifvki06msjx8ygf4j40x4k49-ghc-8.6.5/lib/ghc-8.6.5/ghc= -8.6.5/libHSghc-8.6.5-ghc8.6.5.so 115M /gnu/store/7gjfmdf5ifvki06msjx8ygf4j40x4k49-ghc-8.6.5/lib/ghc-8.6.5/gh= c-8.6.5/libHSghc-8.6.5.a 204M /gnu/store/7gjfmdf5ifvki06msjx8ygf4j40x4k49-ghc-8.6.5/lib/ghc-8.6.5/gh= c-8.6.5/libHSghc-8.6.5_p.a 70M /gnu/store/8dp1qql6xpjd1jb171zzk4m4h47q1vcm-ghc-8.4.4/lib/ghc-8.4.4/ghc= -8.4.4/libHSghc-8.4.4-ghc8.4.4.so 110M /gnu/store/8dp1qql6xpjd1jb171zzk4m4h47q1vcm-ghc-8.4.4/lib/ghc-8.4.4/gh= c-8.4.4/libHSghc-8.4.4.a 189M /gnu/store/8dp1qql6xpjd1jb171zzk4m4h47q1vcm-ghc-8.4.4/lib/ghc-8.4.4/gh= c-8.4.4/libHSghc-8.4.4_p.a 78M /gnu/store/bg7qkrssd354p9ksjc1c3z0hqgqv2cdm-ghc-8.0.2/lib/ghc-8.0.2/ghc= -8.0.2/libHSghc-8.0.2-ghc8.0.2.so 115M /gnu/store/bg7qkrssd354p9ksjc1c3z0hqgqv2cdm-ghc-8.0.2/lib/ghc-8.0.2/gh= c-8.0.2/libHSghc-8.0.2.a 183M /gnu/store/bg7qkrssd354p9ksjc1c3z0hqgqv2cdm-ghc-8.0.2/lib/ghc-8.0.2/gh= c-8.0.2/libHSghc-8.0.2_p.a du: cannot access '/gnu/store/53ngslgf8ami8hbpnn4vzyqwndf5czyi-ghc-7.10.3/l= ib/ghc-7.10.3/ghc-7.10.3/*': No such file or directory 240K /gnu/store/46wz64jar8s7mvgwk6r4z1yp545pmgyg-ghc-6.10.4/lib/ghc-6.10.4/= ghc-6.10.4/DynFlags.hi 19M /gnu/store/46wz64jar8s7mvgwk6r4z1yp545pmgyg-ghc-6.10.4/lib/ghc-6.10.4/g= hc-6.10.4/HSghc-6.10.4.o 23M /gnu/store/46wz64jar8s7mvgwk6r4z1yp545pmgyg-ghc-6.10.4/lib/ghc-6.10.4/g= hc-6.10.4/libHSghc-6.10.4.a du: cannot access '/gnu/store/9jzk77qrq0s4sz4mhvr9qmdgpzpi524m-ghc-6.6/lib/= ghc-6.6/ghc-6.6/*': Not a directory du: cannot access '/gnu/store/rqimyicx99fg311sgny8ycm5gf2ns9rx-ghc-6.0/lib/= ghc-6.0/ghc-6.0/*': Not a directory du: cannot access '/gnu/store/i3gwjcxd11xpaqwiibfzlwsk3q0a0qss-ghc-4.08.2/l= ib/ghc-4.08.2/ghc-4.08.2/*': No such file or directory --8<---------------cut here---------------end--------------->8--- > Can we at least (re)move those =E2=80=98.a=E2=80=99 files? Well, can we remove these =E2=80=99.a=E2=80=99 files for the output =E2=80= =99out=E2=80=99 are create another output, say =E2=80=99lib=E2=80=99? Cheers, simon From unknown Tue Sep 09 18:21:48 2025 X-Loop: help-debbugs@gnu.org Subject: bug#51928: GHC 8.10 occupies =?UTF-8?Q?1.6=C2=A0GiB?= Resent-From: Lars-Dominik Braun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 23 Sep 2023 06:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51928 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Simon Tournier Cc: Ricardo Wurmus , Ludovic =?UTF-8?Q?Court=C3=A8s?= , 51928@debbugs.gnu.org Received: via spool by 51928-submit@debbugs.gnu.org id=B51928.16954499149266 (code B ref 51928); Sat, 23 Sep 2023 06:19:01 +0000 Received: (at 51928) by debbugs.gnu.org; 23 Sep 2023 06:18:34 +0000 Received: from localhost ([127.0.0.1]:37644 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qjvyM-0002PO-Hw for submit@debbugs.gnu.org; Sat, 23 Sep 2023 02:18:34 -0400 Received: from mout-p-101.mailbox.org ([2001:67c:2050:0:465::101]:59152) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qjvyJ-0002P6-1P for 51928@debbugs.gnu.org; Sat, 23 Sep 2023 02:18:33 -0400 Received: from smtp202.mailbox.org (smtp202.mailbox.org [IPv6:2001:67c:2050:b231:465::202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-101.mailbox.org (Postfix) with ESMTPS id 4RszTc0hxPz9sbl; Sat, 23 Sep 2023 08:18:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6xq.net; s=MBO0001; t=1695449892; h=from:from: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: in-reply-to:in-reply-to:references:references; bh=p7qk17P7+577ynxxbrw3drWkH6NHm1czEOxHoGkoY1Y=; b=jgNJ3/tULkUFPHzDhRe/gPhtNTdJ3JaCN5gFyaTKWwDqd8OZFtbpmSj5raHpNEc5NPRV+x ptC6LjlXoo9VdKJG+BMEuJ4sV4YcyxlY09NJrWj67+DwAFGHOt6igHvBf8hCOl9Lx8VLMF Za82yekaS4xGkxOuMDgJ+dKr+gP2qGyyCewzrYIJj0dSP7JtM95MtCmBKRI3tc9WgkxIMk RkT1lPlGTBRnzT+YpGJbdhuVAu/fym2myWWPXZxy0fX75aQpiB19WvSX3noMSz/6Ubyvs1 VF9dZQBpKGrHWybhJQgDG0/IqjbsGHir58YGUwyG0t0zHv8PXZa8CEi/ahz2Hg== Date: Sat, 23 Sep 2023 08:18:09 +0200 From: Lars-Dominik Braun Message-ID: References: <8735nutrf3.fsf@inria.fr> <87zg1e6twv.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87zg1e6twv.fsf@gmail.com> X-Rspamd-Queue-Id: 4RszTc0hxPz9sbl X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hi, > still current. I’m not so sure about that. We link (most/all?) Haskell binaries (pandoc for example) statically, so none of them should pull in GHC any more. If they do, that’s a bug. It’s almost impossible to untangle GHC libraries (and also GHC itself), since there are circular references between config files, static libraries and shared libraries. So I believe the solution above is the best we can do right now. Cheers, Lars