From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 4HtVCCekoWG5cwAAgWs5BA (envelope-from ) for ; Sat, 27 Nov 2021 04:21:11 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id eIUNBCekoWFRTAAAB5/wlQ (envelope-from ) for ; Sat, 27 Nov 2021 03:21:11 +0000 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 AE25E2D846 for ; Sat, 27 Nov 2021 04:21:10 +0100 (CET) Received: from localhost ([::1]:59402 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mqoGz-0001CG-UJ for larch@yhetil.org; Fri, 26 Nov 2021 22:21:09 -0500 Received: from eggs.gnu.org ([209.51.188.92]:49728) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mqoGs-0001C8-8Z for bug-guix@gnu.org; Fri, 26 Nov 2021 22:21:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:49354) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mqoGs-0008EK-01 for bug-guix@gnu.org; Fri, 26 Nov 2021 22:21:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mqoGr-0004FF-OE for bug-guix@gnu.org; Fri, 26 Nov 2021 22:21:01 -0500 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 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 51928@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1637983270; 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=eBx/TVzwq60gi1KxLpIXQfhVAgd4jBEbEbCuCJu/Eao=; b=MmW++ztWDhYQlii/fRH4wK/UFwVyTMEeyeFUEOX65cA1+/eWvguPBIUHTxkH41UHXMBSLx I8DMIKCbD9bK20yzr4/KjzZGjd5jDLh21s4jLhtpir/hC8D9xVUly1nlzmNWiSMP1ejGk/ 6jPBi8AZ3Zl/XyZLgQLfyy1/6WRJc9iZuRb52M8lxHsz5QEz1CUS0rawKl6uw1FdmrGWsP T/HLqSATbCVqczwOPu0DMoB266/T/TO/6UmCMqqk6ghxbura77XybFv/PMApGE32YYGZFT mzA/+RHaAfhI9w2mduQY75PZiDNDaYQyxIkEFSMPNqhyEbfIwfTZMpOheMOgEQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1637983270; a=rsa-sha256; cv=none; b=dZrMySANNxsf5FYbGHmKZroO+pKrfFBLBnRzPGfAhBKxpTIhxE3fdMYw1ep/WMMJaBlShG SBa6ildXtrdUqHC7JOw7mWpYHExD/rjEaCPXnXrn8/Lbtr+Xa4IaWFpbAA2U7+TSNrxojp Py0zsqzHmev8ix14K8oQ+OJJIpZUOwxwHg+9EIjRbpYa0auscyLCFSGMcq32soZ6QKaRGG T9jkvPQpHdYklOkaMbhmjpSqvOowxA2r9mhKxtcvomHgaiULcm23kASyJsJyUkHNeoxL+C qoae/qmHBeCY+BHzmzMd8cHVsg0W9ApwnV4lHAnC8o//jtIZHlvZ24SKdFhTsQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=k7twg8m2; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -1.80 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=k7twg8m2; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: AE25E2D846 X-Spam-Score: -1.80 X-Migadu-Scanner: scn1.migadu.com X-TUID: l3q8VyJCACvc 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