> I don't remember if I compiled by hand or just emerged in my gentoo
> laptop; I don't have it with me atm. It just worked for 1.4.
> 
> This is  most likely  a misplacement issue as far as I can  tell.  The 
> GC_phread_create() is defined in gc_pthread_redirects.h which is
> included by gc.h which in turn included by neko.
> 
> In my Ubuntu Dapper 64 box I have gc.h here: /usr/include/gc
> And compiled flawlessly. (If you don't count the mysql.ndll troubles but
> that's another issue.)
> 
> Take a look at the gc.h:
> 875 #if !defined(GC_USE_LD_WRAP) && \
> 876   (defined(GC_PTHREADS) || defined(GC_SOLARIS_THREADS))
> 877 # include "gc_pthread_redirects.h"
> 878 #endif
> 
> I'm not sure if this could be the cause of the problem. I would also
> compile libgc by hand if the trouble persists.

In neko/vm/alloc.h, prior including gc/gc.h I #define GC_THREADS which
seems the way it should work
(http://www.hpl.hp.com/personal/Hans_Boehm/gc/simple_example.html). Then
I guess that depending on the platform, GC_PTHREADS should be defined by
the GC configuration.

Nicolas

-- 
Neko : One VM to run them all
(http://nekovm.org)

Reply via email to