race issue on configure

Marco Atzeri marco.atzeri@gmail.com
Tue Jan 10 10:24:00 GMT 2017


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



More information about the Cygwin mailing list