------- Comment #5 from howarth at nitro dot med dot uc dot edu  2008-12-05 
17:30 -------
Andrew,
    This last patch would still be problematic since it will not catch targets
set to *-*-darwin8 rather than *-*-darwin8.5. A better fix would be to use the
approach from...

------------------------------------------------------------------------
r142417 | janis | 2008-12-03 18:41:46 -0500 (Wed, 03 Dec 2008) | 2 lines

        * g++.old-deja/g++.eh/badalloc1.C: Reinstate XFAIL for Darwin 3-7.

...and use a patch like....

Index: unwind_ipinfo.m4
===================================================================
--- unwind_ipinfo.m4    (revision 142255)
+++ unwind_ipinfo.m4    (working copy)
@@ -22,7 +22,11 @@ AC_DEFUN([GCC_CHECK_UNWIND_GETIPINFO], [
       *) have_unwind_getipinfo=yes ;;
     esac
   else
-     have_unwind_getipinfo=yes
+    # Darwin before version 9 does not have _Unwind_GetIPInfo.
+    case ${target} in
+      *-*-darwin[3-8]*) have_unwind_getipinfo=no ;;
+      *) have_unwind_getipinfo=yes ;;
+    esac
   fi

   if test x$have_unwind_getipinfo = xyes; then

...which would work until we reach darwin30.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38300

Reply via email to