[Top][All Lists]

[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)


   ./pre-inst-env guix build guile-static-stripped-tarball 
(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:
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 
make[2]: *** [all] Error 2
make[2]: Leaving directory 
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:
static void
GC_set_finalizer_notifier (void (*notifier) (void))
  GC_finalizer_notifier = notifier;

And config.h contains

"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


reply via email to

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