Patchwork toplevel libgcc md-unwind-support.h change breaks build

login
register
mail settings
Submitter Rainer Orth
Date June 9, 2011, 7:33 a.m.
Message ID <yddfwnjfohc.fsf@manam.CeBiTec.Uni-Bielefeld.DE>
Download mbox | patch
Permalink /patch/99642/
State New
Headers show

Comments

Rainer Orth - June 9, 2011, 7:33 a.m.
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.
David Miller - June 9, 2011, 7:40 a.m.
From: Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Date: Thu, 09 Jun 2011 09:33:35 +0200

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

Thanks.

Patch

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"