This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java 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]

Re: libjava no-longer compiler if INTERPRETER not defined


Richard Earnshaw wrote:
Bryce,

This patch

2005-03-10 Bryce McKinlay <mckinlay@redhat.com>

New Stack Trace infrastructure.
* Makefile.am (libgcj0_convenience_la_SOURCES): Add stacktrace.cc.
(gnu/gcj/runtime/StackTrace.java): Removed.
(ordinary_java_source_files): Remove obsolete files.
(nat_source_files): Remove obsolete files. Add natVMThrowable.cc.
* configure.host (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 stacktrace.cc

/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 SJLJ_EXC.


I see if I can spend some minutes more.

Andreas


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]