Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Oct 2002 20:10:56 -0400
From:      "Kevin B. Hendricks" <kevin.hendricks@sympatico.ca>
To:        Martin Blapp <mb@imp.ch>, Alexander Kabaev <ak03@gte.com>
Cc:        <dev@porting.openoffice.org>, <openoffice@FreeBSD.ORG>, <kan@FreeBSD.ORG>
Subject:   Re: [porting-dev] FreeBSD: Uncatched exception problem
Message-ID:  <200210102010.56071.kevin.hendricks@sympatico.ca>
In-Reply-To: <20021011004639.F15308-100000@levais.imp.ch>
References:  <20021011004639.F15308-100000@levais.imp.ch>

next in thread | previous in thread | raw e-mail | index | archive | help
On October 10, 2002 07:59, Martin Blapp wrote:
Hi,
 
Specifically  have you tried changing optimization levels, adding  
-fpermissive, -fexceptions, etc.

Also, what about not using -fPIC (I use that becuase it is needed on ppc 
Linux, but the x86 build doesn't always use it for some reason)?

Perhaps compiling main with -fno-exceptions and using -fexceptions on the 
two libs in the example?

I am really grasping at straws here.  Both methods in the real OOo code are 
threaded so perhaps that matters?

I will take another look at those routines to see ifanything strange might 
be done (use of alloca etc) but I can't figure out why a throw can't be 
caught by the catch just two frames up in the backtrace.  It makes no 
sense.

Kevin


> Hi Alexander, Kevin,
>
> > You should compile and link this sample using the same options OO uses
> > to compile its components. The simple case of exceptions being thrown
> > across shared libraries is working fine, I assure you.
>
> Just did that. There is no change in the behaviour. Remember that
> I also used a version of linux's unxlngi4 includefile with the same
> settings to compile OpenOffice. No way.
>
> I also tried to compile everything with -frtti, but also no help.
>
> Martin


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-openoffice" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210102010.56071.kevin.hendricks>