delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/02/24/10:36:27

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=1.6 required=5.0 tests=AWL,BAYES_00,RDNS_DYNAMIC,TVD_RCVD_IP,TW_YG
X-Spam-Check-By: sourceware.org
Message-ID: <4F47AE61.6040604@codeplay.com>
Date: Fri, 24 Feb 2012 15:36:01 +0000
From: Paul Keir <paul AT codeplay DOT com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120216 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>
In-Reply-To: <4F47A570.3090507@gmail.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

echo $? returns 1 after using gcc.


On 24/02/2012 14:57, Dave Korn wrote:
> 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


--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019