crosstool bug for SH4

Dan Kegel dank@kegel.com
Wed Jun 15 15:37:00 GMT 2005


Bill Traynor wrote:
> Hi Dan,
> 
> How do I submit bug reports for crosstool-0.35?

At the moment, just email them to crossgcc@sources.redhat.com
(after joining).

> In trying to build for SH4, I received:
> 
> /home/wmat/crosstool-0.35/build/sh4-dreamcast-linux-gnu/gcc-4.0.0-glibc-2.3.5/binutils-2.15/gas/config/tc-sh.h:106: error: array type has incomplete element type
> 
> 
> The offending code in tc-sh.h seems to be:
> 
> extern const struct relax_type md_relax_table[];
> #define TC_GENERIC_RELAX_TABLE md_relax_table
> 
> I'd assume that moving the array extern definition down 2 lines would
> fix this problem.

Yeah, sounds like it.  Care to create a patch?  It'd be just like
http://kegel.com/crosstool/crosstool-0.35/patches/glibc-2.3.5/glibc-2.3.4-allow-gcc-4.0-iconvdata.patch

Thanks,
Dan

-- 
Trying to get a job as a c++ developer?  See http://kegel.com/academy/getting-hired.html

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com



More information about the crossgcc mailing list