> Just speculating here: Did you try to set -Duseithreads instread of 
> -Dusethreads? 
> At least in 5.18.2 these seem to be separate options. I have no idea what the 
> difference is.
Yes, I tried both separately which had no effect. 

When using both flags together perl seems to be built with threading enabled 
(perl -V gives: "useithreads=define"), but starting any of the previous 
mentioned test code snippets result in a Segmentation Fault as soon as any 
thread related feature is used.

My current make file looks like this, the only modifications from stock ptxdist 
are the -Duse(i)thread lines.
--------------
PERL_CONF_OPT   := \
        -Dusethreads -A ldflags=-pthread\
        -Duseithreads -A ldflags=-pthread\
        --prefix=/usr \
        $(CROSS_AUTOCONF_ARCH) \
        --target=$(PTXCONF_GNU_TARGET) \
        --set-ld=$(CROSS_CC)
--------------

Regards,
Martin

-- 
ptxdist mailing list
[email protected]

Reply via email to