public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* fix darwin boostrap breakage
@ 2011-06-16 19:50 Mike Stump
  2011-06-16 20:35 ` Jack Howarth
  2011-06-16 21:47 ` Mike Stump
  0 siblings, 2 replies; 3+ messages in thread
From: Mike Stump @ 2011-06-16 19:50 UTC (permalink / raw)
  To: gcc-patches List

[-- 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);

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-06-16 20:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-16 19:50 fix darwin boostrap breakage Mike Stump
2011-06-16 20:35 ` Jack Howarth
2011-06-16 21:47 ` Mike Stump

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).