CPU and GC cost of bignums

2020-02-04 Thread Ludovic Courtès
Hello! (If you’re in a hurry, there are good news at the bottom.) I noticed that 3.0 (and also 2.2 actually) takes a long time to compile Guix’ gnu/services/mail.scm, which is macro-heavy, producing lots of top-level defines. At -O2 (the default), we have: --8<---cut

[PATCH, v2] Fix build on ia64

2020-02-04 Thread John Paul Adrian Glaubitz
* libguile/continuations.c (capture_auxiliary_stack): Fix logic in preprocessor code when checking for ia64 host; fix dereferencing of ctx variable. * libguile/threads.h (struct scm_thread): Add missing member SCM_STACKITEM *auxiliary_stack_base. --- libguile/continuations.c | 6

[PATCH] Fix build on ia64

2020-02-04 Thread John Paul Adrian Glaubitz
* libguile/continuations.c (capture_auxiliary_stack): Fix logic in preprocessor code when checking for ia64 host; fix dereferencing of ctx variable. * libguile/threads.h (struct scm_thread): Add missing member SCM_STACKITEM *auxiliary_stack_base. --- libguile/continuations.c | 6

[PATCH, v2] Fix build on platforms where the stack grows upwards

2020-02-04 Thread John Paul Adrian Glaubitz
* libguile/continuations.c (scm_dynthrow): Fix missing mra parameter to grow_stack for SCM_STACK_GROWS_UP. --- libguile/continuations.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) v2: - Improved grammar in commit message diff --git a/libguile/continuations.c

Re: Removal of hppa support

2020-02-04 Thread John Paul Adrian Glaubitz
Hi! On 2/4/20 12:23 PM, Andy Wingo wrote: >> On 1/27/20 4:46 PM, Andy Wingo wrote: >>> William is correct. HPPA support is not gone from Guile; and indeed >>> it's good to hear from you :) I wasn't sure there were any IA64 users >>> remaining. >> >> It fails to build from source on Debian hppa,

Fix build of platforms where the stack grows upwards

2020-02-04 Thread John Paul Adrian Glaubitz
Hi! In a20feea43, the mra of continuation was included in scm_dynthrow but it was forgotten for SCM_STACK_GROWS_UP when calling grow_stack which causes guile failing to build on Linux/hppa. Thanks, Adrian

[PATCH] Fix build of platforms where the stack grows upwards

2020-02-04 Thread John Paul Adrian Glaubitz
* libguile/continuations.c (scm_dynthrow): Fix missing mra parameter to grow_stack for SCM_STACK_GROWS_UP. --- libguile/continuations.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libguile/continuations.c b/libguile/continuations.c index 3f86c6bd4..67a47d38c 100644 ---

Re: Removal of hppa support

2020-02-04 Thread Andy Wingo
Greets, On Tue 04 Feb 2020 12:02, John Paul Adrian Glaubitz writes: > On 1/27/20 4:46 PM, Andy Wingo wrote: >> William is correct. HPPA support is not gone from Guile; and indeed >> it's good to hear from you :) I wasn't sure there were any IA64 users >> remaining. > > It fails to build from

Re: Removal of hppa support

2020-02-04 Thread John Paul Adrian Glaubitz
Hi! On 1/27/20 4:46 PM, Andy Wingo wrote: > William is correct. HPPA support is not gone from Guile; and indeed > it's good to hear from you :) I wasn't sure there were any IA64 users > remaining. It fails to build from source on Debian hppa, however: >