[Top][All Lists]

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

Re: ABI break!

From: Ludovic Courtès
Subject: Re: ABI break!
Date: Wed, 18 Jan 2017 22:25:38 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

John Darrington <address@hidden> skribis:

> On Tue, Jan 17, 2017 at 11:52:35PM +0100, Ludovic Court??s wrote:
>      address@hidden (Ludovic Court??s) skribis:
>      > Pushed with tests as 384344198dcaa97847e66d3dd82f279ede08d690.
>      And if you get a weird error when running ???make??? about
>      ???file-system-needed-for-boot????, just run:
>        rm gnu/system.go && make
>      This is because of an ABI break: ???file-system-needed-for-boot???? was a
>      macro and now is a procedure.
> Surely this means that the Makefile is wrong?
> It should recognise that gnu/system.scm has changed and rebuild gnu/system.go 
> accordingly.

gnu/system.scm has not changed; gnu/system/file-system.scm did.

Guile modules are composed at run time for the most part, so when you
change one, you don’t have to rebuild those that use it.

However, you do have to recompile them if they rely on it for macros and
those macros have changed or are no longer macros.

This is what happened here.


reply via email to

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