public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Mike Stump <mikestump@comcast.net>
To: gcc-patches List <gcc-patches@gcc.gnu.org>
Subject: fix darwin boostrap breakage
Date: Thu, 16 Jun 2011 19:50:00 -0000	[thread overview]
Message-ID: <2A5A4F16-27E8-4F4F-A4E5-0E5CD40F9D30@comcast.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 581 bytes --]

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 applying it.  I've built cc1, which is the most I can do right now.

2011-06-16  Iain Sandoe  <iains@gcc.gnu.org>

	* config/darwin-protos.h (machopic_select_rtx_section): Move to
	inside RTX_CODE ifdef.


[-- Attachment #2: rtx.patch.txt --]
[-- Type: text/plain, Size: 1109 bytes --]

2011-06-16  Iain Sandoe  <iains@gcc.gnu.org>

	* config/darwin-protos.h (machopic_select_rtx_section): Move to
	inside RTX_CODE ifdef.

Index: config/darwin-protos.h
===================================================================
--- config/darwin-protos.h	(revision 175089)
+++ config/darwin-protos.h	(working copy)
@@ -40,6 +40,8 @@ extern rtx machopic_legitimize_pic_addre
 
 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 */
 
 #ifdef TREE_CODE
@@ -54,8 +56,6 @@ extern void machopic_finish (FILE *);
 
 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);
 
 extern section *darwin_function_section (tree, enum node_frequency, bool, bool); 
 extern void darwin_function_switched_text_sections (FILE *, tree, bool);

             reply	other threads:[~2011-06-16 19:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-16 19:50 Mike Stump [this message]
2011-06-16 20:35 ` Jack Howarth
2011-06-16 21:47 ` Mike Stump

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=2A5A4F16-27E8-4F4F-A4E5-0E5CD40F9D30@comcast.net \
    --to=mikestump@comcast.net \
    --cc=gcc-patches@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).