This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[3.3 PATCH] Fix SH bootstrap failure (PR 15120)


Hi,

I've found that the currrent 3.3-branch has a same problem in PR 15120
(3.4/3.5 SH bootstrap failure).  I thought that 3.3 is ok but it was
tested with the old binutils mistakenly.  Sorry for my mess.  A patch
below which is similar with that in
<URL:http://gcc.gnu.org/ml/gcc-patches/2004-04/msg01665.html>
fixes the problem and Mark approved it for 3.4.  It's tested with
bootstrap and regtested on 3.3 for x86-linux and sh4-linux.  Is it ok
for 3.3?

Regards,
	kaz
--
        * libtool.m4 (lt_cv_deplibs_check_method): Use pass_all on sh*.
        * */configure: Rebuilt.

diff -uprN ORIG/gcc-3.3/libtool.m4 LOCAL/gcc-3.3/libtool.m4
--- ORIG/gcc-3.3/libtool.m4	2003-09-09 17:04:17.000000000 +0900
+++ LOCAL/gcc-3.3/libtool.m4	2004-05-12 10:16:06.000000000 +0900
@@ -678,7 +678,7 @@ irix5* | irix6*)
 # This must be Linux ELF.
 linux-gnu*)
   case $host_cpu in
-  alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
+  alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* | sh* )
     lt_cv_deplibs_check_method=pass_all ;;
   *)
     # glibc up to 2.1.1 does not perform some relocations on ARM


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]