[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Guile under Guix on Arm
From: |
Andreas Enge |
Subject: |
Guile under Guix on Arm |
Date: |
Tue, 29 Oct 2013 21:42:43 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Hello,
./pre-inst-env guix build guile-static-stripped-tarball
--target=armv5-linux-gnueabi
(after enabling armv5 as explained under porting in the guix manual)
results in the following error:
CC libguile_2.0_la-fluids.lo
finalizers.c:166:1: error: static declaration of 'GC_set_finalizer_notifier'
follows non-static declaration
In file included from ../libguile/bdw-gc.h:47:0,
from finalizers.c:26:
/nix/store/8wkjgpb4b81ha352zz4fn3pvcwnj8x8c-libgc-7.2d/include/gc/gc.h:177:21:
note: previous declaration of 'GC_set_finalizer_notifier' was here
make[3]: *** [libguile_2.0_la-finalizers.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory
`/tmp/nix-build-guile-static-2.0.9.drv-0/guile-2.0.9/libguile'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/tmp/nix-build-guile-static-2.0.9.drv-0/guile-2.0.9/libguile'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/nix-build-guile-static-2.0.9.drv-0/guile-2.0.9'
make: *** [all] Error 2
phase `build' failed after 54 seconds
Indeed, line 177 of gc.h is:
GC_API void GC_CALL GC_set_finalizer_notifier(GC_finalizer_notifier_proc);
And line 47 of bdw-gc.h is:
#include <gc/gc.h>
The static redefinition is in lines 164 ff. of finalizers.c:
#ifndef HAVE_GC_SET_FINALIZER_NOTIFIER
static void
GC_set_finalizer_notifier (void (*notifier) (void))
{
GC_finalizer_notifier = notifier;
}
#endif
And config.h contains
/* #undef HAVE_GC_SET_FINALIZER_NOTIFIER */
"By hand", I did compile guile-2.0.9 without problem.
A problem in guile, or with the guile package in guix with respect to cross
compiling?
Andreas
- Guile under Guix on Arm,
Andreas Enge <=