X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type; q=dns; s=default; b=CsFv qKit16pjYRvvKs7KlMxRtOvBpgdY/YXzc/Q7sgu9GICC9m17Dix+khmwyXxO6RmM M5FKRIikOxpBfa6SXkhufkTtViV+BZwqrLs0GsKzLcCw/v4Rhu9T0+mk7MxcWOQN kFNNKrYw7hN7T6zgwDUtEp3dYTJVvXOgNKt1uuM= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type; s=default; bh=xKCEeTLb9p gpl0RSy7UwYBF86WI=; b=KX0A+aD4vQoABbPKCxPnOHHeMsZQPd3iSF4UYibkM1 upuM58hdD6u2HHEZWEMr6zgfoz9iuRX6unV26nbAxQeXcVOkhNkXsZ+9bhbQMnLq +3dijdmkRpu8nrVMpH7KOwb5bxtrOUuckc8LuMyynisdiXDJokDiYiPXcEtfzU92 0= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=3.1 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD autolearn=no version=3.3.2 X-HELO: smtp.smtpout.orange.fr X-ME-Helo: [192.168.1.2] X-ME-Auth: ZnJhbmNpcy5hbmRyZS5rYW1wYmVsbEB3YW5hZG9vLmZy X-ME-Date: Mon, 09 Nov 2015 17:44:36 +0100 X-ME-IP: 2.5.195.151 Subject: Re: Cannot fork process for: g++: cygPocoFoundation.32.dll: Loaded to different address To: cygwin AT cygwin DOT com References: <563D9CA2 DOT 5090605 AT orange DOT fr> <563DA445 DOT 5060800 AT gmail DOT com> <563DB2AE DOT 4030304 AT tiscali DOT co DOT uk> <563E66EE DOT 9030209 AT tiscali DOT co DOT uk> <563E6A81 DOT 7070803 AT gmail DOT com> <563F661D DOT 50503 AT orange DOT fr> <563F72D7 DOT 5070908 AT cornell DOT edu> <5640BA7D DOT 2030102 AT orange DOT fr> From: Francis ANDRE Message-ID: <5640CD6F.4030003@orange.fr> Date: Mon, 9 Nov 2015 17:44:31 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <5640BA7D.2030102@orange.fr> Content-Type: multipart/mixed; boundary="------------030203060003050008080805" X-IsSubscribed: yes --------------030203060003050008080805 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit rebase -O -T list > That's works effectively but why it does not work without the -O option? Hold on, the story is not closed when doing the following steps at the console, it works find . -name "*.dll" > dlls rebase -O -T dlls PATH=/cygdrive/z/git/poco-1.6.2/stage/tools/PocoDoc/bin/CYGWIN/i686:/cygdrive/z/git/poco-1.6.2/stage/tools/lib/CYGWIN/i686:/cygdrive/z/git/poco-1.6.2/stage/tools/PocoDoc/bin/CYGWIN/i686:/cygdrive/z/git/poco-1.6.2/stage/tools/lib/CYGWIN/i686:/cygdrive/z/git/poco-1.6.2/release/script:/usr/local/bin:/usr/bin:/cygdrive/c/ProgramData/Oracle/Java/javapath:/cygdrive/c/Python33:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0:/cygdrive/c/Program Files/Microsoft SQL Server/110/Tools/Binn:/cygdrive/c/Program Files (x86)/Subversion/bin:/cygdrive/c/Program Files (x86)/Dr. Memory/bin:/cygdrive/c/Program Files (x86)/Skype/Phone:/cygdrive/c/Windows/system32/config/systemprofile/.dnx/bin:/cygdrive/c/Program Files/Microsoft DNX/Dnvm:/cygdrive/c/Program Files (x86)/Windows Kits/10/Windows Performance Toolkit:/cygdrive/c/Program Files (x86)/Git/bin:/cygdrive/z/git/win-flex-bison/bin/Release:/cygdrive/c/ASF/apache-maven-3.2.1/bin:/cygdrive/c/Program Files/Java/jdk1.7.0_51/bin:/cygdrive/c/ASF/apache-ant-1.9.3/bin PocoDoc --config=/cygdrive/z/git/poco-1.6.2/PocoDoc/cfg/mkdoc-poco.xml --config=/cygdrive/z/git/poco-1.6.2/stage/docbuild/PocoDoc.ini but when running the equivalent steps in a bash script, it does not work as show below -- script mkdoc joined -- Worth to mention that the binary PocoDoc is spawing a process for compiling a cpp source with g++ [FrancisANDRE AT idefix poco-1.6.2 ]$mkdoc all Building tools Configured for CYGWIN rebased /cygdrive/z/git/poco-1.6.2/stage/tools/lib/CYGWIN/i686/cygPocoCppParser.32.dll rebased /cygdrive/z/git/poco-1.6.2/stage/tools/lib/CYGWIN/i686/cygPocoCppParser.dll rebased /cygdrive/z/git/poco-1.6.2/stage/tools/lib/CYGWIN/i686/cygPocoCppParserd.32.dll rebased /cygdrive/z/git/poco-1.6.2/stage/tools/lib/CYGWIN/i686/cygPocoCppParserd.dll rebased /cygdrive/z/git/poco-1.6.2/stage/tools/lib/CYGWIN/i686/cygPocoFoundation.32.dll rebased /cygdrive/z/git/poco-1.6.2/stage/tools/lib/CYGWIN/i686/cygPocoFoundation.dll rebased /cygdrive/z/git/poco-1.6.2/stage/tools/lib/CYGWIN/i686/cygPocoFoundationd.32.dll rebased /cygdrive/z/git/poco-1.6.2/stage/tools/lib/CYGWIN/i686/cygPocoFoundationd.dll rebased /cygdrive/z/git/poco-1.6.2/stage/tools/lib/CYGWIN/i686/cygPocoJSON.32.dll rebased /cygdrive/z/git/poco-1.6.2/stage/tools/lib/CYGWIN/i686/cygPocoJSON.dll rebased /cygdrive/z/git/poco-1.6.2/stage/tools/lib/CYGWIN/i686/cygPocoJSONd.32.dll rebased /cygdrive/z/git/poco-1.6.2/stage/tools/lib/CYGWIN/i686/cygPocoJSONd.dll rebased /cygdrive/z/git/poco-1.6.2/stage/tools/lib/CYGWIN/i686/cygPocoNet.32.dll rebased /cygdrive/z/git/poco-1.6.2/stage/tools/lib/CYGWIN/i686/cygPocoNet.dll rebased /cygdrive/z/git/poco-1.6.2/stage/tools/lib/CYGWIN/i686/cygPocoNetd.32.dll rebased /cygdrive/z/git/poco-1.6.2/stage/tools/lib/CYGWIN/i686/cygPocoNetd.dll rebased /cygdrive/z/git/poco-1.6.2/stage/tools/lib/CYGWIN/i686/cygPocoUtil.32.dll rebased /cygdrive/z/git/poco-1.6.2/stage/tools/lib/CYGWIN/i686/cygPocoUtil.dll rebased /cygdrive/z/git/poco-1.6.2/stage/tools/lib/CYGWIN/i686/cygPocoUtild.32.dll rebased /cygdrive/z/git/poco-1.6.2/stage/tools/lib/CYGWIN/i686/cygPocoUtild.dll rebased /cygdrive/z/git/poco-1.6.2/stage/tools/lib/CYGWIN/i686/cygPocoXML.32.dll rebased /cygdrive/z/git/poco-1.6.2/stage/tools/lib/CYGWIN/i686/cygPocoXML.dll rebased /cygdrive/z/git/poco-1.6.2/stage/tools/lib/CYGWIN/i686/cygPocoXMLd.32.dll rebased /cygdrive/z/git/poco-1.6.2/stage/tools/lib/CYGWIN/i686/cygPocoXMLd.dll PATH=/cygdrive/z/git/poco-1.6.2/stage/tools/PocoDoc/bin/CYGWIN/i686:/cygdrive/z/git/poco-1.6.2/stage/tools/lib/CYGWIN/i686:/cygdrive/z/git/poco-1.6.2/stage/tools/PocoDoc/bin/CYGWIN/i686:/cygdrive/z/git/poco-1.6.2/stage/tools/lib/CYGWIN/i686:/cygdrive/z/git/poco-1.6.2/release/script:/usr/local/bin:/usr/bin:/cygdrive/c/ProgramData/Oracle/Java/javapath:/cygdrive/c/Python33:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0:/cygdrive/c/Program Files/Microsoft SQL Server/110/Tools/Binn:/cygdrive/c/Program Files (x86)/Subversion/bin:/cygdrive/c/Program Files (x86)/Dr. Memory/bin:/cygdrive/c/Program Files (x86)/Skype/Phone:/cygdrive/c/Windows/system32/config/systemprofile/.dnx/bin:/cygdrive/c/Program Files/Microsoft DNX/Dnvm:/cygdrive/c/Program Files (x86)/Windows Kits/10/Windows Performance Toolkit:/cygdrive/c/Program Files (x86)/Git/bin:/cygdrive/z/git/win-flex-bison/bin/Release:/cygdrive/c/ASF/apache-maven-3.2.1/bin:/cygdrive/c/Program Files/Java/jdk1.7.0_51/bin:/cygdrive/c/ASF/apache-ant-1.9.3/bin Building documentation 1.6.2-all (using /cygdrive/z/git/poco-1.6.2/PocoDoc/cfg/mkdoc-poco.xml) Cleaning build directory: /cygdrive/z/git/poco-1.6.2/stage/docbuild Copying sources Generating documentation PocoDoc --config=/cygdrive/z/git/poco-1.6.2/PocoDoc/cfg/mkdoc-poco.xml --config=/cygdrive/z/git/poco-1.6.2/stage/docbuild/PocoDoc.ini 0 [main] PocoDoc 9592 child_info_fork::abort: Z:\git\poco-1.6.2\stage\tools\lib\CYGWIN\i686\cygPocoFoundation.32.dll: Loaded to different address: parent(0x660000) != child(0x7B0000) Application: [Error] System exception: Cannot fork process for: g++ 0 [main] PocoDoc 7792 child_info_fork::abort: Z:\git\poco-1.6.2\stage\tools\lib\CYGWIN\i686\cygPocoFoundation.32.dll: Loaded to different address: parent(0x660000) != child(0x600000) Application: [Error] System exception: Cannot fork process for: g++ 0 [main] PocoDoc 8664 child_info_fork::abort: Z:\git\poco-1.6.2\stage\tools\lib\CYGWIN\i686\cygPocoFoundation.32.dll: Loaded to different address: parent(0x660000) != child(0x8D0000) Application: [Error] System exception: Cannot fork process for: g++ 0 [main] PocoDoc 11736 child_info_fork::abort: Z:\git\poco-1.6.2\stage\tools\lib\CYGWIN\i686\cygPocoFoundation.32.dll: Loaded to different address: parent(0x660000) != child(0x9B0000) Application: [Error] System exception: Cannot fork process for: g++ 0 [main] PocoDoc 7304 child_info_fork::abort: Z:\git\poco-1.6.2\stage\tools\lib\CYGWIN\i686\cygPocoFoundation.32.dll: Loaded to different address: parent(0x660000) != child(0x5E0000) > > FA >> >> Ken >> >> -- >> Problem reports: http://cygwin.com/problems.html >> FAQ: http://cygwin.com/faq/ >> Documentation: http://cygwin.com/docs.html >> Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple >> >> > > > -- > Problem reports: http://cygwin.com/problems.html > FAQ: http://cygwin.com/faq/ > Documentation: http://cygwin.com/docs.html > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > > --------------030203060003050008080805 Content-Type: text/plain; charset=UTF-8; name="mkdoc" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="mkdoc" #! /bin/sh # # $Id: //poco/1.4/release/script/mkdoc#2 $ # # mkdoc # # Create reference documentation for a POCO release. # This is a wrapper for mkdocumentation that syncs to the # Perforce head revision, reads the current # version from $POCO_BASE/VERSION and requires a release # specification (loaded from $POCO_BASE/release/spec/*.release) # as argument. # # usage: mkdoc [-l ] [] # osname=`uname -s | tr ' ' '_'` osarch=`uname -m | tr ' ' '_'` if [ ${osname:0:6} = "CYGWIN" ] ; then osname="CYGWIN" fi if [ "$POCO_BASE" = "" ] ; then echo "Error: POCO_BASE not set." exit 1 fi spec="" docConfig=$POCO_BASE/PocoDoc/cfg/mkdoc-poco.xml while [ "$1" != "" ] ; do if [ "$1" = "-C" ] ; then shift docConfig=$1 shift elif [ "$1" = "-v" ] ; then shift version=$1 shift else spec=$1 shift fi done if [ "$spec" != "" ] ; then relspec="-f release/spec/${spec}.release" tag="-$spec" reltag="-t $spec" else relspec="" reltag="" tag="" fi cd $POCO_BASE if [ ! -f VERSION ] ; then echo "Error: No VERSION file found." exit 2 fi if [ "$version" = "" ] ; then read version <$POCO_BASE/VERSION fi release=$version$tag # # Build release # echo "Building tools" tools=$POCO_BASE/stage/tools rm -rf $tools mkdir -p $tools mkrelease -o $tools $version CppParser PocoDoc cd $tools ./configure --no-tests --no-samples make -s -j8 cd $POCO_BASE if [ $osname = "Darwin" ] ; then archpath=`dirname stage/tools/PocoDoc/bin/Darwin/*/PocoDoc` osarch=`basename $archpath` fi if [ $osname = "CYGWIN" ] ; then for dll in `find $tools -name "*.dll"` ; do rebase -O $dll ; echo "rebased $dll" ; done export PATH=$tools/lib/$osname/$osarch:$PATH fi export PATH=$tools/PocoDoc/bin/$osname/$osarch:$PATH echo PATH=$PATH echo "Building documentation $release (using $docConfig)" mkdocumentation $reltag $relspec -C $docConfig -v $version --------------030203060003050008080805 Content-Type: text/plain; charset=us-ascii -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple --------------030203060003050008080805--