mlvm failed building coroutine.cpp on Mac OS X 10.4.6

Stephen Bannasch stephen.bannasch at deanbrook.org
Fri Nov 5 22:42:10 PDT 2010


I'm getting warnings building hotspot/src/share/vm/runtime/coroutine.cpp

... the build reports: "cc1plus: warnings being treated as errors"

Compiling /Users/stephen/dev/java/src/mlvm/sources/hotspot/src/share/vm/runtime/coroutine.cpp
rm -f coroutine.o
/Users/stephen/dev/java/src/mlvm/sources/ALT_COMPILER_PATH/g++ -D_ALLBSD_SOURCE -D_GNU_SOURCE -DAMD64 -DASSERT -DFASTDEBUG -I. 
-I../generated/adfiles -I../generated/jvmtifiles -I/Users/stephen/dev/java/src/mlvm/sources/hotspot/src/share/vm/asm 
-I/Users/stephen/dev/java/src/mlvm/sources/hotspot/src/share/vm/ci 
-I/Users/stephen/dev/java/src/mlvm/sources/hotspot/src/share/vm/classfile 
-I/Users/stephen/dev/java/src/mlvm/sources/hotspot/src/share/vm/code 
-I/Users/stephen/dev/java/src/mlvm/sources/hotspot/src/share/vm/compiler 
-I/Users/stephen/dev/java/src/mlvm/sources/hotspot/src/share/vm/gc_implementation 
-I/Users/stephen/dev/java/src/mlvm/sources/hotspot/src/share/vm/gc_implementation/concurrentMarkSweep 
-I/Users/stephen/dev/java/src/mlvm/sources/hotspot/src/share/vm/gc_implementation/g1 
-I/Users/stephen/dev/java/src/mlvm/sources/hotspot/src/share/vm/gc_implementation/parallelScavenge 
-I/Users/stephen/dev/java/src/mlvm/sources/hotspot/src/share/vm/gc_implementation/parNew 
-I/Users/stephen/dev/java/src/mlvm/sources/hotspot/src/share/vm/gc_implementation/shared 
-I/Users/stephen/dev/java/src/mlvm/sources/hotspot/src/share/vm/gc_interface 
-I/Users/stephen/dev/java/src/mlvm/sources/hotspot/src/share/vm/interpreter 
-I/Users/stephen/dev/java/src/mlvm/sources/hotspot/src/share/vm/libadt 
-I/Users/stephen/dev/java/src/mlvm/sources/hotspot/src/share/vm/memory 
-I/Users/stephen/dev/java/src/mlvm/sources/hotspot/src/share/vm/oops 
-I/Users/stephen/dev/java/src/mlvm/sources/hotspot/src/share/vm/opto 
-I/Users/stephen/dev/java/src/mlvm/sources/hotspot/src/share/vm/prims 
-I/Users/stephen/dev/java/src/mlvm/sources/hotspot/src/share/vm/runtime 
-I/Users/stephen/dev/java/src/mlvm/sources/hotspot/src/share/vm/services 
-I/Users/stephen/dev/java/src/mlvm/sources/hotspot/src/share/vm/utilities 
-I/Users/stephen/dev/java/src/mlvm/sources/hotspot/src/cpu/x86/vm 
-I/Users/stephen/dev/java/src/mlvm/sources/hotspot/src/os/bsd/vm 
-I/Users/stephen/dev/java/src/mlvm/sources/hotspot/src/os_cpu/bsd_x86/vm -I../generated 
-DHOTSPOT_RELEASE_VERSION="\"19.0-b03\"" -DHOTSPOT_BUILD_TARGET="\"fastdebug\"" -DHOTSPOT_BUILD_USER="\"stephen\"" 
-DHOTSPOT_LIB_ARCH=\"amd64\" -DJRE_RELEASE_VERSION="\"1.7.0-internal-fastdebug-stephen_2010_11_06_01_32-b00\"" 
-DHOTSPOT_VM_DISTRO="\"OpenJDK\"" -DCOMPILER2 -fPIC -fno-rtti -fno-exceptions -pthread -fcheck-new -m64 -pipe -O3 
-fno-strict-aliasing -DVM_LITTLE_ENDIAN -D_LP64=1 -fno-omit-frame-pointer -Werror -Wpointer-arith -Wconversion -Wsign-compare 
-D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c -o coroutine.o 
/Users/stephen/dev/java/src/mlvm/sources/hotspot/src/share/vm/runtime/coroutine.cpp
cc1plus: warnings being treated as errors
/Users/stephen/dev/java/src/mlvm/sources/hotspot/src/share/vm/runtime/coroutine.cpp: In member function 'void 
CoroutineData::oops_do(Coroutine*, OopClosure*, CodeBlobClosure*)':
/Users/stephen/dev/java/src/mlvm/sources/hotspot/src/share/vm/runtime/coroutine.cpp:159: warning: NULL used in arithmetic
/Users/stephen/dev/java/src/mlvm/sources/hotspot/src/share/vm/runtime/coroutine.cpp: In member function 'void 
CoroutineData::nmethods_do(Coroutine*, CodeBlobClosure*)':
/Users/stephen/dev/java/src/mlvm/sources/hotspot/src/share/vm/runtime/coroutine.cpp:203: warning: NULL used in arithmetic
make[6]: *** [coroutine.o] Error 1
make[6]: *** Waiting for unfinished jobs....
make[5]: *** [the_vm] Error 2
make[4]: *** [fastdebug] Error 2
make[3]: *** [generic_build2] Error 2
make[2]: *** [fastdebug] Error 2
make[1]: *** [hotspot-build] Error 2
make: *** [build_product_image] Error 2



More information about the mlvm-dev mailing list