X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:subject:references:to:from:reply-to:message-id
	:date:mime-version:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=GWiPVj9AMyLvQptO
	ya+XgV/C1+g6eHpldixE8V9mPvIKSFusAsHCFCmQNBNdBM8Ajeae9JozW0ItiLQx
	KpBWNijqu0UWiN+NABfAufjtQSxZAlrWlQ2pV2HH0ip21TJpFsS7EhjFiDWaYXoA
	REUQrpvKFQknWbhuOyrWjHS6LIM=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:subject:references:to:from:reply-to:message-id
	:date:mime-version:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=ivV11Ta5BlOrFnyf9iOTMl
	YdFBI=; b=NTZUDXlwmmlw79oUpGs0sNXKPANpl8AAFtmHjMjHqDSKJUoj9zfWLb
	ZSKWYbvJnktZ2agkjxPYxbsWLdrwnjSQuR51zlsfmn2KTbIRwhymyS6zQA6pVHFD
	0Kae1ujAiqurX6wC1hCf1GW+GnOy4LIkpQltZHOLuRgG4wcsPaa1Q=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=1.1 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=Activity, Hx-spam-relays-external:shaw.ca, H*r:shaw.ca, H*RU:shaw.ca
X-HELO: smtp-out-no.shaw.ca
X-Authority-Analysis: v=2.2 cv=be0baKHB c=1 sm=1 tr=0 a=WqCeCkldcEjBO3QZneQsCg==:117 a=WqCeCkldcEjBO3QZneQsCg==:17 a=IkcTkHD0fZMA:10 a=cBH8EzKRnXa1GRimKLcA:9 a=QEXdDO2ut3YA:10
Subject: Re: race issue on configure
References: <599a2afe-7abe-512a-b3c4-2f9a738a9855@gmail.com> <f3d94918-c14d-0324-6e0d-0c2c36ab34d3@gmail.com> <ec7ad067-ee5e-50bf-8f7d-63bac1a8e872@gmail.com> <4ce03edc-39e8-7d29-8c2d-a7d09259fde7@gmail.com>
To: cygwin@cygwin.com
From: Brian Inglis <Brian.Inglis@SystematicSw.ab.ca>
Reply-To: Brian.Inglis@SystematicSw.ab.ca
Message-ID: <103d3f6d-9944-6b5a-69e3-623281e4059f@SystematicSw.ab.ca>
Date: Tue, 10 Jan 2017 13:43:59 -0700
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0
MIME-Version: 1.0
In-Reply-To: <4ce03edc-39e8-7d29-8c2d-a7d09259fde7@gmail.com>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-CMAE-Envelope: MS4wfHl7lMWz42TFq+EfjYZuVFdTOwt14aCEqPsAOY1R84qUdvGmCMMeTuEZjOz62UQ2maaClW1KYAvIweDeXoP5YSYQntD3fhujU4m5S209RxBrQ3cmtmZU IO2MTo3ghVKsfakBiSVOcOt31qhwg0tod8dByh4W0h03vKzYxMAH9OiyEIy2CbeM76nEjUG4G1TtuQ==
X-IsSubscribed: yes

On 2017-01-10 07:07, cyg Simple wrote:
> On 1/10/2017 9:02 AM, Marco Atzeri wrote:
>> On 10/01/2017 14:55, cyg Simple wrote:
>>> On 1/10/2017 5:24 AM, Marco Atzeri wrote:
>>>> I am noticing race problems during configure tests, on both 32
>>>> and 64 bit builds.
>>>> The effect is a random failing test as conftest.exe can not be
>>>> access by the linker.
>>> This is caused by your AV scanning the recently created
>>> conftest.exe and the fact that since the AV has it open it cannot
>>> be deleted and a new one created. Instruct your AV to ignore your
>>> work directory.
>> It is instructed to do so by long time within the limit of 
>> corporate settings...
> Maybe new policy enforcement by corporate. The only time I've seen
> this issue is related to AV having the conftest.exe file open.

May also be opened by background Windows Search/Cortana/... for 
indexing and/or that may be causing it to be rescanned - I had 
similar problems solved after disabling those search services.

Run Resource Monitor from bottom of Task Manager/Performance tab 
and watch Disk Activity pane ordered by File for interfering 
processes, and kill them if safe, disable if standalone service. 

If it's svchost or AV process, search if you can bypass or 
disable those actions or directories, or request a custom policy 
for your userid or systems as it's interfering with work. 

Security interfering with work tends to get fixed to allow work 
to be done: a lot of security policies interfere with development 
work, and have to be bypassed. 
It would be better and easier for all if they packaged the 
security policy bypasses with the development tool installs. 
I've had to jump thru a few corporate hoops to keep things kosher 
and simplify updates and use: it's often easy these days for 
developers to add zero cost, email/web supported packages to 
corporate tracking systems with yourself as in-house support: 
YMMV. ;^>

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

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

