public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "howarth at nitro dot med dot uc dot edu" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/38300] [4.4 Regression] libstdc++ and libgcj contain a reference to  _Unwind_GetIPInfo
Date: Fri, 05 Dec 2008 17:31:00 -0000	[thread overview]
Message-ID: <20081205173004.7962.qmail@sourceware.org> (raw)
In-Reply-To: <bug-38300-6528@http.gcc.gnu.org/bugzilla/>



------- 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


  parent reply	other threads:[~2008-12-05 17:31 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-28  8:53 [Bug bootstrap/38300] New: " pinskia at gcc dot gnu dot org
2008-11-28  8:53 ` [Bug bootstrap/38300] " pinskia at gcc dot gnu dot org
2008-11-28  8:54 ` pinskia at gcc dot gnu dot org
2008-11-28  9:05 ` pinskia at gcc dot gnu dot org
2008-11-28  9:33 ` schwab at suse dot de
2008-11-28 17:36 ` pinskia at gcc dot gnu dot org
2008-12-05 12:28 ` rguenth at gcc dot gnu dot org
2008-12-05 17:31 ` howarth at nitro dot med dot uc dot edu [this message]
2008-12-05 17:49 ` schwab at suse dot de
2008-12-06 16:51 ` howarth at nitro dot med dot uc dot edu
2008-12-06 16:54 ` howarth at nitro dot med dot uc dot edu
2008-12-18 12:22 ` mrs at apple dot com
2008-12-21 22:28 ` pinskia at gcc dot gnu dot org
2008-12-21 22:30 ` pinskia at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20081205173004.7962.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).