From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11135 invoked by alias); 16 Jun 2011 19:40:00 -0000 Received: (qmail 11126 invoked by uid 22791); 16 Jun 2011 19:39:59 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RFC_ABUSE_POST,TW_LX,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from qmta08.emeryville.ca.mail.comcast.net (HELO qmta08.emeryville.ca.mail.comcast.net) (76.96.30.80) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 16 Jun 2011 19:39:45 +0000 Received: from omta04.emeryville.ca.mail.comcast.net ([76.96.30.35]) by qmta08.emeryville.ca.mail.comcast.net with comcast id wjei1g0050lTkoCA8jfkHD; Thu, 16 Jun 2011 19:39:44 +0000 Received: from up.mrs.kithrup.com ([24.4.193.8]) by omta04.emeryville.ca.mail.comcast.net with comcast id wjfj1g0040BKwT48Qjfjbe; Thu, 16 Jun 2011 19:39:43 +0000 From: Mike Stump Content-Type: multipart/mixed; boundary=Apple-Mail-8--766497615 Subject: fix darwin boostrap breakage Date: Thu, 16 Jun 2011 19:50:00 -0000 Message-Id: <2A5A4F16-27E8-4F4F-A4E5-0E5CD40F9D30@comcast.net> To: gcc-patches List Mime-Version: 1.0 (Apple Message framework v1084) X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2011-06/txt/msg01291.txt.bz2 --Apple-Mail-8--766497615 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Content-length: 565 RIght now darwin doesn't build for me (something for goolge to find): Undefined symbols: "LPR2", referenced from: ___mulsc3 in _mulsc3_s.o ___muldc3 in _muldc3_s.o ___mulxc3 in _mulxc3_s.o I think it is due to a updated macports bit that I've not tracked down. :-( I've not seen the build failure this fixes, but others have, so I'm applyin= g it. I've built cc1, which is the most I can do right now. 2011-06-16 Iain Sandoe * config/darwin-protos.h (machopic_select_rtx_section): Move to inside RTX_CODE ifdef. --Apple-Mail-8--766497615 Content-Disposition: attachment; filename=rtx.patch.txt Content-Type: text/plain; name="rtx.patch.txt" Content-Transfer-Encoding: quoted-printable Content-length: 1234 2011-06-16 Iain Sandoe * config/darwin-protos.h (machopic_select_rtx_section): Move to inside RTX_CODE ifdef. Index: config/darwin-protos.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- config/darwin-protos.h (revision 175089) +++ config/darwin-protos.h (working copy) @@ -40,6 +40,8 @@ extern rtx machopic_legitimize_pic_addre =20 extern void machopic_asm_out_constructor (rtx, int); extern void machopic_asm_out_destructor (rtx, int); +extern section *machopic_select_rtx_section (enum machine_mode, rtx, + unsigned HOST_WIDE_INT); #endif /* RTX_CODE */ =20 #ifdef TREE_CODE @@ -54,8 +56,6 @@ extern void machopic_finish (FILE *); =20 extern int machopic_reloc_rw_mask (void); extern section *machopic_select_section (tree, int, unsigned HOST_WIDE_INT= ); -extern section *machopic_select_rtx_section (enum machine_mode, rtx, - unsigned HOST_WIDE_INT); =20 extern section *darwin_function_section (tree, enum node_frequency, bool, = bool);=20 extern void darwin_function_switched_text_sections (FILE *, tree, bool); --Apple-Mail-8--766497615--