[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Automake-NG] [PATCH] memoize: expose a serious bug (for GNU make <
From: |
Akim Demaille |
Subject: |
Re: [Automake-NG] [PATCH] memoize: expose a serious bug (for GNU make < 3.83) |
Date: |
Tue, 15 May 2012 11:28:42 +0200 |
Le 15 mai 2012 à 11:21, Stefano Lattarini a écrit :
> This is a follow-up to commit v1.12-217-gd55204f of 2012-05-12,
> "[ng] vars: implement memoization of make variables (new 'am__memoize'
> func)".
>
> So, apparently, all our workarounds aimed at avoiding the subtle GNU
> make bug affecting variable memoization:
>
> <http://lists.gnu.org/archive/html/bug-make/2012-05/msg00013.html>
> <https://savannah.gnu.org/patch/?7534>
>
> have not been enough :-(
Bummer :(
It is my understanding that the bug prevents reassigning to a
variable, right? So maybe the outer variable, instead of trying
to memoize, could use an $(if) to branch either to evaluate-and-store
in *another* variable else to the value of this memo variable.
This should prevent re-assignment, and result is the sole
extra cost of check whether the memo-variable was set.
- Re: [Automake-NG] [PATCH 00/11] Several changes to parallel-tests support, (continued)
- Re: [Automake-NG] [PATCH 00/11] Several changes to parallel-tests support, Stefano Lattarini, 2012/05/10
- Re: [Automake-NG] [PATCH 00/11] Several changes to parallel-tests support, Akim Demaille, 2012/05/11
- Re: [Automake-NG] [PATCH 00/11] Several changes to parallel-tests support, Akim Demaille, 2012/05/11
- Re: [Automake-NG] [PATCH 00/11] Several changes to parallel-tests support, Stefano Lattarini, 2012/05/11
- [Automake-NG] [PATCH] vars: implement make variable memoization (new function 'am__memoize'), Stefano Lattarini, 2012/05/13
- Re: [Automake-NG] [PATCH] vars: implement make variable memoization (new function 'am__memoize'), Dave Hart, 2012/05/13
- Re: [Automake-NG] [PATCH] vars: implement make variable memoization (new function 'am__memoize'), Stefano Lattarini, 2012/05/13
- Re: [Automake-NG] [PATCH] vars: implement make variable memoization (new function 'am__memoize'), Akim Demaille, 2012/05/14
- Re: [Automake-NG] [PATCH] vars: implement make variable memoization (new function 'am__memoize'), Stefano Lattarini, 2012/05/15
- [Automake-NG] [PATCH] memoize: expose a serious bug (for GNU make < 3.83), Stefano Lattarini, 2012/05/15
- Re: [Automake-NG] [PATCH] memoize: expose a serious bug (for GNU make < 3.83),
Akim Demaille <=
- [Automake-NG] [PATCH 0/3] Fix variable memoization, Stefano Lattarini, 2012/05/15
- [Automake-NG] [PATCH 2/3] [ng] coverage: test memoize on variable with long name and long content, Stefano Lattarini, 2012/05/15
- [Automake-NG] [PATCH 1/3] [ng] memoize: expose a serious bug (affecting GNU make < 3.83), Stefano Lattarini, 2012/05/15
- [Automake-NG] [PATCH 3/3] [ng] memoize: correctly work around a bug of GNU make < 3.83, Stefano Lattarini, 2012/05/15
- Re: [Automake-NG] [PATCH 3/3] [ng] memoize: correctly work around a bug of GNU make < 3.83, Akim Demaille, 2012/05/15
- Re: [Automake-NG] [PATCH 3/3] [ng] memoize: correctly work around a bug of GNU make < 3.83, Stefano Lattarini, 2012/05/15
- Re: [Automake-NG] [PATCH 3/3] [ng] memoize: correctly work around a bug of GNU make < 3.83, Akim Demaille, 2012/05/15
- Re: [Automake-NG] [PATCH 3/3] [ng] memoize: correctly work around a bug of GNU make < 3.83, Stefano Lattarini, 2012/05/15
- Re: [Automake-NG] [PATCH 3/3] [ng] memoize: correctly work around a bug of GNU make < 3.83, Stefano Lattarini, 2012/05/16
- Re: [Automake-NG] [PATCH 0/3] Fix variable memoization, Akim Demaille, 2012/05/15