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: gcc4 fails to build toolchain for sh3


On Wed, 1 Dec 2004, Daniel Kegel wrote:

> Robert P. J. Day wrote:
> >   just FYI, took a shot at using gcc4 for the build, and ran into: ...
> >   HOSTCC  scripts/kconfig/mconf.o
> > scripts/kconfig/mconf.c:91: error: static declaration of
> > 'current_menu' follows non-static declaration ...
> >
> > not a crosstool problem, obviously, but something gcc-3.4.2 just blows
> > by while gcc-4 is a mite pickier.
>
> Yep. Google shows that several people have run into this
> building linux-2.6 with gcc-3.5/gcc-4.0.
>
> There are some gcc-4.0 fixes in linux-2.6.9 and later;
> can you try with 2.6.9 or 2.6.10-rc2?

i already eyeballed the relevant files in 2.6.9, and they don't have
that conflict -- clearly, that was cleaned up in 2.6.9.  i'll give it
a go this evening with gcc4.  for simplicity, i'll just apply the same
patches as for 2.6.8 unless you have information to the contrary.

rday

------
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]