bug#39941: Disk-image size increase on core-updates.

2020-03-25 Thread Ludovic Courtès
Mathieu Othacehe skribis: >>> +--- a/libgcc/configure >>> b/libgcc/configure >> >> I suspect this is the only file we need to patch, no? At least, we can >> remove all the m4 and m4-related Makefile.in changes and the unrelated >> ‘configure’ changes. > > The configure files of the other li

bug#39941: Disk-image size increase on core-updates.

2020-03-24 Thread Mathieu Othacehe
>> +--- a/libgcc/configure >> b/libgcc/configure > > I suspect this is the only file we need to patch, no? At least, we can > remove all the m4 and m4-related Makefile.in changes and the unrelated > ‘configure’ changes. The configure files of the other libraries are needed too because they

bug#39941: Disk-image size increase on core-updates.

2020-03-24 Thread Ludovic Courtès
Hi, Mathieu Othacehe skribis: >> Perhaps add “Fixes .” > > Well I think it doesn't. In the bug report 39941, I reported a recent > increase of the cross-compiled disk-image on core-updates (1.5 -> 2.0 > GiB), over the last two months. It is not resolved, and this patc

bug#39941: Disk-image size increase on core-updates.

2020-03-17 Thread Mathieu Othacehe
Hey, > Congrats on this, Mathieu! Thank you :) > Perhaps add “Fixes .” Well I think it doesn't. In the bug report 39941, I reported a recent increase of the cross-compiled disk-image on core-updates (1.5 -> 2.0 GiB), over the last two months. It is not resolved, and

bug#39941: Disk-image size increase on core-updates.

2020-03-15 Thread Ludovic Courtès
Hi! Congrats on this, Mathieu! Mathieu Othacehe skribis: > You'll find a trimmed patch attached. I found the GCC patch upstream > (pushed in January), after finding the option in the online manual. [...] > From d8c45710847b504912670ebccf319354746f06f9 Mon Sep 17 00:00:00 2001 > From: Mathieu

bug#39941: Disk-image size increase on core-updates.

2020-03-15 Thread Mathieu Othacehe
Hey Marius, > Maybe file a different bug report for those so it does not get > forgotten? One thing at the time... Ok! > FWIW I think the original problem with huge closure increase has been > fixed with 8e98f750e63e8723db0361f4e3e960193278fa47 and > 7688dbbdd7a7a091c9a0fc4850e70725e3ff64e3. >

bug#39941: Disk-image size increase on core-updates.

2020-03-14 Thread Marius Bakke
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<

bug#39941: Disk-image size increase on core-updates.

2020-03-12 Thread Mathieu Othacehe
Hi, > Ah yes, we should try to introduce a “lib” output there as well. I > vaguely remember this was tricky but I’m not sure why; worth a try! Ok then, I'll give it a try. > Speaking of which, the Data Service has things like: > > > http://data.guix.gnu.org/gnu/store/p8in2npgl5yhliy25ikz7s

bug#39941: Disk-image size increase on core-updates.

2020-03-11 Thread Ludovic Courtès
Hi! Mathieu Othacehe skribis: > Turns out on master, > > guix size `guix build guile|grep -v debug` > > > returns ~124 MiB, while, > > guix size `guix build --target=aarch64-linux-gnu guile|grep -v debug` > > returns ~523 MiB. > > When building the native guile, only the "lib" output of gcc is >

bug#39941: Disk-image size increase on core-updates.

2020-03-11 Thread Mathieu Othacehe
Hey, > Could you find out (perhaps by looking at ‘guix graph -t references’) > what is referencing these two cross-compilers? Turns out on master, --8<---cut here---start->8--- guix size `guix build guile|grep -v debug` --8<---cut here---

bug#39941: Disk-image size increase on core-updates.

2020-03-11 Thread Ludovic Courtès
Hi, Mathieu Othacehe skribis: > The "guix size" report is attached. Several issues appear: > > * Inclusion of gcc-cross-sans-libc-aarch64-linux-gnu-7.5.0 and > gcc-cross-aarch64-linux-gnu-7.5.0. Could you find out (perhaps by looking at ‘guix graph -t references’) what is referencing these two

bug#39941: Disk-image size increase on core-updates.

2020-03-10 Thread Mathieu Othacehe
The "guix size" report is attached. Several issues appear: * Inclusion of gcc-cross-sans-libc-aarch64-linux-gnu-7.5.0 and gcc-cross-aarch64-linux-gnu-7.5.0. * Three different versions of guile-2.2.6. * Duplicated glibc, bash and coreutils. Thanks, Mathieu size_core Description: Binary data

bug#39941: Disk-image size increase on core-updates.

2020-03-05 Thread Mathieu Othacehe
Hello, When building the attached operating-system (very close to bare-bones.tmpl) with the following command: guix system disk-image --target=aarch64-linux-gnu mini.scm --no-grafts the produced disk-image weights 2.6G (2717242368 bytes). On the same branch in January it was around 1.5G. I'll