X-Loop: help-debbugs@HIDDEN Subject: bug#51928: GHC 8.10 occupies =?UTF-8?Q?1.6=C2=A0GiB?= Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Wed, 17 Nov 2021 21:16:01 +0000 Resent-Message-ID: <handler.51928.B.16371837373223 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 51928 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 51928 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-guix@HIDDEN Received: via spool by submit <at> 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 <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1mnSHI-0000pu-Me for submit <at> 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 <ludo@HIDDEN>) id 1mnSHF-0000pk-FI for submit <at> 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 <ludo@HIDDEN>) id 1mnSHD-00053m-Qb for bug-guix@HIDDEN; 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 <ludo@HIDDEN>) id 1mnSHD-0003vp-Hv for bug-guix@HIDDEN; 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 <ludo@HIDDEN>) id 1mnSHC-0000P9-S9 for bug-guix@HIDDEN; Wed, 17 Nov 2021 16:15:31 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN> 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@HIDDEN> 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 <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> 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@HIDDEN 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.
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN> Subject: bug#51928: Acknowledgement (GHC 8.10 occupies =?UTF-8?Q?1.6=C2=A0GiB?=) Message-ID: <handler.51928.B.16371837373223.ack <at> debbugs.gnu.org> References: <8735nutrf3.fsf@HIDDEN> X-Gnu-PR-Message: ack 51928 X-Gnu-PR-Package: guix Reply-To: 51928 <at> debbugs.gnu.org Date: Wed, 17 Nov 2021 21:16:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-guix@HIDDEN If you wish to submit further information on this problem, please send it to 51928 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 51928: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D51928 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#51928: GHC 8.10 occupies 1.6 GiB Resent-From: raingloom <raingloom@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Wed, 24 Nov 2021 05:01:02 +0000 Resent-Message-ID: <handler.51928.B51928.16377300318683 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 51928 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN> Cc: 51928 <at> debbugs.gnu.org Received: via spool by 51928-submit <at> 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 <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1mpkOV-0002Fy-GV for submit <at> 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 <raingloom@HIDDEN>) id 1mpkOR-0002FR-76 for 51928 <at> 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 <raingloom@HIDDEN> Message-ID: <20211124005641.44b985e9@HIDDEN> In-Reply-To: <8735nutrf3.fsf@HIDDEN> References: <8735nutrf3.fsf@HIDDEN> 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 <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.6 (/) On Wed, 17 Nov 2021 22:15:28 +0100 Ludovic Court=C3=A8s <ludo@HIDDEN> wrote: > Hi! >=20 > GHC takes way too much space (GHC itself, not the closure): >=20 > --8<---------------cut here---------------start------------->8--- > $ guix size ghc@HIDDEN > 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?
X-Loop: help-debbugs@HIDDEN Subject: bug#51928: GHC 8.10 occupies =?UTF-8?Q?1.6=C2=A0GiB?= Resent-From: Maxim Cournoyer <maxim.cournoyer@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Sat, 27 Nov 2021 03:21:01 +0000 Resent-Message-ID: <handler.51928.B51928.163798320916243 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 51928 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: raingloom <raingloom@HIDDEN> Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>, 51928 <at> debbugs.gnu.org Received: via spool by 51928-submit <at> 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 <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1mqoG0-0004Dv-Il for submit <at> 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 <maxim.cournoyer@HIDDEN>) id 1mqoFy-0004DI-2Y for 51928 <at> 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 <at> 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 <maxim.cournoyer@HIDDEN> In-Reply-To: <20211124005641.44b985e9@HIDDEN> (raingloom@HIDDEN's message of "Wed, 24 Nov 2021 00:56:41 +0100") References: <8735nutrf3.fsf@HIDDEN> <20211124005641.44b985e9@HIDDEN> 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_-_@HIDDEN> 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 <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Hello, raingloom <raingloom@HIDDEN> writes: > On Wed, 17 Nov 2021 22:15:28 +0100 > Ludovic Court=C3=A8s <ludo@HIDDEN> wrote: > >> Hi! >>=20 >> GHC takes way too much space (GHC itself, not the closure): >>=20 >> --8<---------------cut here---------------start------------->8--- >> $ guix size ghc@HIDDEN >> 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
X-Loop: help-debbugs@HIDDEN Subject: bug#51928: GHC 8.10 occupies =?UTF-8?Q?1.6=C2=A0GiB?= Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Sun, 28 Nov 2021 17:04:01 +0000 Resent-Message-ID: <handler.51928.B51928.163811902717560 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 51928 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxim Cournoyer <maxim.cournoyer@HIDDEN> Cc: raingloom <raingloom@HIDDEN>, 51928 <at> debbugs.gnu.org Received: via spool by 51928-submit <at> 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 <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1mrNad-0004ZA-Eh for submit <at> 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 <ludo@HIDDEN>) id 1mrNab-0004Yu-R8 for 51928 <at> 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 <ludo@HIDDEN>) 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 <ludo@HIDDEN>) id 1mrNaW-0004z9-Dm; Sun, 28 Nov 2021 12:03:40 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN> References: <8735nutrf3.fsf@HIDDEN> <20211124005641.44b985e9@HIDDEN> <87ee728eu9.fsf_-_@HIDDEN> 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_-_@HIDDEN> (Maxim Cournoyer's message of "Fri, 26 Nov 2021 22:19:58 -0500") Message-ID: <87h7bwb4b9.fsf@HIDDEN> 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 <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Hi, Maxim Cournoyer <maxim.cournoyer@HIDDEN> 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.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.