From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8943 invoked by alias); 5 Dec 2008 17:31:34 -0000 Received: (qmail 7963 invoked by uid 48); 5 Dec 2008 17:30:04 -0000 Date: Fri, 05 Dec 2008 17:31:00 -0000 Message-ID: <20081205173004.7962.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug bootstrap/38300] [4.4 Regression] libstdc++ and libgcj contain a reference to _Unwind_GetIPInfo In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "howarth at nitro dot med dot uc dot edu" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2008-12/txt/msg00532.txt.bz2 ------- 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