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] |
Joel,
I tried building the latest newlib with the latest FSF gcc and encountered a few compile time errors.
There are a few uses of Altivec style initializers still in the code.
There is a use of "vector" as a keyword which is implemented as a define in spu_intrinsics.h, which is not included in that case. It is better to use "__vector".
Also, there is an issue with uses of size_t, which is defined as a long int. For certain intrinsics, like spu_splats(), a long type is considered ambiguous, and the compiler will generate an error. The specification of the intrinsics, could be extended to handle long, and I'll raise that as a possiblitiy with the 3C group. But you might want to fix the cases where it occurs anyway.
I've included a patch below which identifies the places which cause
problems.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |