Here some more info I found in the meantime.
You can call "perl -V" which gives a lot of information about the build
settings.
The target system outputs:
---------
[...]
Platform:
osname=linux, osvers=current, archname=arm-linux
uname='arm-cortexa8-linux-gnueabihf'
config_args='-Dusethreads -A ldflags=-pthread --prefix=/usr
--host=arm-cortexa8-linux-gnueabihf --build=i686-host-linux-gnu
--host=arm-cortexa8-linux-gnueabihf --target=arm-cortexa8-linux-gnueabihf
--set-ld=arm-cortexa8-linux-gnueabihf-gcc --keeplog --mode=target
--target=arm-cortexa8-linux-gnueabihf --targetarch=arm-cortexa8-linux-gnueabihf'
[...]
useithreads=undef, usemultiplicity=undef
[...]
---------
As one can see from config_args the flag -Dusethreads is received, but the Perl
internal flag "useithreads" stays undef. On my host this value is "defined" and
threading works.
When you look into the config.sh file (Shortened path:
/BSP/phyCORE-AM335x-XXX/platform-XXX/build-target/perl-5.14.2/config.sh) which
is generated by perl itself during the ptxdist build process, you will find
this particular flag undef here as well.
I suppose this is the root of all evil - the perl config.sh file is not
generated correctly. The question now is why...?
Greetings,
Martin
--
ptxdist mailing list
[email protected]