[kaffe] make error on mips
程明
cheng-m03 at mails.tsinghua.edu.cn
Fri Sep 3 06:50:35 PDT 2004
Hi, everyone. I configured using the following command:
KAFFEH=/home/chengming/w/kaffe-1.1.4/kaffeh CC=mipsel-linux-gcc
CXX=mipsel-linux-g++ CXXCPP=mipsel-linux-cpp CFLAGS="-O2 -msoft-float
-fno-gcse -mips2 -Wa,-mfixhua7,-mno-lwl" ./configure
--with-threads=unix-jthreads --with-engine=intrp --host=mipsel-linux
--build=i686-linux --with-build-cc=gcc --with-build-cflags="-O2"
--disable-esdtest --disable-alsatest --disable-sound
--enable-pure-java-math --without-kaffe-x-awt
--without-classpath-gtk-awt --without-kaffe-qt-awt
and the result seems ok. Then I make, the following error shows on the
screen
mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../../config
-I../../include/kaffe -I../../kaffe/kaffevm/systems/unix-jthreads
-Iintrp -I./intrp -I../../libltdl -DINTERPRETER -I../../kaffe/jvmpi
-I../../kaffe/xprof -I../../include
-I/home/chengming/w/kaffe-1.1.4/./kaffe/kaffevm
-I/home/chengming/w/kaffe-1.1.4/./kaffe/kaffevm/intrp
-I/home/chengming/w/kaffe-1.1.4/./kaffe/kaffevm/systems/unix-jthreads
-I../../config -I../../include -DKAFFE_VMDEBUG -O2 -msoft-float
-fno-gcse -mips2 -Wa,-mfixhua7,-mno-lwl -Wall -Wstrict-prototypes
-fno-omit-frame-pointer -MT support.lo -MD -MP -MF .deps/support.Tpo -c
support.c -fPIC -DPIC -o .libs/support.o
In file included from ../../config/mips/linux/md.h:20,
from ../../config/md.h:1,
from classMethod.h:18,
from support.c:33:
../../config/mips/threads.h:44:1: warning: "FP_OFFSET" redefined
../../config/mips/threads.h:39:1: warning: this is the location of the
previous definition
../../kaffe/kaffevm/systems/unix-jthreads/jthread.h: In function
`sysdepCallMethod':
../../config/mips/o32-sysdepCallMethod.h:226: inconsistent operand
constraints in an `asm'
../../kaffe/kaffevm/systems/unix-jthreads/jthread.h:355: insn does not
satisfy its constraints:
(insn 555 109 117 (set (reg/v:DF 46 $f14)
(reg:DF 14 t6)) 184 {movdf_internal2} (nil)
(nil))
../../kaffe/kaffevm/systems/unix-jthreads/jthread.h:355: confused by
earlier errors, bailing out
make[3]: *** [support.lo] Error 1
make[3]: Leaving directory `/home/chengming/w/kaffe-1.1.4/kaffe/kaffevm'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/chengming/w/kaffe-1.1.4/kaffe/kaffevm'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/chengming/w/kaffe-1.1.4/kaffe'
make: *** [all-recursive] Error 1
in the file o32-sysdepCallMethod.h:
223 #ifdef PS2LINUX
224 asm ("" :: "f" (f0), "f" (f2));
225 #else
226 asm ("" :: "f" (f0), "f" (f2), "f" (d0), "f" (d2));
227 #endif
in the file jthread.h:
351 static inline
352 bool jthread_attach_current_thread(bool daemon)
353 {
354 return false;
355 }
356
357 #endif
Any suggestions? thanks very much!
More information about the kaffe
mailing list