[kaffe] error cross-compiling latest CVS for arm

gian paolo ciceri gp.ciceri at suddenthinks.com
Tue Mar 29 07:19:00 PST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hi all,
I'm trying to cross-compile a recent CVS co for arm:

[gpciceri at sandra kaffe-arm]$ ./configure --host=arm-linux
- --enable-pure-java-math --build=i686-linux --without-esd
- --without-kaffe-qt-awt --with-kaffe-x-awt --with-x --with-engine=intrp
- --x-includes=/home/gpciceri/NFS_BT_STACKOPEN_X_QT/X11R6/usr/X11R6/include
- --x-libraries=/home/gpciceri/NFS_BT_STACKOPEN_X_QT/X11R6/usr/X11R6/lib
- --without-classpath-gtk-awt  --prefix=/usr/local/kaffe-arm-cvs-X

but after much compilation work, I take

...
~ arm-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../../config
- -I../../include/kaffe -I../../kaffe/kaffevm/systems/unix-pthreads
- -I../../kaffe/kaffevm/jni -Iintrp -I./intrp -I../../libltdl
- -DINTERPRETER -I../../kaffe/jvmpi -I../../kaffe/xprof -I../../include
- -I../../kaffe/kaffevm/verifier -I../../kaffe/kaffevm/jni
- -I/home/gpciceri/works/cvsroot/kaffe-arm/./kaffe/kaffevm
- -I/home/gpciceri/works/cvsroot/kaffe-arm/./kaffe/kaffevm/intrp
- 
-I/home/gpciceri/works/cvsroot/kaffe-arm/./kaffe/kaffevm/systems/unix-pthreads
- -I../../replace -I../../binreloc -I../../config -I../../include
- -DKAFFE_VMDEBUG -D_REENTRANT -pthread -g -O2 -Wchar-subscripts -Wcomment
- -Wformat=2 -Wimplicit-function-declaration -Wimplicit-int -Wmain
- -Wmissing-braces -Wparentheses -Wreturn-type -Wswitch -Wtrigraphs
- -Wunknown-pragmas -W -Wundef -Wshadow -Wpointer-arith
- -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings
- -Wconversion -Wsign-compare -Waggregate-return -Wstrict-prototypes
- -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn
- -Wredundant-decls -Wnested-externs -Winline -Wlong-long -fsigned-char
- -fno-omit-frame-pointer -pthread -DENABLE_BINRELOC -c md.c
- -Wp,-MD,.deps/libkaffevm_la-md.TPlo  -fPIC -DPIC -o 
.libs/libkaffevm_la-md.o
In file included from md.c:1:
../../config/arm/linux/md.c:19: warning: no previous prototype for `init_md'
../../config/arm/linux/md.c:31: warning: no previous prototype for
`flush_dcache'
/tmp/ccJ5yE4n.s: Assembler messages:
/tmp/ccJ5yE4n.s:154: Error: Can not represent SWI relocation in this
object file format (0)
make[2]: *** [libkaffevm_la-md.lo] Error 1
make[2]: Leaving directory
`/home/gpciceri/works/cvsroot/kaffe-arm/kaffe/kaffevm'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/gpciceri/works/cvsroot/kaffe-arm/kaffe/kaffevm'
make: *** [all-recursive] Error 1

My toolchain is the hardhat one in /opt/hardhat/devkit/arm/sa110_le/
any guess to help me ?

TIS
/gp



- --
gian paolo ciceri - japanman
suddenthinks, excellence through refactoring
++39 340 7218101
gp.ciceri at acm.org
gp.ciceri at suddenthinks.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFCSXHj5CXmEF0gaHgRAr62AJ96gcX5BJSAVe6JrgnxIU9/rxL6OwCgv6JM
/pJwQqJcmb7BamLkLnT9Eyw=
=xdoe
-----END PGP SIGNATURE-----




More information about the kaffe mailing list