[kaffe] netbsd/ppc endianness problems

Guilhem Lavaux guilhem at kaffe.org
Sat Jun 25 12:41:40 PDT 2005


On Sat, 2005-06-25 at 11:36 +0000, Riccardo wrote:
> Hello,
> 

Hi Riccardo,

> 
> I was building on netbsd ppc an intrp+jthread version (since pthreads 
> are flawed in the kernel according to Guilhem)
> 
> In file included from ../../../../kaffe/libraries/clib/fdlibm/mprec.h:34,
>                  from ../../../../kaffe/libraries/clib/fdlibm/dtoa.c:29:
> ./../../../kaffe/libraries/clib/fdlibm/ieeefp.h:160:2: #error Endianess 
> not declared!!
> In file included from ../../../../kaffe/libraries/clib/fdlibm/dtoa.c:29:
> ./../../../kaffe/libraries/clib/fdlibm/mprec.h:75: error: parse error 
> before "one"
> ./../../../kaffe/libraries/clib/fdlibm/mprec.h:75: warning: type 
> defaults to `int' in declaration of `IEEE_8087'
> ./../../../kaffe/libraries/clib/fdlibm/mprec.h:75: warning: type 
> defaults to `int' in declaration of `IEEE_MC68k'
> ./../../../kaffe/libraries/clib/fdlibm/mprec.h:75: warning: type 
> defaults to `int' in declaration of `VAX'
> ./../../../kaffe/libraries/clib/fdlibm/mprec.h:75: warning: type 
> defaults to `int' in declaration of `or'
> ./../../../kaffe/libraries/clib/fdlibm/mprec.h:75: error: parse error 
> before "IBM"
> ./../../../kaffe/libraries/clib/fdlibm/mprec.h:86: error: parse error 
> before '}' token
> ./../../../kaffe/libraries/clib/fdlibm/dtoa.c: In function `_Jv_dtoa_r':
> 
> 
> Darn, I thought Guilhem fixed and commited this. Or possibly he fixed 
> and didn't commit and thus I wiped out his fix during a cvs update...
> 

This is the second solution. ;) I know what I've done though. But it is
a generic fix for kaffe build structure and maybe Classpath's hackers
are insterested in something more convenient to them to fix the same
thing.

Guilhem.

> -R
> 
> 
> _______________________________________________
> kaffe mailing list
> kaffe at kaffe.org
> http://kaffe.org/cgi-bin/mailman/listinfo/kaffe




More information about the kaffe mailing list