all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: Compilation failure on very large module
Date: Tue, 13 Jun 2017 14:18:52 +0200	[thread overview]
Message-ID: <87fuf42i8j.fsf@gnu.org> (raw)
In-Reply-To: <idjzidc8d5y.fsf@bimsb-sys02.mdc-berlin.net> (Ricardo Wurmus's message of "Tue, 13 Jun 2017 11:11:53 +0200")

Hello,

Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> 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’.

  reply	other threads:[~2017-06-13 12:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-13  8:41 Compilation failure on very large module Ricardo Wurmus
2017-06-13  9:11 ` Ricardo Wurmus
2017-06-13 12:18   ` Ludovic Courtès [this message]
2017-06-13 12:27     ` ng0

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=87fuf42i8j.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=ricardo.wurmus@mdc-berlin.de \
    /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.