Perl's closure is too big

  • Done
  • quality assurance status badge
Details
2 participants
  • Thompson, David
  • Ludovic Courtès
Owner
unassigned
Submitted by
Thompson, David
Severity
normal

Debbugs page

Thompson, David wrote 9 years ago
(address . bug-guix@gnu.org)
CAJ=RwfYgxQcGoPPwDkUtEmwMQOFRw-AA5ycCJMzWfE0iUvXBVQ@mail.gmail.com
If you run 'guix size perl' you will notice that, as of this writing,
138.2MiB of Perls' 307.6MiB closure is due to referencing gcc's
default output in '/lib/perl5/5.22.1/x86_64-linux/Config_heavy.pl'.
Perl's large closure inflates the closures of many other packages,
such as openssl.

Does anyone familiar with Perl know if we really need to a reference
to GCC here? Would be great to remove it. :)

- Dave
Ludovic Courtès wrote 9 years ago
(name . Thompson, David)(address . dthompson2@worcester.edu)(address . 23077@debbugs.gnu.org)
878u1b7p98.fsf@gnu.org
"Thompson, David" <dthompson2@worcester.edu> skribis:

Toggle quote (9 lines)
> If you run 'guix size perl' you will notice that, as of this writing,
> 138.2MiB of Perls' 307.6MiB closure is due to referencing gcc's
> default output in '/lib/perl5/5.22.1/x86_64-linux/Config_heavy.pl'.
> Perl's large closure inflates the closures of many other packages,
> such as openssl.
>
> Does anyone familiar with Perl know if we really need to a reference
> to GCC here? Would be great to remove it. :)

I’m not familiar with Perl but I think we should get rid of that
reference—that and also Coreutils, Gawk, Binutils, and more:

Toggle snippet (34 lines)
store item total self
/gnu/store/x2p2biyybcb2wac77qz9468asc5fm48i-perl-5.22.1 307.6 49.8 16.2%
/gnu/store/pg8nnqprjxgwhwiyh8nhbphzj53ax77i-gcc-4.9.3 138.2 77.1 25.1%
/gnu/store/43a6v9hslld0nx627nyr365zih1p41h5-make-4.1 106.9 1.2 0.4%
/gnu/store/l5d5pw7a3mg8smx120fgrjakd109qzbq-guile-2.0.11 105.7 16.1 5.2%
/gnu/store/gbg76f0x503bkjr1pcv1n37plph2b7ha-binutils-2.25.1 82.5 44.6 14.5%
/gnu/store/nl4g5nzfdy6fad6i1zgxp1gin5c73b47-coreutils-8.24 77.8 13.8 4.5%
/gnu/store/xqvwn89wb5ja81pxsy3m7lqlwq8mf3zw-gawk-4.1.3 75.2 2.9 0.9%
/gnu/store/5srj5qj6qhbwvrnlmnj8bihj6qbwb4v3-xz-5.2.2 73.4 1.1 0.4%
/gnu/store/8qqi9pjcpb8lph39g9ppyqzaq38hdvdg-bzip2-1.0.6 72.9 0.5 0.2%
/gnu/store/jbzyly3wcwbkhd9ai97d2a129i8rhpbk-readline-6.3 67.7 1.2 0.4%
/gnu/store/6fpfcqpm85k777rsdrb3d2pd91p2h4ll-ncurses-6.0 66.4 5.7 1.9%
/gnu/store/09gwygs9vdja1bkpyfqsb51rjzs7d5zs-libunistring-0.9.6 65.2 4.5 1.5%
/gnu/store/8v3jina1v71fi4n1gcs729jvrc777giy-file-5.25 64.6 3.9 1.3%
/gnu/store/1hc749rww6b4dzmmilz5qfri11k6087g-gmp-6.1.0 63.3 2.6 0.8%
/gnu/store/zx7fwds22418n3vjyh8qk55l2jh06ry0-gmp-6.1.0 63.3 2.6 0.8%
/gnu/store/qjzi4vvbqrpbjfdg8hvkv43qlkhcx0v7-libgc-7.4.2 62.5 1.1 0.4%
/gnu/store/36n9cb1rj8hnz5f43rh04kyqmipg8h9q-pkg-config-0.29 62.0 1.3 0.4%
/gnu/store/2m3yvag3bvsy812dqbvxmxlra2hcpwd4-acl-2.2.52 61.4 0.4 0.1%
/gnu/store/m7ac4hqvbyzf0fwjp5q85v6l8183r6h5-libcap-2.24 61.1 0.1 0.0%
/gnu/store/83hq072klq4bj46l297ihwyp7wg3jy41-attr-2.4.47 61.0 0.2 0.1%
/gnu/store/cx4dknnwm6dfha504hriss6nspilccz1-libffi-3.2.1 60.8 0.1 0.0%
/gnu/store/64fk1rj1ykjd9miplzvgnz5bfyhwspw0-libltdl-2.4.6 60.8 0.1 0.0%
/gnu/store/pkasxagsa4z4viscfpl6sjszmdmwncl1-gcc-4.9.3-lib 60.7 22.9 7.4%
/gnu/store/x8dmdlrn5qn0wrbcnngj55y3ab73h0pp-bash-4.3.42 49.5 4.7 1.5%
/gnu/store/0bxy0vmwf7l3nsz5yr71hmvay5aw9pw3-readline-6.3 44.8 1.2 0.4%
/gnu/store/bh25hb3hqr6dvxxhfm4hd9hjsxsf1f95-ncurses-6.0 43.6 5.7 1.9%
/gnu/store/sgzfawy95pfn7nsw3xvmca58llm5zzbc-glibc-2.22 37.9 36.5 11.9%
/gnu/store/1481x54il6kf3kcs03g997yaj86mfvkh-linux-libre-headers-3.14.37 3.3 3.3 1.1%
/gnu/store/h534pmpvqr5svh0vp238ndph4gv9g51i-bash-static-4.3.42 1.4 1.4 0.5%
/gnu/store/7sbnxbfwzxn4fwkpa10x07gb5hr5hh62-libatomic-ops-7.4.2 0.6 0.6 0.2%
/gnu/store/dyz3dsbxa3h4dzwaxv4ibjdl5hbj9w2f-zlib-1.2.8 0.4 0.4 0.1%

Ludo’.
Ludovic Courtès wrote 9 years ago
(name . Thompson, David)(address . dthompson2@worcester.edu)(address . 23077-done@debbugs.gnu.org)
87inzu4fgv.fsf@gnu.org
"Thompson, David" <dthompson2@worcester.edu> skribis:

Toggle quote (6 lines)
> If you run 'guix size perl' you will notice that, as of this writing,
> 138.2MiB of Perls' 307.6MiB closure is due to referencing gcc's
> default output in '/lib/perl5/5.22.1/x86_64-linux/Config_heavy.pl'.
> Perl's large closure inflates the closures of many other packages,
> such as openssl.

Fixed in 81cea47d4a4c0054beb234004b990d6f514d0514 on ‘core-updates’.

Most likely this was a regression introduced with the upgrade to 5.22 in
4de35074833742e45237464bb1727ce1a55f3336. Previously the issue had been
addressed in f727ec5bc8a6f97ae1083026e508b917235dfd2d.

Thanks,
Ludo’.
Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 23077@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 23077
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help