guix-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] build: pull: Compile .scm files in one process.


From: Andy Wingo
Subject: Re: [PATCH] build: pull: Compile .scm files in one process.
Date: Mon, 09 Nov 2015 10:49:51 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

On Mon 09 Nov 2015 09:50, address@hidden (Taylan Ulrich "Bayırlı/Kammer") 
writes:

> Andy Wingo <address@hidden> writes:
>
>> On Mon 09 Nov 2015 08:51, address@hidden (Taylan Ulrich "Bayırlı/Kammer") 
>> writes:
>>
>>> The relevant bug report is <http://bugs.gnu.org/15602>.
>>>
>>> According to Ludo's explanation, compiling a module file leads to the
>>> module being created in the runtime, but with syntax bindings only, and
>>> runtime bindings missing.  That's what I mean with "degenerate" module
>>> for lack of a better term.  Loading the same file explicitly afterwards
>>> (or using load-compiled on the generated .go) seems to solve the issue.
>>
>> Ah, I see.  Well, one workaround for this issue, if you wanted to work
>> around it, would be to load the file before compiling it.  In that way
>> the module would already be loaded at the right phase.  This wouldn't
>> cost very much AFAIU.
>
> Yeah, loading before compiling also seems to work.

Just a note -- you should use `primitive-load' or otherwise ensure that
guile isn't doing auto-compiling.  `load' will auto-compile if it can.

A



reply via email to

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