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

libjava no-longer compiler if INTERPRETER not defined


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

R.


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