X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=1.4 required=5.0 tests=AWL,BAYES_00,RDNS_DYNAMIC,TVD_RCVD_IP,TW_YG X-Spam-Check-By: sourceware.org Message-ID: <4F4BAB59.7080300@codeplay.com> Date: Mon, 27 Feb 2012 16:12:09 +0000 From: Paul Keir User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120222 Thunderbird/11.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: GCC fatal error: can't open /tmp/ccc6IHTT.s for writing References: <4F4756DD DOT 30203 AT codeplay DOT com> <4F477DBD DOT 4050502 AT gmail DOT com> <4F479609 DOT 6080507 AT codeplay DOT com> <4F47A570 DOT 3090507 AT gmail DOT com> <4F47AE61 DOT 6040604 AT codeplay DOT com> <4F47BC24 DOT 5020108 AT gmail DOT com> In-Reply-To: <4F47BC24.5020108@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed 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 Thanks Dave, it's fixed. It looks like the problem was the cygwin1.dll in C:\Windows\SYSTEM. I have no idea why that was there. (I am not the first to use this machine.) As a precaution I have also removed C:\Users\XXXXXXXX\home\apps\gcc-4.7-20120128\bin from my PATH. I had built it with --program-suffix=-4.7, but the following potentially conflicting files remain there with their names untouched: cyggfortran-3.dll cygssp-0.dll cygstdc++-6.dll Thanks again. On 24/02/2012 16:34, Dave Korn wrote: > On 24/02/2012 15:36, Paul Keir wrote: >> echo $? returns 1 after using gcc. > Right, that's "helpful" of it! That's clearly just a fail status but not an > errno value. > > Anyway, I think your cygcheck reveals the problem. You have multiple > cygwin1.dlls of different versions in your path at the same time. You also > have a homebrew build of gcc 4.7 in your path, and it's using SJLJ exceptions > rather than DW2, which means that its runtime DLLs will be incompatible with > the standard system ones. > > Try removing the cygwin1.dll from C:\Windows\SYSTEM, and cutting > C:\Users\XXXXXXXX\home\apps\gcc-4.7-20120128\bin out of your PATH, and see if > that fixes it. > > cheers, > DaveK > > -- > 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 -- 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