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:from:subject:to:message-id:date:mime-version
	:content-type:content-transfer-encoding; q=dns; s=default; b=gbx
	w/g2eWx4gM2BrbPy+EIF0Q93hl5WORVKdHraCFmonqZh2Q/GwTwZkYnJBv3xj1Va
	wOQ+AotbWYnxcOHA3rrKEMIEAFnsTuNdar6jTSCNHdOssCUsznG/UJ90y0akef4O
	g7RzOCLTG8kNO3n0IV2N/XrjAUYNQY4DL09zHE1E=
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:from:subject:to:message-id:date:mime-version
	:content-type:content-transfer-encoding; s=default; bh=8FqmGb/CK
	zpjd0XGqMdPC9COmQc=; b=lE9cZrwSGXbTjuf/FTW9K4sOiRhGhQ5ohmV4k9yMl
	c/fcCGrnbd/V7wHIuOxzsRDas9/KrDDMgYjAokkjOrnX1YXPAYxNihzXWGD3VOf0
	MR0MYGebUWWVmCLsYCw3PUDOtPL4rUu0bTyTK5pQrXXzPhTkMZM1S8Mgdks8jJbj
	cY=
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=-0.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,KAM_ASCII_DIVIDERS,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=symantec, Symantec, prova, Hx-languages-length:1002
X-HELO: mail-wm0-f42.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=1e100.net; s=20161025;        h=x-gm-message-state:from:subject:to:message-id:date:user-agent         :mime-version:content-transfer-encoding;        bh=ggPCZcFHpHOLIgvQl1BBcArWOc26DAFlySh1iZJ65M8=;        b=bem34tvvRv5JSS6eMZ007Az6m/gSx1YZXGNMo+KTOCozdJu46GjCN7pMxdbQsqqFkR         W/8lgFo9B8pKFHyMHOndlh52DVBosTVeafso0uSxexn4RG/u1kW7181O+DvpwBDXSPwI         EOIIeLQ5cC4GMPRXtd5jYjJ42ps/b8Ligywo0NErxQ0QC2gvQEYxQDf6ZfYZ1ZNRUSZs         EyJZq15jqhrWRExvK4lCmke7KfBQRX966jSGNniXlOltTzMPjktSmjV8Ew0xGcmCdzpP         JQIEt9ivAz9Mt5+cUEN3EtcbCuvDXze1MZ0sL6ozO5Ec5JafZ+CJ46WGlEQ3iRUjJZqI         2ggg==
X-Gm-Message-State: AIkVDXLhjjYO7UihXct3DX2uEBF2nNbcqLHZD6XM17wI/fKWnGKgU56NBR98o1ZF1tSjRA==
X-Received: by 10.28.163.196 with SMTP id m187mr862758wme.6.1484043865654;        Tue, 10 Jan 2017 02:24:25 -0800 (PST)
From: Marco Atzeri <marco.atzeri@gmail.com>
Subject: race issue on configure
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Message-ID: <599a2afe-7abe-512a-b3c4-2f9a738a9855@gmail.com>
Date: Tue, 10 Jan 2017 11:24:15 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

Hi,

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.

----------------------------------------------------------------
gcc -o conftest.exe -ggdb -O2 -pipe -Wimplicit-function-declarat
ion 
-fdebug-prefix-map=/pub/devel/mutt/prova/mutt-1.7.2-1.i686/build=/usr/src/debug/mutt-1.7.2-1 
-fdebug-prefix-map=/pub/devel/mutt/prova/mutt-1.7.2-1.i686/src/mutt-1.7.2=/usr/src/debug/mutt-1.7.2-1 
   conftest.c -lslang -lm  >&5
/usr/lib/gcc/i686-pc-cygwin/5.4.0/../../../../i686-pc-cygwin/bin/ld: 
cannot open
  output file conftest.exe: Permission denied
---------------------------------------------------------------

The workaround is to remove "-pipe" before calling configure
from cygport defaults.

         CFLAGS="-ggdb -O2 -Wimplicit-function-declaration"
         CXXFLAGS="-ggdb -O2 "
         cygconf

Anyone seeing the same ?
Otherwise is a new effect from Symantec, I guess.

Regards
Marco




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

