gupascal / distcc

distcc: a fast, free distributed C/C++ compiler. Automatically exported from code.google.com/p/distcc
GNU General Public License v2.0
0 stars 0 forks source link

Failed run under cygwin environment #92

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Answering the following questions is a big help:

1.distcc 3.2rc1
2. cc (GCC) 4.5.3
   CYGWIN_NT-5.1 whitexp 1.7.9(0.237/5/3) 2011-03-29 10:10 i686 Cygwin

3. during run of: pump make -j6 CC=distcc

4.output:
__________Using distcc-pump from /usr/local/bin
      4 [main] python2.6 3788 G:\cygwin\bin\python2.6.exe: *** fatal error - unable to remap \\?\G:\cygwin\usr\local\lib\python2.6\site-packages\include_server\distcc_pump_c_extensions.dll to same address as parent: 0x18B80000 != 0x68000000
Stack trace:
Frame     Function  Args
0022B218  6102796B  (0022B218, 00000000, 00000000, 00000000)
0022B508  6102796B  (6117EC60, 00008000, 00000000, 61180977)
0022C538  61004F1B  (611A7FAC, 612452CC, 18B80000, 68000000)
End of stack trace
      4 [main] python2.6 3160 fork: child 3788 - died waiting for dll loading, errno 11
Traceback (most recent call last):
  File "/usr/local/lib/python2.6/site-packages/include_server/include_server.py", line 687, in <module>
    Main()
  File "/usr/local/lib/python2.6/site-packages/include_server/include_server.py", line 640, in Main
    pid = os.fork()
OSError: [Errno 11] Resource temporarily unavailable
__________Expected a socket at '/tmp/distcc-pump.7IzbCk/socket'
__________Could not start distcc-pump include server
__________Warning: distcc-pump include server failed; running unpumped
__________Found 2 available distcc servers

Original issue reported on code.google.com by omagalda...@gmail.com on 21 Jan 2012 at 7:40

GoogleCodeExporter commented 9 years ago
Google search for "unable to remap dll to same address as parent" pulls up

  http://www.mylifestartingup.com/2009/04/fatal-error-unable-to-remap-to-same.html

which has a solution.  (This problem is a Cygwin issue, not something specific 
to distcc.)

Original comment by fergus.h...@gmail.com on 25 Jan 2012 at 12:56