[kaffe] kaffe compilation problem

Gérard Basler gerard.basler at cinerent.com
Tue Dec 30 05:47:02 PST 2003


The following works for me:

cp /usr/local/kaffe/jre/lib/rt.jar /tmp/
mkdir kaffe-bld; cd kaffe-bld
KAFFEH=/usr/local/kaffe/bin/kaffeh CC=arm-linux-gcc NM=arm-linux-nm
AR=arm-linux-ar ../kaffe/configure --host=arm-linux --build=i686-linux
--with-rt-jar=/tmp/rt.jar --enable-pure-java-math
--with-threads=unix-jthreads --without-x --prefix=/mnt/hda/kaffe
--enable-debug --with-engine=intrp

I had to fix SP_OFFSET in advance. Simple hellworld programs run but it
still crashes.

On Sun, 2003-12-28 at 11:00, 林君翰 wrote:
> Hi
>  
> I tried to compile kaffe 1.1.3, but there is something wrong about
> that.
>  
> export CC=arm-linux-gcc
> export AR=arm-linux-ar
> export NM=arm-linux-nm
> export KAFFEH=/aaa/bin/kaffeh
>  
> ./configure --prefix=/bbb --build=i386-linux --host=arm-linux
> --without-x 
> --enable-pure-java-math --with-includes=/usr/local/arm-linux/include 
> --with-libraries=/usr/local/arm-linux/lib
>  
> arm-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../../config
> -I../../include/kaffe 
> -I../../kaffe/kaffevm/systems/unix-jthreads -I../../kaffe/kaffevm/jit 
> -I../../kaffe/kaffevm/jit -I../../libltdl -DTRANSLATOR
> -I../../kaffe/jvmpi 
> -I../../kaffe/xprof -I../../include -DKVER=\"1.1.3\" 
> -I/DBPXA255/work/kaffe-1.1.3/./kaffe/kaffevm 
> -I/DBPXA255/work/kaffe-1.1.3/./kaffe/kaffevm/jit 
> -I/DBPXA255/work/kaffe-1.1.3/./kaffe/kaffevm/systems/unix-jthreads 
> -I../../config -I../../include -I/usr/local/arm-linux/include 
> -DKAFFE_VMDEBUG -g -O2 -Wall -Wstrict-prototypes -fsigned-char
> -MT support.lo -MD -MP -MF .deps/support.Tpo -c support.c  -fPIC -DPIC
> -o 
> .libs/support.o
> /tmp/cccojFSa.s: Assembler messages:
> /tmp/cccojFSa.s:2349: Error: selected processor does not support `stfd
> f0,[r3,#0]'
> /tmp/cccojFSa.s:2359: Error: selected processor does not support `stfs
> f0,[r3,#0]'
> make[3]: *** [support.lo] Error 1
> make[3]: Leaving directory `/DBPXA255/work/kaffe-1.1.3/kaffe/kaffevm'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/DBPXA255/work/kaffe-1.1.3/kaffe/kaffevm'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/DBPXA255/work/kaffe-1.1.3/kaffe'
> make: *** [all-recursive] Error 1
>  
> what may be the reason for this.
> Thanks
>                         Phoebus






More information about the kaffe mailing list