public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
To: David Miller <davem@davemloft.net>
Cc: gcc-patches@gcc.gnu.org
Subject: Re: toplevel libgcc md-unwind-support.h change breaks build
Date: Thu, 09 Jun 2011 07:42:00 -0000	[thread overview]
Message-ID: <yddfwnjfohc.fsf@manam.CeBiTec.Uni-Bielefeld.DE> (raw)
In-Reply-To: <20110608.172621.830605493801954726.davem@davemloft.net> (David	Miller's message of "Wed, 08 Jun 2011 17:26:21 -0700 (PDT)")

David Miller <davem@davemloft.net> writes:

> It's using "linux.h" instead of "linux-unwind.h" for whatever reason.
>
> So we need something like this?
>
> diff --git a/libgcc/config.host b/libgcc/config.host
> index 24282e1..713b2a9 100644
> --- a/libgcc/config.host
> +++ b/libgcc/config.host
> @@ -600,7 +600,7 @@ sparc-*-elf*)
>  sparc-*-linux*)		# SPARC's running GNU/Linux, libc6
>  	extra_parts="$extra_parts crtfastmath.o"
>  	tmake_file="${tmake_file} t-crtfm"
> -	md_unwind_header=sparc/linux.h
> +	md_unwind_header=sparc/linux-unwind.h
>  	;;
>  sparc-*-rtems* | sparc64-*-rtems* )
>  	tmake_file="sparc/t-elf t-crtin t-crtfm t-rtems"

Of course we do.  I must have been dreaming when writing parts of this
patch.  I've now double-checked all md_unwind_header filenames, found
just another typo, and installed the following as obvious.

Sorry for the mess.

	Rainer


2011-06-09  David S. Miller  <davem@davemloft.net>
	    Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

	* config.host (sparc-*-linux*): Correct md_unwind_header
	filename.
	(s390x-ibm-tpf*): Fix typo.

Index: libgcc/config.host
===================================================================
--- libgcc/config.host	(revision 174837)
+++ libgcc/config.host	(working copy)
@@ -563,7 +563,7 @@
 	;;
 s390x-ibm-tpf*)
 	tmake_file="${tmake_file} s390/t-crtstuff s390/t-tpf"
-	md_unwind_header-s390/tpf-unwind.h
+	md_unwind_header=s390/tpf-unwind.h
 	;;
 score-*-elf)
         ;;
@@ -600,7 +600,7 @@
 sparc-*-linux*)		# SPARC's running GNU/Linux, libc6
 	extra_parts="$extra_parts crtfastmath.o"
 	tmake_file="${tmake_file} t-crtfm"
-	md_unwind_header=sparc/linux.h
+	md_unwind_header=sparc/linux-unwind.h
 	;;
 sparc-*-rtems* | sparc64-*-rtems* )
 	tmake_file="sparc/t-elf t-crtin t-crtfm t-rtems"

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University

  reply	other threads:[~2011-06-09  7:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-09  0:52 David Miller
2011-06-09  7:42 ` Rainer Orth [this message]
2011-06-09  7:48   ` David Miller

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=yddfwnjfohc.fsf@manam.CeBiTec.Uni-Bielefeld.DE \
    --to=ro@cebitec.uni-bielefeld.de \
    --cc=davem@davemloft.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).