Hi Vladimir,

On 10/23/07, Vladimir Nikolov <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have still problems to compile the GNU-Classpath 0.96.1 on the
> StrongARM machine.
> Once again, I would like to use it together with the JamVM 1.4.5, since
> both support now Java Annotations and Generics.
>
> Here are some informations about the current configuration I use:
> - StrongARM-110 (v4l) (233 MHz, 256 MB RAM)
> - Linux Version 2.6.18y, GCC Version  4.1.2, Debian 4.1.1-21

First of all, I'm sorry you're seeing so many problems.  One thing you
do not mention is whether your ARM machine is using OABI or EABI.
Recent distributions of ARM Linux have moved to EABI, and programs
that do not handle this will not work correctly.  BTW, I get the
impression that you're running all of this on the ARM as host, rather
than cross-compiling.

Can you run your ARM gcc like this:

gcc -E -dM - < /dev/null

This will show all the predefined macros.  If your ARM system is
configured to use
EABI, there should be __ARM_EABI__ somewhere in that.

Now the problem.  JamVM <= 1.4.5 does not support EABI!  Of course,
even if you are using EABI, I don't know if this is the cause of the
error below (it is an assertion failure in GNU Classpath JNI code),
but it could be...

I have since added EABI support to JamVM, and this is available via CVS :

http://developer.berlios.de/cvs/?group_id=6545

Normally, a distribution of JamVM comes with its Java-classes
pre-compiled (to stop bootstrap issues).  The CVS tree does not
contain this.  You will either need to install Jikes on the ARM system
to build them, or prepare a distribution on another machine with
jikes, ecj or gcj available :

./autogen.sh
make dist


Hope this helps,

Rob.

> 2.) make - produces the following error:
>
> Making all in lib
> make[1]: Entering directory
> `/home/vladimir/code/src/vm/classpath-0.96.1/lib'
> true
> top_builddir=.. top_srcdir=.. /bin/sh ./gen-classlist.sh standard
> Adding java source files from srcdir '..'.
> Adding java source files from VM directory ../vm/reference
> /usr/bin/ecj -1.5
> -warn:-deprecation,serial,typeHiding,unchecked,unused,varargsCast
> -proceedOnError -bootclasspath '' -classpath
> ../vm/reference:..:../external/w3c_dom:../external/sax:../external/relaxngDatatype:../external/jsr166:.::
> -d . @classes
> jamvm: mprec.c:107: _Jv_Balloc: Assertion `i < 16' failed.
> make[1]: *** [compile-classes] Aborted
> make[1]: Leaving directory
> `/home/vladimir/code/src/vm/classpath-0.96.1/lib'
> make: *** [all-recursive] Error 1
>
> Does anyone have any ideas?
>
> Best regards,
> Vladimir
>

Reply via email to