This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


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: PATCH: fix build problem on spu


newlib-owner@sourceware.org wrote on 10/08/2007 06:51:48 PM:

> On Tue, Oct 09, 2007 at 11:29:55AM +1000, Ben Elliston wrote:
> > I'm not quite sure if this ever worked, but building newlib with
> > --target=spu fails because `vector' is not defined early enough.
> > spu_intrinsics.h must be included before simdmath.h, which is needed 
for
> > the vector -> __vector defintion.
> > 
> > OK for mainline?  I'd commit it as obvious, but as the problem seems
> > equally obvious, I'm worried that I have overlooked something. :-)
> 
> I don't get any compile errors. Also, we should have been building
> internally with this for quite a while.
> 
> What were your compile errors?

And what version of the compiler are you using?  Right now the FSF 
mainline does not support the context sensative vector keyword so right 
now Ben's fix is correct for the newer versions of the compiler :).

Thanks,
Andrew Pinski


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