guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Guile 2.2 .go files are larger


From: Ludovic Courtès
Subject: Guile 2.2 .go files are larger
Date: Sat, 22 Apr 2017 15:19:03 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

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’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]