From: Marius Bakke <mbakke@fastmail.com>
To: "Mathieu Othacehe" <m.othacehe@gmail.com>,
"Ludovic Courtès" <ludo@gnu.org>
Cc: 39941@debbugs.gnu.org
Subject: bug#39941: Disk-image size increase on core-updates.
Date: Sat, 14 Mar 2020 13:30:00 +0100 [thread overview]
Message-ID: <87y2s3ktkn.fsf@devup.no> (raw)
In-Reply-To: <87a74jnr4f.fsf@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2295 bytes --]
Mathieu Othacehe <m.othacehe@gmail.com> 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?
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
next prev parent reply other threads:[~2020-03-14 12:31 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-06 7:37 bug#39941: Disk-image size increase on core-updates Mathieu Othacehe
2020-03-10 9:22 ` Mathieu Othacehe
2020-03-11 14:25 ` Ludovic Courtès
2020-03-11 14:45 ` Mathieu Othacehe
2020-03-11 20:33 ` Ludovic Courtès
2020-03-12 8:06 ` Mathieu Othacehe
2020-03-14 10:54 ` Mathieu Othacehe
2020-03-14 12:30 ` Marius Bakke [this message]
2020-03-15 11:21 ` Mathieu Othacehe
2020-03-15 17:13 ` Ludovic Courtès
2020-03-17 11:28 ` Mathieu Othacehe
2020-03-24 10:54 ` Ludovic Courtès
2020-03-24 17:01 ` Mathieu Othacehe
2020-03-25 21:34 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y2s3ktkn.fsf@devup.no \
--to=mbakke@fastmail.com \
--cc=39941@debbugs.gnu.org \
--cc=ludo@gnu.org \
--cc=m.othacehe@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).