This is the mail archive of the
cygwin
mailing list for the Cygwin project.
race issue on configure
- From: Marco Atzeri <marco dot atzeri at gmail dot com>
- To: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Date: Tue, 10 Jan 2017 11:24:15 +0100
- Subject: race issue on configure
- Authentication-results: sourceware.org; auth=none
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