Fatal error in forked process running GNU ARM compiler under Cygwin

0

I develop application for ARM platform using Matlab and Cygwin and GNU ARM set of tools. When I run arm-elf-gcc.exe on my source files, it returns following errors:

3 [main] arm-elf-gcc (6352) C:\cygwin\GNUARM\bin\arm-elf-gcc.exe: *** fatal error in forked process - couldn't allocate heap, Win32 error 487, base 0xCB0000, top 0xD30000, reserve_size 520192, allocsize 524288, page_const 4096
497 [main] arm-elf-gcc (6352) cygwin_exception::open_stackdumpfile: Dumping stack trace to arm-elf-gcc.exe.stackdump
  0 [main] arm-elf-gcc 1700 dofork: child -1 - forked process 6352 died unexpectedly, retry 0, exit code 0xC0000142, errno 11

That problem occurred after I reinstalled Cygwin and other dependencies for my toolbox, earlier I can build binaries without any errors. I use the newest version of Cygwin (3.0.6), 32-bit, because 64-bit is not suitable for toolbox. OS is Win10. I tried to do rebase command and even re-installing full Cygwin, but problem still occurs.

Morpheus

Posted 2019-04-11T14:49:51.140

Reputation: 1

No answers