This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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

Re: crosstool bug for SH4


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


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