libjava no-longer compiler if INTERPRETER not defined

Andreas Tobler
Mon Mar 14 13:56:00 GMT 2005

Richard Earnshaw wrote:
> Bryce,
> This patch
> 2005-03-10  Bryce McKinlay  <>
>         New Stack Trace infrastructure.
>         * (libgcj0_convenience_la_SOURCES): Add
>         (gnu/gcj/runtime/ Removed.
>         (ordinary_java_source_files): Remove obsolete files.
>         (nat_source_files): Remove obsolete files. Add
>         * (fallback_backtrace_h): Set backtrace header
>         for mingw and cygwin targets. 
> causes build failures on all ARM platforms because INTERPERTER is not
> defined.  We thus get the following errors when compiling
> /home/rearnsha/gnusrc/egcs-cross/libjava/include/java-stack.h:74: error: ISO C++ forbids declaration of '_Jv_InterpFrame' with no type
> /home/rearnsha/gnusrc/egcs-cross/libjava/include/java-stack.h:74: error: expected ';' before '*' token
> /home/rearnsha/gnusrc/egcs-cross/libjava/include/java-stack.h: In constructor '_Jv_UnwindState::_Jv_UnwindState(jint)':
> /home/rearnsha/gnusrc/egcs-cross/libjava/include/java-stack.h:88: error: 'interp_frame' was not declared in this scope
> /home/rearnsha/gnusrc/egcs-cross/libjava/include/java-stack.h:88: error: '_Jv_InterpFrame' was not declared in this scope
> /home/rearnsha/gnusrc/egcs-cross/libjava/include/java-stack.h:88: error: expected primary-expression before ')' token
> ...

I started to fix these, but I got interrupted cause it's a bit lot of 
c++ stuff. I'd say this patch was never tested for !INTERPRETER nor for 

I see if I can spend some minutes more.


More information about the Java-patches mailing list