From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23999 invoked by alias); 18 Dec 2008 02:42:07 -0000 Received: (qmail 23908 invoked by uid 22791); 18 Dec 2008 02:42:06 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from yx-out-1718.google.com (HELO yx-out-1718.google.com) (74.125.44.152) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 18 Dec 2008 02:41:31 +0000 Received: by yx-out-1718.google.com with SMTP id 36so82967yxh.26 for ; Wed, 17 Dec 2008 18:41:28 -0800 (PST) Received: by 10.151.150.20 with SMTP id c20mr2538436ybo.139.1229568088673; Wed, 17 Dec 2008 18:41:28 -0800 (PST) Received: by 10.151.131.12 with HTTP; Wed, 17 Dec 2008 18:41:28 -0800 (PST) Message-ID: Date: Thu, 18 Dec 2008 02:42:00 -0000 From: "Andrew Pinski" To: "GCC Patches" , "Java Patch List" , libstdc++ Subject: Re: [PATCH] Fix PR target/38300 libstdc++ and libgcj contain a reference to _Unwind_GetIPInfo for darwin before 9 In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_34296_23722750.1229568088677" References: Mailing-List: contact java-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-patches-owner@gcc.gnu.org X-SW-Source: 2008-q4/txt/msg00058.txt.bz2 ------=_Part_34296_23722750.1229568088677 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Content-length: 1007 On Fri, Nov 28, 2008 at 6:43 PM, Andrew Pinski wrote: > Hi, > The problem here is after the fix for PR 27880, libstc++ and libgcj > started to have a reference to _Unwind_GetIPInfo for darwin. Darwin 8 > and before did not have _Unwind_GetIPInfo in its shared library > version of libgcc (this is a decision made by the target maintainers > and was a deliberate one at that). I fixed it by saying darwin 8 and > before does not have _Unwind_GetIPInfo in GCC_CHECK_UNWIND_GETIPINFO. > > OK? Bootstrapped and tested on i386-darwin8.11 with no regressions > (plus it fixes the bootstrap failure I was having). > Here is updated patch which takes into the comments to the patch in the bug report. OK? Bootstrapped and tested on i386-darwin8.11 with no regressions. config/ChangeLog: * unwind_ipinfo.m4: Darwin before 9 does not have _Unwind_GetIPInfo. libjava/ChangeLog: * configure: Regenerate. libstdc++/ChangeLog: * configure: Regenerate. gcc/ChangeLog: * configure: Regenerate. ------=_Part_34296_23722750.1229568088677 Content-Type: text/plain; name=fixdarwin.diff.txt Content-Transfer-Encoding: base64 X-Attachment-Id: f_fout317e1 Content-Disposition: attachment; filename=fixdarwin.diff.txt Content-length: 842 SW5kZXg6IHVud2luZF9pcGluZm8ubTQKPT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PQotLS0gdW53aW5kX2lwaW5mby5tNAkocmV2aXNpb24gMTQyODAwKQorKysg dW53aW5kX2lwaW5mby5tNAkod29ya2luZyBjb3B5KQpAQCAtMjIsNyArMjIs MTMgQEAgQUNfREVGVU4oW0dDQ19DSEVDS19VTldJTkRfR0VUSVBJTkZPXSwg WwogICAgICAgKikgaGF2ZV91bndpbmRfZ2V0aXBpbmZvPXllcyA7OwogICAg IGVzYWMKICAgZWxzZQotICAgICBoYXZlX3Vud2luZF9nZXRpcGluZm89eWVz CisgICAgIyBEYXJ3aW4gYmVmb3JlIHZlcnNpb24gOSBkb2VzIG5vdCBoYXZl IF9VbndpbmRfR2V0SVBJbmZvLgorICAgIGNoYW5nZXF1b3RlKCwpCisgICAg Y2FzZSAke3RhcmdldH0gaW4KKyAgICAgICotKi1kYXJ3aW5bMy04XXwqLSot ZGFyd2luWzMtOF0uKikgaGF2ZV91bndpbmRfZ2V0aXBpbmZvPW5vIDs7Cisg ICAgICAqKSBoYXZlX3Vud2luZF9nZXRpcGluZm89eWVzIDs7CisgICAgZXNh YworICAgIGNoYW5nZXF1b3RlKFssXSkKICAgZmkKIAogICBpZiB0ZXN0IHgk aGF2ZV91bndpbmRfZ2V0aXBpbmZvID0geHllczsgdGhlbgo= ------=_Part_34296_23722750.1229568088677--