public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jack Howarth <howarth@bromo.med.uc.edu>
To: Mike Stump <mikestump@comcast.net>
Cc: gcc-patches List <gcc-patches@gcc.gnu.org>
Subject: Re: fix darwin boostrap breakage
Date: Thu, 16 Jun 2011 20:35:00 -0000	[thread overview]
Message-ID: <20110616195323.GA16813@bromo.med.uc.edu> (raw)
In-Reply-To: <2A5A4F16-27E8-4F4F-A4E5-0E5CD40F9D30@comcast.net>

On Thu, Jun 16, 2011 at 12:39:44PM -0700, Mike Stump wrote:
> 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.  :-(

You didn't do anything nutty like install binutils ;)?

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

> 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:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-16 19:50 Mike Stump
2011-06-16 20:35 ` Jack Howarth [this message]
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=20110616195323.GA16813@bromo.med.uc.edu \
    --to=howarth@bromo.med.uc.edu \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=mikestump@comcast.net \
    /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).