------- Comment #11 from ktietz at gcc dot gnu dot org 2009-08-30 08:33 ------- (In reply to comment #8) > (In reply to comment #7) > > AFAICT DW2 unwind has never worked on x86_64-mingw32, which is why Kai made > > sjlj the default EH model for that target. > > http://gcc.gnu.org/ml/gcc-patches/2007-12/msg00273.html > > ok, with sjlj and shared libgcc exceptions seem to work across dlls. >
This is right, that dw2 exception handling doesn't work for x64. As the x86 is absolutely incompatible to the x64 exception handling, there is the support of SEH2 unwind-data to be added. I begun already with support on gas to generate the pdata/xdata data by pseudo-opcodes. I plan to support this feature for 4.6.x (and maybe a 4.5.x). So for now, just sjlj exception handling is possible for x64 windows. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38920