Cannot fork process for: g++: cygPocoFoundation.32.dll: Loaded to different address

Ken Brown kbrown@cornell.edu
Mon Nov 9 17:10:00 GMT 2015


On 11/9/2015 11:44 AM, Francis ANDRE wrote:
>      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

You didn't do the equivalent steps in your script.  You rebased the DLLs 
one at a time instead of all at once.  With the -O option, rebase 
doesn't record the changes to the rebase database, so there's nothing to 
prevent the new DLLs from colliding with one another.

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



More information about the Cygwin mailing list