-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Nicolas,
Am 12.08.2011 20:57, schrieb Rainer Emrich: > Hi Nicolas, > > thanks for your answer. > > Am 12.08.2011 18:24, schrieb Nicolas Bertolotti: >> 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. > I will try this on the weekend. FYI I had a quick look into gcc trunk. It looks like the EH mechanism is set there correctly. So, it should work for trunk without patching. Best regards Rainer - ------------------------------------------------------------------------------ FREE DOWNLOAD - uberSVN with Social Coding for Subversion. Subversion made easy with a complete admin console. Easy to use, easy to manage, easy to install, easy to extend. Get a Free download of the new open ALM Subversion platform now. http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk5GRpsACgkQoUhjsh59BL69/QCdGk+CghT9BKE5gp3zdBBRaZF1 920AnjseDSFzFZjVe2Bse1Xc54CNpY51 =9iwM -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ FREE DOWNLOAD - uberSVN with Social Coding for Subversion. Subversion made easy with a complete admin console. Easy to use, easy to manage, easy to install, easy to extend. Get a Free download of the new open ALM Subversion platform now. http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public