This is the mail archive of the
cygwin
mailing list for the Cygwin project.
ld: fatal error - cmalloc would have returned NULL
- From: "Yaakov (Cygwin/X)" <yselkowitz at users dot sourceforge dot net>
- To: cygwin at cygwin dot com
- Date: Mon, 27 Dec 2010 21:42:24 -0600
- Subject: ld: fatal error - cmalloc would have returned NULL
Recently I have been unable to link very large libraries, in particular
libgcj (from gcc-4.5.x) and libQtWebKit (from qt4):
collect2: ld terminated with signal 1 [Hangup]
2 [main] ld 5544 C:\cygwin17\usr\i686-pc-cygwin\bin\ld.exe: ***
fatal error - cmalloc would have returned NULL
This occurs with recent snapshots, and with both binutils 2.20.51-2 and
a self-built 2.21. I was able to successfully build gcc-4.5.1 shortly
before 03 October; I last build Qt4 in June.
I have found that this is triggered by the creation of an import library
through the -Wl,--out-implib, flag. The same link commands, minus the
-Wl,--out-implib, succeed.
Please let me know what further information I can provide.
Yaakov
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple