gcc-3.4.1 (Was: The current kernel for a Jornada 680 SH3)

Kaz Kojima <[email protected]> Tue, 06 Jul 2004 10:40:57 +0900 (JST)
Newsgroups gmane.linux.ports.sh.devel,gmane.linux.ports.sh.general
Message-ID <[email protected]>
Hi,

I wrote about a local patch for gcc-3.4.1:
>>> 3.4.1 will be the first sane compiler about java (gcj) for sh-linux,
>>> though gij (interpreter) doesn't work on this target without a tiny local
>>> patch.  I'll repost it after 3.4.1 released.  It isn't the right fix and
>>> will be never apply to mainline.  Sadly it seems the right fix is beyond
>>> me.
>>
>> If you think it belongs in crosstool, just let me know.   Thanks!
>
> Definitely.  I'll send it to you.

Now gcc-3.4.1 is released and there is a good news!  We don't require
the local patch for gij I mentioned.  It seems that the problem is solved
with changes for the generic part of compiler in the last month.

BTW, gcc-3.3.4 was also released and there is a bad news :-(  Someone
reverted wrongly a configury patch against libstdc++ for sh-linux at
the last moment.  We have to regenerate gcc-3.3.4/libstdc++-v3/configure
with autoconf 2.13 or apply the one-line patch below manually:

--- ORIG/gcc-3.3.4/libstdc++-v3/configure	2004-06-01 09:45:44.000000000 +0900
+++ LOCAL/gcc-3.3.4/libstdc++-v3/configure	2004-06-29 22:38:05.000000000 +0900
@@ -2009,7 +2009,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


Regards,
	kaz


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com