guix-devel
[Top][All Lists]
Advanced

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

Re: Compilation failure on very large module


From: ng0
Subject: Re: Compilation failure on very large module
Date: Tue, 13 Jun 2017 12:27:44 +0000

Ludovic Courtès transcribed 0.9K bytes:
> Hello,
> 
> Ricardo Wurmus <address@hidden> skribis:
> 
> > Here’s the crash with Guile 2.2.  I’ve added the module to the list of
> > modules that should be compiled and ran “make”.  You can see that there
> > are a couple of undefined variables, but I don’t think this should lead
> > to a crash.
> 
> Looks like the same problem as outlined here:
> <https://lists.gnu.org/archive/html/guile-devel/2017-05/msg00033.html>.
> 
> Basically the compiler’s memory consumption seems to be proportional to
> the size of the input file, when I think it should be proportional to
> the complexity of the most complex top-level expression given that Guile
> doesn’t do inter-procedural analysis.
> 
> (The failure you get on 2.0 seems to be another story: apparently we’re
> hitting a limitation somewhere in the object format.)
> 
> Ludo’.
> 
> 

It is no longterm fix, but how about splitting up the largest
modules we have in several reasonable sized modules?
-- 
ng0
OpenPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
https://krosos.org/~/ng0/

Attachment: signature.asc
Description: PGP signature


reply via email to

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