I\'m currently trying to compile gcc-4.7.0 with target of arm-eabi in MSYS (1.0.18) with gcc-4.7.2 and I getting this error:
MinGW\\msys\\1.0\\bin\\make.exe: *** couldn\'t commit memory for cygwin heap, Win32 error 487
My OS is XP SP3.
I have 2 gb of physical RAM, 400 mb of them took system etc.
I have 1 gb swap on C: and 3 gb swap on H:
I\'ve googled this, tried to rewrite this value in registry both in
HKEY_LOCAL_MACHINE\\SOFTWARE\\Cygwin
and
HKEY_LOCAL_MACHINE\\SOFTWARE\\Cygnus Solutions\\Cygwin
with creating DWORD parameter, but it seems to not affect at all. I\'ve tried different values, from 1024 to 2048 and still get this error.
I\'ve also tried to recompile MSYS dll with heap_chunk_in_mb = 1300; in shared_info::heap_chunk_size ()
It does not help too and unfortunately I can\'t use more 1300 - msys won\'t start then.
One weird thing I\'ve noticed, that with common msys-1.0.dll where heap_chunk_in_mb = 256 this error appear just once, and with recompiled - twice.
makefile, config.log and make log of gcc-4.7.0 arm-eabi that i try to compile
Please try rebasing the DLL.
https://groups.google.com/forum/#!msg/mingwusers/iaHr-fjgjTU/oDGu1FOWh3MJ
http://mingw.5.n7.nabble.com/MSYS-quot-rebase-quot-package-td26057.html
ok I've installed rebase with
mingw-get install msys-rebase-dev
tried
$ rebase -b 0x64000000 /bin/msys-1.0.dll
ReBaseImage (/usr/bin/msys-1.0.dll) failed with last error = 6
$ rebase -b 0x30000000 /bin/msys-1.0.dll
ReBaseImage (/usr/bin/msys-1.0.dll) failed with last error = 6
$ rebase -b 0x70000000 /bin/msys-1.0.dll
ReBaseImage (/usr/bin/msys-1.0.dll) failed with last error = 6
You'll need to copy it to a temporary location, rebase the copy, exit all MSYS processes and copy the rebased DLL to the bin directory.
You do not have the authority to escalate priority. This has now gone to the bottom of the pile, and if you try to escalate it again, I will delete it.
earnie, I've tried to rebase recompiled dll (with heap chunk size = 1300 mb) to 0x64000000 and it does nothing
keithmarshall, you should cool down and just setup correct permissions to not take offense on newbie users
In one of the links I gave you the suggestion was "-b 0x30000000".
As for Keith's defense, you are warned in bold red letters to not change the priority and assignment data but only on the listing page. We're limited into the controls we can give privilege, the warning text isn't carried to the edit page of the ticket unfortunately.
With msys-1.0.dll rebased to 0x30000000 MinGW unfortunately won't start at all.
I mean with recompiled dll, with heap_chunk_in_mb = 1300
And with common rebased dll too.
With common rebased dll it starts but get same error.
Let's see if Cesar has any input?
What are you mean? What logs are you need?
I mean what do you mean? What logs do you need?
I don't understand what does mean Cesar and where he has input.
Cesar (cstrauss) is the maintainer of MSYS.
Oh shame on me
There is a list of programas that are known to interfere with the operation of MSYS fork. Please try uninstalling them if you have any of them:
http://cygwin.com/faq/faq.using.html#faq.using.bloda
That list applies to MSYS as well as Cygwin because MSYS is derived from Cygwin.
Regards,
Cesar
Unfortunately from listed applications I have none installed.
I've tried to uninstall few applications - AnVir Task Manager, memoQ, Mystic Thumbnails.
But it does not affect, with any dll, at all.
I've also tried to use debug msys-1.0.dll, but then building frozen on configuration of libdecnumber on this line:
configure: creating ./config.status
Please try rebasing the entire MSYS system:
1. shutdown all MSYS processes
2. start dash (do not use bash, rxvt, or mintty)
3. execute /bin/rebaseall (in the dash window)
Does not take effect.
Here is log of rebaseall:
F:\MinGW\msys\1.0\bin>dash
$ ./rebaseall
/usr/lib/perl5/5.8/msys/auto/threads/threads.dll: skipped because not writable
/usr/lib/perl5/5.8/msys/auto/threads/shared/shared.dll: skipped because not writable
/usr/lib/perl5/5.8/msys/auto/re/re.dll: skipped because not writable
/usr/lib/perl5/5.8/msys/auto/attrs/attrs.dll: skipped because not writable
/usr/lib/perl5/5.8/msys/auto/XS/Typemap/Typemap.dll: skipped because not writable
/usr/lib/perl5/5.8/msys/auto/XS/APItest/APItest.dll: skipped because not writable
/usr/lib/perl5/5.8/msys/auto/Unicode/Normalize/Normalize.dll: skipped because not writable
/usr/lib/perl5/5.8/msys/auto/Time/HiRes/HiRes.dll: skipped because not writable
/usr/lib/perl5/5.8/msys/auto/Sys/Syslog/Syslog.dll: skipped because not writable
/usr/lib/perl5/5.8/msys/auto/Sys/Hostname/Hostname.dll: skipped because not writable
/usr/lib/perl5/5.8/msys/auto/Storable/Storable.dll: skipped because not writable
/usr/lib/perl5/5.8/msys/auto/Socket/Socket.dll: skipped because not writable
/usr/lib/perl5/5.8/msys/auto/SDBM_File/SDBM_File.dll: skipped because not writable
/usr/lib/perl5/5.8/msys/auto/PerlIO/via/via.dll: skipped because not writable
/usr/lib/perl5/5.8/msys/auto/PerlIO/scalar/scalar.dll: skipped because not writable
/usr/lib/perl5/5.8/msys/auto/PerlIO/encoding/encoding.dll: skipped because not writable
/usr/lib/perl5/5.8/msys/auto/POSIX/POSIX.dll: skipped because not writable
/usr/lib/perl5/5.8/msys/auto/Opcode/Opcode.dll: skipped because not writable
/usr/lib/perl5/5.8/msys/auto/ODBM_File/ODBM_File.dll: skipped because not writable
/usr/lib/perl5/5.8/msys/auto/NDBM_File/NDBM_File.dll: skipped because not writable
/usr/lib/perl5/5.8/msys/auto/MIME/Base64/Base64.dll: skipped because not writable
/usr/lib/perl5/5.8/msys/auto/List/Util/Util.dll: skipped because not writable
/usr/lib/perl5/5.8/msys/auto/IO/IO.dll: skipped because not writable
/usr/lib/perl5/5.8/msys/auto/GDBM_File/GDBM_File.dll: skipped because not writable
/usr/lib/perl5/5.8/msys/auto/Filter/Util/Call/Call.dll: skipped because not writable
/usr/lib/perl5/5.8/msys/auto/File/Glob/Glob.dll: skipped because not writable
/usr/lib/perl5/5.8/msys/auto/Fcntl/Fcntl.dll: skipped because not writable
/usr/lib/perl5/5.8/msys/auto/Encode/Unicode/Unicode.dll: skipped because not writable
/usr/lib/perl5/5.8/msys/auto/Encode/TW/TW.dll: skipped because not writable
/usr/lib/perl5/5.8/msys/auto/Encode/Symbol/Symbol.dll: skipped because not writable
/usr/lib/perl5/5.8/msys/auto/Encode/KR/KR.dll: skipped because not writable
/usr/lib/perl5/5.8/msys/auto/Encode/JP/JP.dll: skipped because not writable
/usr/lib/perl5/5.8/msys/auto/Encode/Encode.dll: skipped because not writable
/usr/lib/perl5/5.8/msys/auto/Encode/EBCDIC/EBCDIC.dll: skipped because not writable
/usr/lib/perl5/5.8/msys/auto/Encode/CN/CN.dll: skipped because not writable
/usr/lib/perl5/5.8/msys/auto/Encode/Byte/Byte.dll: skipped because not writable
/usr/lib/perl5/5.8/msys/auto/Digest/MD5/MD5.dll: skipped because not writable
/usr/lib/perl5/5.8/msys/auto/Devel/Peek/Peek.dll: skipped because not writable
/usr/lib/perl5/5.8/msys/auto/Devel/PPPort/PPPort.dll: skipped because not writable
/usr/lib/perl5/5.8/msys/auto/Devel/DProf/DProf.dll: skipped because not writable
/usr/lib/perl5/5.8/msys/auto/Data/Dumper/Dumper.dll: skipped because not writable
/usr/lib/perl5/5.8/msys/auto/Cwd/Cwd.dll: skipped because not writable
/usr/lib/perl5/5.8/msys/auto/ByteLoader/ByteLoader.dll: skipped because not writable
/usr/lib/perl5/5.8/msys/auto/B/C/C.dll: skipped because not writable
/usr/lib/perl5/5.8/msys/auto/B/B.dll: skipped because not writable