* toplevel libgcc md-unwind-support.h change breaks build
@ 2011-06-09 0:52 David Miller
2011-06-09 7:42 ` Rainer Orth
0 siblings, 1 reply; 3+ messages in thread
From: David Miller @ 2011-06-09 0:52 UTC (permalink / raw)
To: gcc-patches; +Cc: ro
The bootstrap breaks in stage1 when trying to build libgcc for
multilib (this is sparc-unknown-linux with "--enable-targets=all"):
make[3]: Leaving directory `/home/davem/src/GIT/GCC/build-sparc-linux/gcc'
mkdir -p -- sparc-unknown-linux-gnu/libgcc
Checking multilib configuration for libgcc...
Configuring stage 1 in sparc-unknown-linux-gnu/libgcc
configure: creating cache ./config.cache
...
checking for __attribute__((visibility("hidden")))... yes
checking whether the target assembler supports thread-local storage... yes
checking whether the thread-local storage support is from emutls... no
configure: updating cache ./config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: linking ../../../gcc/libgcc/config/sparc/linux.h to md-unwind-support.h
config.status: error: ../../../gcc/libgcc/config/sparc/linux.h: file not found
make[2]: *** [configure-stage1-target-libgcc] Error 1
make[2]: Leaving directory `/home/davem/src/GIT/GCC/build-sparc-linux'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/home/davem/src/GIT/GCC/build-sparc-linux'
make: *** [all] Error 2
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"
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: toplevel libgcc md-unwind-support.h change breaks build
2011-06-09 0:52 toplevel libgcc md-unwind-support.h change breaks build David Miller
@ 2011-06-09 7:42 ` Rainer Orth
2011-06-09 7:48 ` David Miller
0 siblings, 1 reply; 3+ messages in thread
From: Rainer Orth @ 2011-06-09 7:42 UTC (permalink / raw)
To: David Miller; +Cc: gcc-patches
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: toplevel libgcc md-unwind-support.h change breaks build
2011-06-09 7:42 ` Rainer Orth
@ 2011-06-09 7:48 ` David Miller
0 siblings, 0 replies; 3+ messages in thread
From: David Miller @ 2011-06-09 7:48 UTC (permalink / raw)
To: ro; +Cc: gcc-patches
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-06-09 7:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-09 0:52 toplevel libgcc md-unwind-support.h change breaks build David Miller
2011-06-09 7:42 ` Rainer Orth
2011-06-09 7:48 ` David Miller
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).