*** fork: can't reserve memory for stack 0xA0000 - 0x2A0000, Win32

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

*** fork: can't reserve memory for stack 0xA0000 - 0x2A0000, Win32

James Franco
I am attempting to build TAO Library from  Ace using Mingw. After running make I get the following. I have tried this with both mingw and Mingw64 bit.


........
........
etype_init_cs.o .shobj/be/be_visitor_valuetype/valuetype_obv_ch.o .shobj/be/be_visitor_valuetype/valuetype_obv_ci.o .shobj/be/be_visitor_valuetype/val
uetype_obv_cs.o .shobj/be/be_visitor_valuetype/valuetype_sh.o .shobj/be/be_visitor_valuetype/valuetype_ss.o .shobj/be/be_visitor_valuetype_fwd/any_op_
ch.o .shobj/be/be_visitor_valuetype_fwd/cdr_op_ch.o .shobj/be/be_visitor_valuetype_fwd/valuetype_fwd_ch.o -lTAO_IDL_FE -lACE -lws2_32 -lmswsock -liphl
papi -lwsock32 -lnetapi32
C:\msys\1.0\bin\sh.exe: *** fork: can't reserve memory for stack 0xA0000 - 0x2A0000, Win32 error 0
      0 [main] sh 9708 sync_with_child: child 10352(0x25C) died before initialization with status code 0x1
    171 [main] sh 9708 sync_with_child: *** child state waiting for longjmp
/usr/bin/sh: fork: Resource temporarily unavailable
c:/ACE/ACE_wrappers/include/makeinclude/rules.lib.GNU:242: recipe for target 'libTAO_IDL_BE.dll' failed
make32[1]: *** [libTAO_IDL_BE.dll] Error 128
make32[1]: Leaving directory 'c:/ACE/ACE_wrappers/TAO/TAO_IDL'
GNUmakefile:2259: recipe for target 'TAO_IDL_BE' failed
make32: *** [TAO_IDL_BE] Error 2

any suggestions ?

The details of my build system is as follows for mingw (32 bit)

$ gcc -v
Using built-in specs.
COLLECT_GCC=c:\mingw32\bin\gcc.exe
COLLECT_LTO_WRAPPER=c:/mingw32/bin/../libexec/gcc/mingw32/4.8.1/lto-wrapper.exe
Target: mingw32
Configured with: ../gcc-4.8.1/configure --prefix=/mingw --host=mingw32 --build=mingw32 --without-pic --enable-shared --enable-static --with-gnu-ld --e
nable-lto --enable-libssp --disable-multilib --enable-languages=c,c++,fortran,objc,obj-c++,ada --disable-sjlj-exceptions --with-dwarf2 --disable-win32
-registry --enable-libstdcxx-debug --enable-version-specific-runtime-libs --with-gmp=/usr/src/pkg/gmp-5.1.2-1-mingw32-src/bld --with-mpc=/usr/src/pkg/
mpc-1.0.1-1-mingw32-src/bld --with-mpfr= --with-system-zlib --with-gnu-as --enable-decimal-float=yes --enable-libgomp --enable-threads --with-libiconv
-prefix=/mingw32 --with-libintl-prefix=/mingw --disable-bootstrap LDFLAGS=-s CFLAGS=-D_USE_32BIT_TIME_T
Thread model: win32
gcc version 4.8.1 (GCC)

Any suggestion on how I could resolve this issue ?


------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
MinGW-users mailing list
[hidden email]

This list observes the Etiquette found at
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Also: mailto:[hidden email]?subject=unsubscribe
Reply | Threaded
Open this post in threaded view
|

Re: *** fork: can't reserve memory for stack 0xA0000 - 0x2A0000, Win32

NightStrike

Include your build environment (ie, msys/msys2/cygwin)

On May 6, 2015 4:44 PM, "James Franco" <[hidden email]> wrote:
I am attempting to build TAO Library from  Ace using Mingw. After running make I get the following. I have tried this with both mingw and Mingw64 bit.


........
........
etype_init_cs.o .shobj/be/be_visitor_valuetype/valuetype_obv_ch.o .shobj/be/be_visitor_valuetype/valuetype_obv_ci.o .shobj/be/be_visitor_valuetype/val
uetype_obv_cs.o .shobj/be/be_visitor_valuetype/valuetype_sh.o .shobj/be/be_visitor_valuetype/valuetype_ss.o .shobj/be/be_visitor_valuetype_fwd/any_op_
ch.o .shobj/be/be_visitor_valuetype_fwd/cdr_op_ch.o .shobj/be/be_visitor_valuetype_fwd/valuetype_fwd_ch.o -lTAO_IDL_FE -lACE -lws2_32 -lmswsock -liphl
papi -lwsock32 -lnetapi32
C:\msys\1.0\bin\sh.exe: *** fork: can't reserve memory for stack 0xA0000 - 0x2A0000, Win32 error 0
      0 [main] sh 9708 sync_with_child: child 10352(0x25C) died before initialization with status code 0x1
    171 [main] sh 9708 sync_with_child: *** child state waiting for longjmp
/usr/bin/sh: fork: Resource temporarily unavailable
c:/ACE/ACE_wrappers/include/makeinclude/rules.lib.GNU:242: recipe for target 'libTAO_IDL_BE.dll' failed
make32[1]: *** [libTAO_IDL_BE.dll] Error 128
make32[1]: Leaving directory 'c:/ACE/ACE_wrappers/TAO/TAO_IDL'
GNUmakefile:2259: recipe for target 'TAO_IDL_BE' failed
make32: *** [TAO_IDL_BE] Error 2

any suggestions ?

The details of my build system is as follows for mingw (32 bit)

$ gcc -v
Using built-in specs.
COLLECT_GCC=c:\mingw32\bin\gcc.exe
COLLECT_LTO_WRAPPER=c:/mingw32/bin/../libexec/gcc/mingw32/4.8.1/lto-wrapper.exe
Target: mingw32
Configured with: ../gcc-4.8.1/configure --prefix=/mingw --host=mingw32 --build=mingw32 --without-pic --enable-shared --enable-static --with-gnu-ld --e
nable-lto --enable-libssp --disable-multilib --enable-languages=c,c++,fortran,objc,obj-c++,ada --disable-sjlj-exceptions --with-dwarf2 --disable-win32
-registry --enable-libstdcxx-debug --enable-version-specific-runtime-libs --with-gmp=/usr/src/pkg/gmp-5.1.2-1-mingw32-src/bld --with-mpc=/usr/src/pkg/
mpc-1.0.1-1-mingw32-src/bld --with-mpfr= --with-system-zlib --with-gnu-as --enable-decimal-float=yes --enable-libgomp --enable-threads --with-libiconv
-prefix=/mingw32 --with-libintl-prefix=/mingw --disable-bootstrap LDFLAGS=-s CFLAGS=-D_USE_32BIT_TIME_T
Thread model: win32
gcc version 4.8.1 (GCC)

Any suggestion on how I could resolve this issue ?


------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
MinGW-users mailing list
[hidden email]

This list observes the Etiquette found at
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Also: mailto:[hidden email]?subject=unsubscribe

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
MinGW-users mailing list
[hidden email]

This list observes the Etiquette found at
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Also: mailto:[hidden email]?subject=unsubscribe