From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marius Bakke Subject: bug#39941: Disk-image size increase on core-updates. Date: Sat, 14 Mar 2020 13:30:00 +0100 Message-ID: <87y2s3ktkn.fsf@devup.no> References: <87sgimdjcj.fsf@gmail.com> <87eeu0h8d6.fsf@gmail.com> <87a74nhstf.fsf@gnu.org> <87zhcnympn.fsf@gmail.com> <87r1xyfx7o.fsf@gnu.org> <87a74jnr4f.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:46124) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jD5wV-0003Z6-4o for bug-guix@gnu.org; Sat, 14 Mar 2020 08:31:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jD5wU-0005Lp-2p for bug-guix@gnu.org; Sat, 14 Mar 2020 08:31:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54738) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jD5wT-0005LY-WA for bug-guix@gnu.org; Sat, 14 Mar 2020 08:31:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jD5wT-0005n2-U4 for bug-guix@gnu.org; Sat, 14 Mar 2020 08:31:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87a74jnr4f.fsf@gmail.com> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane-mx.org@gnu.org Sender: "bug-Guix" To: Mathieu Othacehe , Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 39941@debbugs.gnu.org --=-=-= Content-Type: text/plain Mathieu Othacehe writes: > Hello, > > Here's a patch that adds a "lib" output to cross-gcc. This was indeed > quite tricky! > > Anyway, with this patch the closure of "hello" for aarch64-linux-gnu is > reduced from 469 MiB to 187 MiB. Woohoo :-) > I think we can go further. > > --8<---------------cut here---------------start------------->8--- > mathieu@elbruz ~/guix [env]$ guix size /gnu/store/14ygibryjr7mcly0q9mb8306hlg16nhq-hello-2.10 > store item total self > /gnu/store/vm2gaw5jk1zr1x9qzj4z52qjxvrh0nk9-glibc-cross-aarch64-linux-gnu-2.31 158.9 71.4 38.2% > /gnu/store/w00jb174abikqpznadwzvvgwl3r7qfzd-glibc-2.31 38.4 36.7 19.6% > /gnu/store/08vqg0s77dnff7rz90b0h87n2rfyaszg-gcc-7.5.0-lib 71.0 32.6 17.5% > /gnu/store/vqsixs9ks4chpjynhizkpdd1gdshv87h-gcc-cross-aarch64-linux-gnu-7.5.0-lib 186.8 27.9 14.9% > /gnu/store/fgrpk8r46k34pyqv6xkbi8gbv997dbpx-gcc-cross-sans-libc-aarch64-linux-gnu-7.5.0-lib 80.8 9.8 5.2% > /gnu/store/zf5603c5l6ilgyg35gqfkn82v3k9hbri-linux-libre-headers-cross-aarch64-linux-gnu-5.4.20 5.1 5.1 2.7% > /gnu/store/6hhsxa3vvbh8gvcfjw4k5sfk1qrhkcrf-bash-static-5.0.16 1.6 1.6 0.9% > /gnu/store/nvc3r588745kkj159lm1pa4xz5g99rqd-bash-static-5.0.16 1.6 1.6 0.9% > /gnu/store/14ygibryjr7mcly0q9mb8306hlg16nhq-hello-2.10 187.0 0.2 0.1% > total: 187.0 MiB > --8<---------------cut here---------------end--------------->8--- > > There are still references to native glibc/gcc and two different bash, > that may be removed? Maybe file a different bug report for those so it does not get forgotten? One thing at the time... FWIW I think the original problem with huge closure increase has been fixed with 8e98f750e63e8723db0361f4e3e960193278fa47 and 7688dbbdd7a7a091c9a0fc4850e70725e3ff64e3. I'm getting 1372 MiB for the cross-mini example at approximately commit d594963856690f1aacf228c8a83e406d33bc44ce (cross-built for arm-linux-gnueabihf). > WDYT? The patch is almost 40k lines! Most of the changes are whitespace changes in the ChangeLog files, could you remove the commit log and ChangeLog entries altogether to make the patch easier to parse? Where did you find this patch? --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl5szkgACgkQoqBt8qM6 VPokxgf/UBtj3uCcSBcLXLOYvrmGliixEi6Pn7FpATAhrLd7BZqOE03ax2v+VSbu 8FP3jtDZH0ssdKrIDqfyKS8F0xeodde+weKjMl7ufobn4rE40WGMqPfWjI7Zp1DN 6nm6d89zqU2nGfht81fFlFfhrKewWGbfw1SB1xeOABJ4H23QvW1z3ScO5KEEKSNR Y5c8648rTrbv8FMU5q8r/DO/E5nc2fpJKTz9/sATsoDoxiixM41/6+bt5EFDN3Og 6a7lW+sp4RPjQSYgaMLTBVSfTbFx6aFq53OuNyMl9VtbT04UPyGyOZGCkGhXgngv OZ0kwdDNqU9Qc+wPocXEwBaLg8ToSA== =3mtd -----END PGP SIGNATURE----- --=-=-=--