[openbeos] Re: Misc. problems building Haiku on Linux

> > Some are having problems building the cross tools, with the build
> > failing with:
> > 
> > from /home/kane/haiku-src/buildtools/binutils/gas/app.c:30:
> > /home/kane/haiku-src/buildtools/binutils/gas/config/tc-i386.h:451:
> > error: array type has incomplete element type
> [...] 
> > This one has been reported both on Ubuntu and Fedora. Don't know 
> > which
> > versions though.
> 
> The Linux distro isn't that interesting. I expect most problems 
> depending on 
> the compiler version. I've tested things with the older gcc 3.3.4. 
> The 3.4.* 
> series is stricter and the the 4.0.* series even more so. In this 
> case I 
> suspect gcc 4 has been used. Maybe we can update our gas/binutils. 
> Oliver, 
> are you listening? Would you deem that unwise?
> 

I had that error recently.
Happened when trying to build gcc4 & binutils 2.15 with itself IIRC.
Has been fixed in 2.16(.1?), but that one doesn't compile with gcc4...
at least here.

François.


Other related posts: