[kaffe] Darwin 6 JIT3 Build Error

Dalibor Topic robilad at kaffe.org
Sat Apr 2 18:36:37 PST 2005


Am Donnerstag, den 31.03.2005, 22:32 -0500 schrieb Michael Franz:
> Hi,
> 
> The Darwin6/PPC JIT3 is failing to build with this error:
> cpp0: warning: changing search order for system directory "/usr/local/include"
> cpp0: warning:   as it has already been specified as a non-system directory
> mv -f libkthread_la-lock-impl.o .libs/libkthread_la-lock-impl.o
> mv: rename libkthread_la-lock-impl.o to
> .libs/libkthread_la-lock-impl.o: No such file or directory
> gmake[3]: *** [libkthread_la-lock-impl.lo] Error 1
> 
> http://tinderbox.anholt.net/tinderbox3/showlog.pl?machine_id=19&logfile=20050331181603.log
> 

Thanks for the bug report Michael! I've reorganized a few things in
Makefile.am in there, and now it seems to get further. Currently it is
stuck on the different assember syntaxes on darwin and linux in the
exception handling code in config/powerpc/jit.h. (For whetever reason,
the assembler on linux and on darwin seems to use different conventions
for labelling registers, and none of them uses the IBM one from the ppc
manuals. Sigh.)

Maybe you could look into adding the missing 'r's for the register
names.

I've CC:ed Tim, maybe he knows if it would be possible to put the
CALL_KAFFE_EXCEPTION code into a separate assembler file, like we do for
the trampoline code, and use that instead. A separate assembler file can
be made to work on both platforms, it's just gcc assembler that's
impossible to get right, afaict.

cheers,
dalibor topic






More information about the kaffe mailing list