This is the mail archive of the cygwin@sourceware.cygnus.com 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]

Re: bug in makefiles?


In article <01BCD245.468E0460@gater.krystalbank.msk.ru>,
Sergey Okhapkin  <sos@prospect.com.ru> wrote:
>Tim Newsham wrote:
>>    I noticed that after building the cdk, if I do a
>> "make clean" in the obj/winsup directory and then do
>> a make, I get a binary that is about 250-300k bigger,
>
>run "make CFLAGS=-O2 CXXFLAGS=-O2".
>
>> and that does not behave properly.  In particular processes
>> using the bigger dll do not seem to catch signals sent
>> to them properly.  I can give a more detailed example
>> with a test cause showing the broken behavior if necessary.
>
>Looks like a gcc bug.  Cygwin.dll compiled without -O2 option sometimes
>crashes on bash's exit.

Yup.  I've noticed this too.  Also using -O3 instead of -O2 or specifying
-fomit-frame-pointer (which should provide better optimization on Intel
chips) can cause problems.
-- 
http://www.bbc.com/	cgf@bbc.com			"Strange how unreal
VMS=>UNIX Solutions	Boston Business Computing	 the real can be."
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


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