DWARF-2 vs SjLj exception handling - poco compilation problem mingw - fedora10
Andrzej Horoszczak IDRA
ah at idra.pl
Fri Nov 14 00:03:28 UTC 2008
Rich & Levente,
Thank you for you help - I understand the tradeoffs better now.
Correct me if I am wrong but it appears that few years back Dwarf-2 was
phased out (as unreliable) in favor of SjLj, but now that problems
(hopefully) have been solved it is on a way to came back and maybe
become the standard?
I was able to build the target application with SjLj exception model in
Windows/MinGW (with TDM-GCC).
My problems is that other libraries (like boost) that have been used in
my target application were unfortunately built with DW2 exception
0x887): undefined reference to `__Unwind_Resume'
And exchanging undefined reference to "__Unwind_SjLj_Resume" for undefined reference to "__Unwind_Resume" does not help much ...
Bottom line is that unfortunately I think I just have to give up.
I do think though that during this transition period a lot of people
might run into the same problem.
I am not sure how hard it is to implement - but in situations like mine
it would help tremendously if your Fedora/MinGW platform supported a
choice of exception handling.
So, I would second Levente's suggestion.
By the way I can confirm that POCO is correctly built in Fedora/MinGW -
the test application seems to run fine in Vista.
More information about the mingw