From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id +BV7NSnHnWGLBgEAgWs5BA (envelope-from ) for ; Wed, 24 Nov 2021 06:01:29 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id wPsNMSnHnWFvWgAAbx9fmQ (envelope-from ) for ; Wed, 24 Nov 2021 05:01:29 +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 5391B312E2 for ; Wed, 24 Nov 2021 06:01:29 +0100 (CET) Received: from localhost ([::1]:34218 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mpkPQ-0005ah-F2 for larch@yhetil.org; Wed, 24 Nov 2021 00:01:28 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43150) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mpkP0-0005Yu-VB for bug-guix@gnu.org; Wed, 24 Nov 2021 00:01:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:41176) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mpkP0-0008AQ-LJ for bug-guix@gnu.org; Wed, 24 Nov 2021 00:01:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mpkP0-0002H7-KT for bug-guix@gnu.org; Wed, 24 Nov 2021 00:01:02 -0500 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?= 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-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=1637730089; 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=Y2jVbv+yinoN87HSqy5ro1hL9yHOuGXKDDYDjBPhzOs=; b=Z0qpV2fSEY+ZgtwStb62ID80qRfQqoF02Po33f683zKvnx7b9wrVW0i8TeW6VzsxNhrAC9 CC/crV5zvHYAkCrSmsdWGK3ShOLJGASm9KDui6MTA6Yqu0C78awIrHGW4RGDDfHvnx00Hv pr+V+zUlPnZFnBwbtbLa11LgttqIsiu3AQ1m6nOvPIrSrISxFTPQkq1yggGDlp1bmKboq6 xzbmQZJ1tSbvYtU09m+tY16YWH5vjXpcqJhXyxQjnI25jr0ZzOeVq050ECpcz9ExVvrp0m h46ntZw6Z7X6bJDqXdMsZnIJ4g3BFiN02D+dJQ9W+Uzv8Bl6MXtObRPilV/RDg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1637730089; a=rsa-sha256; cv=none; b=jz0L59R/9lzzkXn2AKF6U8M8Zh+ya2UdD75z9uvlNL6CxyfWSluNbek5vuUrd7HBbt4vgs trtsu7X9MJOhr3WhGSMRWTiSDhp8di+5NpvUMoR2ljR+0QeScDuYJtj4qttOguqrCTFsZx cqFSLmONPdyWshU77zUsetBNWxL6kPm1S6vqViKTX0ubFayZb+HtD4cq30SAONsQ2SMnK2 Xi39j8imy8o+xC+1PTcv+t2gRCWRl3Lk8qb7czsPy17dVEWQfPdrngeFO7iumJ9o5wfJQf ofFOOnBgPG4jG4Tm2G4AZDWmlSCqUlxubOtvCIRkbMI6OyMCOALYfHDx+vq0hA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b="ETa1lj/d"; 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: -2.55 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b="ETa1lj/d"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=riseup.net (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: 5391B312E2 X-Spam-Score: -2.55 X-Migadu-Scanner: scn1.migadu.com X-TUID: YUgez9GXQDrA 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?