[kaffe] openbsd/sparc build problem

Riccardo zuse at libero.it
Tue May 31 05:39:49 PDT 2005


Hello,

I upgraded (with some effort) my sparcstation2 ("mallorn") to openbsd 3.
7. Also I was able to install jikes by compiling it on another box (
moved HDs...). The packages provided by openbsd still ship 1.18... I put 
in 1.22.

so I am able to resume testing of openbsd/sparc again!

the build fails with:
gcc -g -O2 -Wall -pthread -o .libs/kaffe-bin main.o version.o .libs/
kaffe-binS.o -Wl,-E  -L../../kaffe/kaffevm/.libs -lkaffevm -L/usr/src/
kaffe-cvs/jit-pthreads/replace/.libs -lm -L../../replace/.libs -lreplace -
Wl,-rpath,/usr/local/kaffe/jre/lib/sparc
main.o(.text+0x7e0): In function `setKaffeAWT':
/usr/src/kaffe-cvs/jit-pthreads/kaffe/kaffe/../../../kaffe/kaffe/kaffe/
main.c:431: warning: strcpy() is almost always misused, please use 
strlcpy()
main.o(.text+0x7ec):/usr/src/kaffe-cvs/jit-pthreads/kaffe/kaffe/../../../
kaffe/kaffe/kaffe/main.c:432: warning: strcat() is almost always misused, 
please use strlcat()
./../kaffe/kaffevm/.libs/libkaffevm.so: warning: sprintf() is often 
misused, please use snprintf()
./../kaffe/kaffevm/.libs/libkaffevm.so: undefined reference to `__
builtin_expect'
collect2: ld returned 1 exit status
gmake[2]: *** [kaffe-bin] Error 1
gmake[2]: Leaving directory `/usr/src/kaffe-cvs/jit-pthreads/kaffe/
kaffe'

-R





More information about the kaffe mailing list