[kaffe] Kaffe & -fomit-frame-pointer

Dalibor Topic robilad at yahoo.com
Fri Aug 16 02:55:10 PDT 2002

Hi Gwenole,

--- Gwenole Beauchesne <gbeauchesne at mandrakesoft.com>
> Update: the problem is genuine on some architectures
> (e.g. it has to be 
> explicitly disabled on m68k and mips it seems), but
> > Just tried on ix86 & explicit
> -fomit-frame-pointer, and it failed. :-(
> This problem was due to the following. Say,
> CLASSPATH variable is 
> already set but does not contain ".".
> BUILD_ENVIRONMENT sourced won't 
> add it since CLASSPATH is already set but will fail
> to find the class in 
> current directory.

Regarding frame pointer:
Edouard's porting kaffe document says:
 Some platforms need to setup Frame-Pointer register
when creating a new thread stack. In this case you
must provide his offset FP_OFFSET into jmp_env.

Macros SP_OFFSET and FP_OFFSET should be defined in
file config/$Khost_cpu/$Kost_os/md.h.

Regarding classpath:
Would adding "." to the classpath in respective
makefiles help?

best regards,

dalibor topic

Do You Yahoo!?
HotJobs - Search Thousands of New Jobs

More information about the kaffe mailing list