X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,TW_YG X-Spam-Check-By: sourceware.org Received-SPF: pass (google.com: domain of dave DOT korn DOT cygwin AT gmail DOT com designates 10.216.134.157 as permitted sender) client-ip=10.216.134.157; Authentication-Results: mr.google.com; spf=pass (google.com: domain of dave DOT korn DOT cygwin AT gmail DOT com designates 10.216.134.157 as permitted sender) smtp.mail=dave DOT korn DOT cygwin AT gmail DOT com; dkim=pass header.i=dave DOT korn DOT cygwin AT gmail DOT com Message-ID: <4F47A570.3090507@gmail.com> Date: Fri, 24 Feb 2012 14:57:52 +0000 From: Dave Korn User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) 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> In-Reply-To: <4F479609.6080507@codeplay.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 On 24/02/2012 13:52, Paul Keir wrote: > Thanks. No, it's not full. The permissions are: > drwxrwxrwt+ 1 Paul root 0 Feb 24 13:36 tmp > and I can create the same file manually. Oh well, always worth checking the basics first, but no real surprise! > The output of gcc -v hello.c is attached. I am running Windows 7 > Professional - Service Pack 1. > > I'm afraid I can't send the output of cygcheck to the mailing list for > confidentiality reasons. I could either send it to you directly, or > perhaps run cygcheck in a way to generate less data. If you're that worried I don't mind if you'd rather send it to me offlist, go ahead, but it's not like you know me well enough to trust either, so I'd suggest you redact any sensitive data (user names? passwords in environment vars?) before posting it either way. > By the way I get > the following errors from cygcheck, only when I redirect the output: > > /usr/bin/cygrunsrv: warning: OpenService failed for 'DcomLaunch': Win32 > error 5 > Access is denied. > /usr/bin/cygrunsrv: warning: OpenService failed for 'ose': Win32 error 5 > Access is denied. > /usr/bin/cygrunsrv: warning: OpenService failed for 'osppsvc': Win32 > error 5 > Access is denied. > /usr/bin/cygrunsrv: warning: OpenService failed for 'pla': Win32 error 5 > Access is denied. > /usr/bin/cygrunsrv: warning: OpenService failed for 'QWAVE': Win32 error 5 > Access is denied. > /usr/bin/cygrunsrv: warning: OpenService failed for 'RpcEptMapper': > Win32 error 5 > Access is denied. > /usr/bin/cygrunsrv: warning: OpenService failed for 'RpcSs': Win32 error 5 > Access is denied. That's not unexpected if you're running under a non-administrative account. There was nothing unusual in the output from "gcc -v". If the cygcheck output doesn't show anything, I'll have to get you to run cc1.exe under strace. However, before we do that, there's one other thing I forgot to ask: what's the exit status after gcc fails? "echo $?" should show it, assuming you're using bash. 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