From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mx0.itk-engineering.de ([212.121.145.30]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1WcyPL-0004Ud-2B for ptxdist@pengutronix.de; Wed, 23 Apr 2014 16:44:21 +0200 Received: from swexchange01.itk.local (swexchange01.itk.local [10.61.0.10]) by mx0.itk-engineering.de (8.14.5/8.14.5) with ESMTP id s3NEiE2W029167 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for ; Wed, 23 Apr 2014 16:44:14 +0200 From: Martin Hollingsworth Date: Wed, 23 Apr 2014 14:44:14 +0000 Message-ID: <1CFDA15477ACF741AAF78FA447550B7A028DF618@swexchange01.itk.local> References: <1CFDA15477ACF741AAF78FA447550B7A028DF331@swexchange01.itk.local> <20140422110009.GA87404@euler.fritz.box> <1CFDA15477ACF741AAF78FA447550B7A028DF422@swexchange01.itk.local> <20140422122021.GA87697@euler.fritz.box> <1CFDA15477ACF741AAF78FA447550B7A028DF44D@swexchange01.itk.local> <20140422130734.GA87802@euler.fritz.box> <1CFDA15477ACF741AAF78FA447550B7A028DF487@swexchange01.itk.local> <20140422205525.GA89375@euler.fritz.box> <1CFDA15477ACF741AAF78FA447550B7A028DF5CC@swexchange01.itk.local> In-Reply-To: <1CFDA15477ACF741AAF78FA447550B7A028DF5CC@swexchange01.itk.local> Content-Language: de-DE MIME-Version: 1.0 Subject: Re: [ptxdist] how to configure perl scripting to compile with thread support? Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: "ptxdist@pengutronix.de" 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 ptxdist@pengutronix.de