From: Nicolas B. <Nic...@ma...> - 2011-08-12 16:40:29
|
Hi Rainer, We apparently have been facing the same issue on the same day... Though I cannot really explain where it comes from exactly (and how I got there), I visited the following link: http://gcc.gnu.org/ml/gcc-patches/2010-10/msg01982.html and adapted the information in there to write the following patch (it is for gcc-4.6.1, not 4.6.2 but the file should be the same): --- gcc-4.6.1.orig/gcc/ada/gcc-interface/Makefile.in 2011-08-12 17:25:16.000000000 +0200 +++ gcc-4.6.1/gcc/ada/gcc-interface/Makefile.in 2011-02-08 23:55:57.000000000 +0100 @@ -1641,11 +1641,13 @@ else LIBGNAT_TARGET_PAIRS += \ system.ads<system-mingw-x86_64.ads + EH_MECHANISM=-gcc endif else ifeq ($(strip $(MULTISUBDIR)),/64) LIBGNAT_TARGET_PAIRS += \ system.ads<system-mingw-x86_64.ads + EH_MECHANISM=-gcc else LIBGNAT_TARGET_PAIRS += \ system.ads<system-mingw.ads It solved the problem for me and, at least on a few small samples, the exceptions appear to be correctly handled. Note that you will have to apply the patch and rebuild the cross toolchain before being able to build the native toolchain. Best regards Nicolas |