This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

race issue on configure


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]