From: ludo@gnu.org (Ludovic Courtès)
To: guix-devel <guix-devel@gnu.org>, Andy Wingo <wingo@igalia.com>
Subject: Guile 2.2 .go files are larger
Date: Sat, 22 Apr 2017 15:19:03 +0200 [thread overview]
Message-ID: <8737d07f7c.fsf@gnu.org> (raw)
Hello!
The closure of Guix built with 2.0 is 193.8 MiB; when built with 2.2,
it’s 311.8 MiB. Guix itself goes from 66 to 150 MiB:
--8<---------------cut here---------------start------------->8---
$ du -ms /gnu/store/jh07pwbyf5dbpdd5q0nvgagqkgmh76nh-guix-0.12.0-9.25a4/lib/guile/2.2
101 /gnu/store/jh07pwbyf5dbpdd5q0nvgagqkgmh76nh-guix-0.12.0-9.25a4/lib/guile/2.2
$ du -ms /gnu/store/rnpz1svz4aw75kibb5qb02hhccy2m4y0-guix-0.12.0-7.aabe/lib/guile/2.0
24 /gnu/store/rnpz1svz4aw75kibb5qb02hhccy2m4y0-guix-0.12.0-7.aabe/lib/guile/2.0
--8<---------------cut here---------------end--------------->8---
Would you have any suggestions to shrink the ELF files a bit?
Binutils’ ‘strip’ command bails out on .go files:
strip: Unable to recognise the format of the input file `/gnu/store/jh07pwbyf5dbpdd5q0nvgagqkgmh76nh-guix-0.12.0-9.25a4/lib/guile/2.2/site-ccache/guix/scripts/refresh.go'
Also we’d rather avoid stripping debug info, if possible, to preserve
debuggability.
Thoughts?
Ludo’.
next reply other threads:[~2017-04-22 13:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-22 13:19 Ludovic Courtès [this message]
2017-04-24 8:24 ` Guile 2.2 .go files are larger Andy Wingo
2017-04-24 8:57 ` Andy Wingo
2017-04-27 14:03 ` 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8737d07f7c.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=guix-devel@gnu.org \
--cc=wingo@igalia.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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.