Boost logo

Boost-Build :

Subject: Re: [Boost-build] Would like help debugging MinGW problem
From: Gevorg Voskanyan (v_gevorg_at_[hidden])
Date: 2010-04-20 12:50:28


Vladimir Prus wrote:
> > On Monday 19 April 2010 20:08:07 Jeremiah Willcock wrote:
> >
> > The regression
> > test libs/graph/test/graphviz_test.cpp is failing on all
> > MinGW
> > platforms by throwing an unhandled exception. The code is supposed
> > to throw an exception, but it is wrapped in a try block that
> > specifically
> > catches the exception being thrown; this code is
> > around line 193 in the
> > test case. The test passes on
> > almost all other platforms, including other
> > GCC configurations
> > Is this a problem in the
> > platform? Are there known issues with exceptions on MinGW?

[snip]

> It's possible, both
> technically and in principle,
> to force threading=multi on mingw, if folks
> familiar with mingw deem that
> reasonable. Can somebody comment on
> this?

> It appears that other libraries are also unhappy with mingw
> exceptions,
> e.g. even the simplest compiled library in boost
> is:
 
> http://tinyurl.com/y4e4krp

Just to throw a wild guess in: can this be related to the "throwing exceptions across DLL boundaries problem"? Does it work with link=static? Independent of that, does -shared-libgcc help?

Regards,
Gevorg


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk