[Ecls-list] HEAD Build failure

Matthew Mondor mm_lists at pulsar-zone.net
Sat Apr 7 17:25:02 UTC 2012

On Sat, 7 Apr 2012 12:39:10 -0400
Matthew Mondor <mm_lists at pulsar-zone.net> wrote:

> gcc -DECLDIR="\"/usr/local/ecl/lib/ecl-12.2.1\"" -I. -I/home/mmondor/work/ecl-git/ecl/build -I/home/mmondor/work/ecl-git/ecl/src/c -I../ecl/gc -DECL_API -DECL_NO_LEGACY   -I/usr/pkg/include -O2 -g -fPIC  -Dnetbsd -c -o threads/process.o threads/process.o.c
> /home/mmondor/work/ecl-git/ecl/src/c/threads/process.d: In function ‘mp_process_enable’:
> /home/mmondor/work/ecl-git/ecl/src/c/threads/process.d:501:3: error: invalid initializer
> /home/mmondor/work/ecl-git/ecl/src/c/threads/process.d:503:3: error: incompatible type for argument 2 of ‘GC_pthread_sigmask’
> /usr/pkg/include/gc/gc_pthread_redirects.h:25:7: note: expected ‘const struct sigset_t *’ but argument is of type ‘sigset_t’
> *** Error code 1

I could look again into it:

diff --git a/src/c/threads/process.d b/src/c/threads/process.d
index d13234b..f2223e5 100644
--- a/src/c/threads/process.d
+++ b/src/c/threads/process.d
@@ -497,8 +497,8 @@ mp_process_enable(cl_object process)
-               sigset_t previous, new = process_env->default_sigmask;
-               sigaddset(&new, ecl_option_values[ECL_OPT_THREAD_INTERRUPT_SIGNAL]);
+               sigset_t previous, *new = process_env->default_sigmask;
+               sigaddset(new, ecl_option_values[ECL_OPT_THREAD_INTERRUPT_SIGNAL]);
                pthread_sigmask(SIG_SETMASK, new, &previous);
                code = pthread_create(&process->process.thread, &pthreadattr,
                                      thread_entry_point, process);

Although ECL crashed when I attempted to rebuild the HTTPd.  I'll try
to play more with it later on.  Slime rebuilt fine and I got to the

More information about the ecl-devel mailing list