X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 tests=AWL,BAYES_40,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,TW_GC,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Subject: ld: fatal error - cmalloc would have returned NULL From: "Yaakov (Cygwin/X)" To: cygwin AT cygwin DOT com Content-Type: text/plain; charset="UTF-8" Date: Mon, 27 Dec 2010 21:42:24 -0600 Message-ID: <1293507744.5352.9.camel@YAAKOV04> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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