fyi: coro patch still won't build coroutine.o on Mac OS X
Stephen Bannasch
stephen.bannasch at deanbrook.org
Tue Jan 11 20:26:06 PST 2011
FYI: still can't compile coroutine.o on Mac OS X warning that "NULL used in arithmetic".
Building with guards="buildable testable coro" still produces these compilation warnings (with the -Werror compiler flag being
used warnings are treated as errors):
hotspot/src/share/vm/runtime/coroutine.cpp:
In member function 'void CoroutineData::frames_do(Coroutine*, FrameClosure*)':
hotspot/src/share/vm/runtime/coroutine.cpp:469:
warning: NULL used in arithmetic
hotspot/src/share/vm/runtime/coroutine.cpp:
In member function 'frame CoroutineData::last_frame(Coroutine*, RegisterMap&) const':
hotspot/src/share/vm/runtime/coroutine.cpp:492:
warning: NULL used in arithmetic
Here's the more detailed console output:
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/c1
-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/shark
-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="\"20.0-b03\"" -DHOTSPOT_BUILD_TARGET="\"fastdebug\"" -DHOTSPOT_BUILD_USER="\"stephen\""
-DHOTSPOT_LIB_ARCH=\"amd64\" -DJRE_RELEASE_VERSION="\"1.7.0-internal-fastdebug-stephen_2011_01_11_23_12-b00\""
-DHOTSPOT_VM_DISTRO="\"OpenJDK\"" -DCOMPILER2 -DCOMPILER1 -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::frames_do(Coroutine*, FrameClosure*)':
/Users/stephen/dev/java/src/mlvm/sources/hotspot/src/share/vm/runtime/coroutine.cpp:469: warning: NULL used in arithmetic
/Users/stephen/dev/java/src/mlvm/sources/hotspot/src/share/vm/runtime/coroutine.cpp: In member function 'frame
CoroutineData::last_frame(Coroutine*, RegisterMap&) const':
/Users/stephen/dev/java/src/mlvm/sources/hotspot/src/share/vm/runtime/coroutine.cpp:492: 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
[1]+ Done rm -i -rf build.del
More information about the mlvm-dev
mailing list