[kaffe] Small XScale patch
Jari Korva
jpkorva at iki.fi
Sun Mar 20 23:28:01 PST 2005
On Sun, 13 Mar 2005, Dalibor Topic wrote:
> Thanks a lot for the patch, Jari! I've now found a way to make the
> configure test unnecessary using standard ISO C feature offsetof, so
> I've just checked in a patch that shoudl always get ALIGNMENTOF_VOIDP
> right. Could you give it a try?
Thanks! Due to locking changes I'm not able to compile Kaffe right now,
but I'll retry later.
armv5b-softfloat-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/wrk/ipaq/u/jko/kaffe-cvs-head/./kaffe/kaffevm
-I/wrk/ipaq/u/jko/kaffe-cvs-head/./kaffe/kaffevm/intrp
-I/wrk/ipaq/u/jko/kaffe-cvs-head/./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 -Wsequence-point -Wreturn-type -Wswitch
-Wswitch-default -Wswitch-enum -Wtrigraphs -Wunused-function
-Wunused-label -Wunused-parameter -Wunused-variable -Wunused-value
-Wunknown-pragmas -Wstrict-aliasing -W -Wfloat-equal
-Wdeclaration-after-statement -Wundef -Wendif-labels -Wshadow
-Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align
-Wwrite-strings -Wconversion -Wsign-compare -Waggregate-return
-Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes
-Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute
-Wpacked -Wredundant-decls -Wnested-externs -Winvalid-pch -Winline
-Wlong-long -Wdisabled-optimization -fsigned-char -fno-omit-frame-pointer
-pthread -DENABLE_BINRELOC -MT libkaffevm_la-locks.lo -MD -MP -MF
.deps/libkaffevm_la-locks.Tpo -c locks.c -fPIC -DPIC -o
.libs/libkaffevm_la-locks.o
locks.c: In function `getHeavyLock':
locks.c:99: warning: cast discards qualifiers from pointer target type
locks.c:109: warning: cast discards qualifiers from pointer target type
locks.c:109: warning: comparison between pointer and integer
locks.c:113: warning: assignment discards qualifiers from pointer target
type
locks.c:130: warning: assignment discards qualifiers from pointer target
type
locks.c:134: warning: cast discards qualifiers from pointer target type
locks.c:134: warning: comparison between pointer and integer
locks.c:157: warning: cast discards qualifiers from pointer target type
locks.c:157: warning: passing arg 3 of `compare_and_swap' as signed due to
prototype
locks.c:157: warning: comparison between signed and unsigned
locks.c:158: warning: cast discards qualifiers from pointer target type
locks.c:161: warning: negative integer implicitly converted to unsigned
type
locks.c:161: warning: cast discards qualifiers from pointer target type
locks.c:161: warning: passing arg 3 of `compare_and_swap' as signed due to
prototype
locks.c:161: warning: comparison between signed and unsigned
locks.c:165: warning: negative integer implicitly converted to unsigned
type
locks.c:165: warning: cast discards qualifiers from pointer target type
locks.c:165: warning: passing arg 3 of `compare_and_swap' as signed due to
prototype
locks.c:165: warning: comparison between signed and unsigned
locks.c: In function `locks_internal_slowUnlockMutexIfHeld':
locks.c:348: warning: comparison between pointer and integer
locks.c: In function `locks_internal_lockMutex':
locks.c:495: warning: comparison between pointer and integer
locks.c: In function `locks_internal_unlockMutex':
locks.c:507: warning: comparison between pointer and integer
/tmp/cczQ3dVN.s: Assembler messages:
/tmp/cczQ3dVN.s:106: Error: bad instruction `jmp 2f'
/tmp/cczQ3dVN.s:146: Error: bad instruction `jmp 2f'
/tmp/cczQ3dVN.s:173: Error: bad instruction `jmp 2f'
/tmp/cczQ3dVN.s:205: Error: bad instruction `jmp 2f'
/tmp/cczQ3dVN.s:233: Error: bad instruction `jmp 2f'
/tmp/cczQ3dVN.s:263: Error: bad instruction `jmp 2f'
/tmp/cczQ3dVN.s:308: Error: bad instruction `jmp 2f'
/tmp/cczQ3dVN.s:905: Error: bad instruction `jmp 2f'
/tmp/cczQ3dVN.s:1360: Error: bad instruction `jmp 2f'
/tmp/cczQ3dVN.s:1414: Error: bad instruction `jmp 2f'
make[2]: *** [libkaffevm_la-locks.lo] Error 1
make[2]: Leaving directory `/wrk/kaffe-cvs-head/kaffe/kaffevm'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/wrk/kaffe-cvs-head/kaffe/kaffevm'
make: *** [all-recursive] Error 1
Cheers,
Jari
More information about the kaffe
mailing list