delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/12/15/23:23:03

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Reply-To: Cygwin List <cygwin AT cygwin DOT com>
Message-Id: <6.2.0.14.0.20041215231029.04fc6008@pop.prospeed.net>
Date: Wed, 15 Dec 2004 23:17:24 -0500
To: Adam McKee <adam_m_mckee AT yahoo DOT ca>, Cygwin List <cygwin AT cygwin DOT com>
From: Larry Hall <lh-no-personal-replies-please AT cygwin DOT com>
Subject: Re: c++ code executes very slowly - sjlj EH to blame?
In-Reply-To: <20041216031751.39103.qmail@web52503.mail.yahoo.com>
References: <6 DOT 2 DOT 0 DOT 14 DOT 0 DOT 20041215193920 DOT 04854748 AT pop DOT prospeed DOT net> <20041216031751 DOT 39103 DOT qmail AT web52503 DOT mail DOT yahoo DOT com>
Mime-Version: 1.0

At 10:17 PM 12/15/2004, you wrote:
>Hi Larry,
>
>Thanks for your reply.
>About the messages you referred me to:
>
>///////////////////////////////////////////////////////
>
>http://www.cygwin.com/ml/cygwin/2004-11/msg00962.html
>
>His situation is similar in terms of symptoms, but my
>test program (that throws an exception and tries to
>catch it) doesn't have any callbacks.


True but the way I read that conversation was that DWARF2
EH worked if callbacks weren't used or would work with 
callbacks so long as -fexceptions was used.  Maybe I read
that incorrectly though.


>///////////////////////////////////////////////////////
>
>http://www.cygwin.com/ml/cygwin/2004-11/msg01017.html
>
>This message seems to be talking about DWARF2 debug
>output.  Or does -gdwarf-2 have any effect on EH?


As you can see, I didn't do *any* weeding of results. ;-)


>///////////////////////////////////////////////////////
>
>My goal is to build gcc/g++ that use Dwarf2 EH.  A
>compiler with working EH will be able to run my test
>program without aborting.  So far I have built several
>versions of gcc, all of which have the abort() EH,
>which is equivalent to having _no_ EH in practical
>terms.
>
>Maybe Danny Smith has some thoughts about this, since
>he has apparently been at least partially successful
>in getting DWARF2 EH to work on cygwin.


Yes, I expect he'll chime in.


>Another question for anyone at all: any ideas why sjlj
>is so crap-tastically slow on cygwin?  I can't believe
>that sjlj EH has nearly such a huge hit on other
>targets.  If sjlj it is the sole perpetrator of the
>slowdown, then it is doing a very very effective job
>of slowing things down.


You might want to check out the gcc list too.  There are
apparently issues with sjlj that transcend Cygwin and Windows
targets.  Perhaps crap-tastically poor performance is one of
those things as well. ;-)


--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746                     


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019