public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* race issue on configure
@ 2017-01-10 10:24 Marco Atzeri
  2017-01-10 13:56 ` cyg Simple
  0 siblings, 1 reply; 5+ messages in thread
From: Marco Atzeri @ 2017-01-10 10:24 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-01-10 20:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-10 10:24 race issue on configure Marco Atzeri
2017-01-10 13:56 ` cyg Simple
2017-01-10 14:03   ` Marco Atzeri
2017-01-10 14:07     ` cyg Simple
2017-01-10 20:44       ` Brian Inglis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).