Send MinGW-Notify mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.osdn.me/mailman/listinfo/mingw-notify
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of MinGW-Notify digest..."
Please do not reply to this notification; the sender address is unable to
accept incoming e-mail. If you wish to unsubscribe you can do so at
https://lists.osdn.me/mailman/listinfo/mingw-notify.
Today's Topics:
1. [mingw] #38356: MSYS make fails to compile project(couldn't
commit memory for cygwin heap) (MinGW Notification List)
2. [mingw] #39859: How to Compile C Function to Directly
Executable Machine Code (MinGW Notification List)
----------------------------------------------------------------------
Message: 1
Date: Mon, 23 Dec 2019 15:13:37 -0300
From: MinGW Notification List <[email protected]>
To: OSDN Ticket System <[email protected]>
Subject: [MinGW-Notify] [mingw] #38356: MSYS make fails to compile
project(couldn't commit memory for cygwin heap)
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8
#38356: MSYS make fails to compile project(couldn't commit memory for cygwin
heap)
Open Date: 2018-06-26 05:13
Last Update: 2019-12-23 15:13
URL for this Ticket:
https://osdn.net//projects/mingw/ticket/38356
RSS feed for this Ticket:
https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=38356
---------------------------------------------------------------------
Last Changes/Comment on this Ticket:
2019-12-23 15:13 Updated by: cstrauss
Comment:
Thank you for your feedback.
This error "couldn't commit memory for cygwin heap" usually happens when the
emulated "fork" system call can't recreate the exact memory layout for a child
process.
Besides rebasing the msys-1.0.dll and running rebaseall, I can only suggest
removing any anti-virus software, since they are known to inject code into
running DLLs, causing interference with the MSYS fork mechanism.
The original implementation of "fork" in MSYS comes from the Cygwin project.
Meanwhile, Cygwin has evolved and is likely to have fewer problems regarding
this error. I would be interested to know if MSYS2 (msys2.org), which closely
tracks modern Cygwin, solves your issues. Note that MSYS2, like Cygwin, doesn't
run in Windows 95 and XP.
Regards,
Cesar
---------------------------------------------------------------------
Ticket Status:
Reporter: kmilev
Owner: cstrauss
Type: Issues
Status: Open [Owner assigned]
Priority: 5 - Medium
MileStone: (None)
Component: MSYS
Severity: 5 - Medium
Resolution: None
---------------------------------------------------------------------
Ticket details:
Hello, When i try to compile a project(big one) make always fails at some point
with the following error:
C:\MinGW\msys\1.0\bin\make.exe: *** couldn't commit memory for cygwin heap,
Win32 error 0
after starting a build again it continues and finishes the build. However in
some situations i can not "work around" this.
This is the version of MSYS: C:\windows\system32>uname -a MINGW32_NT-6.1
BGHCZC5281GJ4 1.0.19(0.48/3/2) 2016-07-13 17:45 i686 Msys
Version of MINGW: MINGW32_VERSION 5000002L
I have tried several suggestions to correct the issue: 1.tried rebasing the
msys-1.0.dll 2.tried rebaseall from rebase package 3.tried reinstalling mingw
4.tried setting max heap(peflags --cygwin-heap=2048 make.exe) from rebase
package. 5.increased the vritual paging file to 20gb. 6.checked in PATH
variable that only one MINGW path is listed. 7.upgraded mingw to latest
libraries
None of these made any difference.
Please help.
--
Ticket information of MinGW - Minimalist GNU for Windows project
MinGW - Minimalist GNU for Windows Project is hosted on OSDN
Project URL: https://osdn.net/projects/mingw/
OSDN: https://osdn.net
URL for this Ticket:
https://osdn.net/projects/mingw/ticket/38356
RSS feed for this Ticket:
https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=38356
------------------------------
Message: 2
Date: Mon, 23 Dec 2019 18:32:36 +0000
From: MinGW Notification List <[email protected]>
To: OSDN Ticket System <[email protected]>
Subject: [MinGW-Notify] [mingw] #39859: How to Compile C Function to
Directly Executable Machine Code
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8
#39859: How to Compile C Function to Directly Executable Machine Code
Open Date: 2019-12-21 05:02
Last Update: 2019-12-23 18:32
URL for this Ticket:
https://osdn.net//projects/mingw/ticket/39859
RSS feed for this Ticket:
https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=39859
---------------------------------------------------------------------
Last Changes/Comment on this Ticket:
2019-12-23 18:32 Updated by: keith
* Status Update from Open to Closed
* Resolution Update from None to Invalid
Comment:
Reply To atmax9
I'm not sure if this an issue or a feature request,...
It is neither, and consequently does not belong on an issue/feature request
tracker; please direct such enquiries to the mailing list.
---------------------------------------------------------------------
Ticket Status:
Reporter: atmax9
Owner: (None)
Type: Issues
Status: Closed
Priority: 5 - Medium
MileStone: (None)
Component: (None)
Severity: 5 - Medium
Resolution: Invalid
---------------------------------------------------------------------
Ticket details:
I'm not sure if this an issue or a feature request, but how do I convert a
function (or group thereof, with one calling the rest) into machine code that
could be directly executed by another program? It would be helpful if I could
get it in hex format.
--
Ticket information of MinGW - Minimalist GNU for Windows project
MinGW - Minimalist GNU for Windows Project is hosted on OSDN
Project URL: https://osdn.net/projects/mingw/
OSDN: https://osdn.net
URL for this Ticket:
https://osdn.net/projects/mingw/ticket/39859
RSS feed for this Ticket:
https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=39859
------------------------------
Subject: Digest Footer
_______________________________________________
MinGW-Notify mailing list
[email protected]
https://lists.osdn.me/mailman/listinfo/mingw-notify
------------------------------
End of MinGW-Notify Digest, Vol 27, Issue 4
*******************************************