[linux-sh:03275] Re: gcc-3.4.1
R Vijay <[email protected]> Mon, 5 Jul 2004 23:34:28 -0700 (PDT)
| Newsgroups | gmane.linux.ports.sh.general,gmane.linux.ports.sh.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi all, Does gcc-.3.4.1 got integer division problem solved? ( with 3.2.3 the __udivsi3_i4 and __sdivi3_i4, there were many things to go with) regards, Vijay Kaz Kojima <[email protected]> wrote: 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 --------------------------------- Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages!