From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18901 invoked by alias); 29 Nov 2008 02:43:40 -0000 Received: (qmail 18844 invoked by uid 22791); 29 Nov 2008 02:43:39 -0000 X-Spam-Check-By: sourceware.org Received: from yx-out-1718.google.com (HELO yx-out-1718.google.com) (74.125.44.154) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 29 Nov 2008 02:43:04 +0000 Received: by yx-out-1718.google.com with SMTP id 36so652688yxh.26 for ; Fri, 28 Nov 2008 18:43:01 -0800 (PST) Received: by 10.151.9.1 with SMTP id m1mr1603579ybi.179.1227926581383; Fri, 28 Nov 2008 18:43:01 -0800 (PST) Received: by 10.151.132.7 with HTTP; Fri, 28 Nov 2008 18:43:01 -0800 (PST) Message-ID: Date: Sat, 29 Nov 2008 02:43:00 -0000 From: "Andrew Pinski" To: "GCC Patches" , "Java Patch List" , libstdc++ Subject: [PATCH] Fix PR target/38300 libstdc++ and libgcj contain a reference to _Unwind_GetIPInfo for darwin before 9 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_56441_26984427.1227926581372" 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/msg00054.txt.bz2 ------=_Part_56441_26984427.1227926581372 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Content-length: 782 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). Thanks, Andrew Pinski 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_56441_26984427.1227926581372 Content-Type: text/plain; name=fixdarwin.diff.txt Content-Transfer-Encoding: base64 X-Attachment-Id: f_fo3nr5sq0 Content-Disposition: attachment; filename=fixdarwin.diff.txt Content-length: 850 SW5kZXg6IGNvbmZpZy91bndpbmRfaXBpbmZvLm00Cj09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT0KLS0tIGNvbmZpZy91bndpbmRfaXBpbmZvLm00CShyZXZpc2lv biAxNDIyNTUpCisrKyBjb25maWcvdW53aW5kX2lwaW5mby5tNAkod29ya2lu ZyBjb3B5KQpAQCAtMjIsNyArMjIsMTMgQEAgQUNfREVGVU4oW0dDQ19DSEVD S19VTldJTkRfR0VUSVBJTkZPXSwgWwogICAgICAgKikgaGF2ZV91bndpbmRf Z2V0aXBpbmZvPXllcyA7OwogICAgIGVzYWMKICAgZWxzZQotICAgICBoYXZl X3Vud2luZF9nZXRpcGluZm89eWVzCisgICAgIyBEYXJ3aW4gYmVmb3JlIHZl cnNpb24gOSBkb2VzIG5vdCBoYXZlIF9VbndpbmRfR2V0SVBJbmZvLgorICAg IGNoYW5nZXF1b3RlKCwpCisgICAgY2FzZSAke3RhcmdldH0gaW4KKyAgICAg ICotKi1kYXJ3aW5bMS04XS4qKSBoYXZlX3Vud2luZF9nZXRpcGluZm89bm8g OzsKKyAgICAgICopIGhhdmVfdW53aW5kX2dldGlwaW5mbz15ZXMgOzsKKyAg ICBlc2FjCisgICAgY2hhbmdlcXVvdGUoWyxdKQogICBmaQogCiAgIGlmIHRl c3QgeCRoYXZlX3Vud2luZF9nZXRpcGluZm8gPSB4eWVzOyB0aGVuCg== ------=_Part_56441_26984427.1227926581372--