Skip to content

Error building with BUILD_MODE=shenandoah #12

@ajruckman

Description

@ajruckman

I'm trying to use the script to build with the shenandoah GC, but I am getting this error after the script runs fine for several minutes.

...
/Users/user/Downloads/jdk8-shenandoah/hotspot/src/os_cpu/bsd_x86/vm/orderAccess_bsd_x86.inline.hpp:75:30: note: candidate function not viable: no known conversion from 'uintx *' (aka 'unsigned long *') to 'volatile jdouble *' (aka 'volatile double *') for 1st argument
inline jdouble  OrderAccess::load_acquire(volatile jdouble* p) { return jdouble_cast(Atomic::load((volatile jlong*)p)); }
                             ^
Compiling /Users/user/Downloads/jdk8-shenandoah/hotspot/src/share/vm/gc_implementation/shenandoah/shenandoahFreeSet.cpp
rm -f shenandoahFreeSet.o
/usr/bin/clang++ -D_ALLBSD_SOURCE -D_GNU_SOURCE -DAMD64 -DASSERT -DCHECK_UNHANDLED_OOPS -I. -I/Users/user/Downloads/jdk8-shenandoah/hotspot/src/share/vm/prims -I/Users/user/Downloads/jdk8-shenandoah/hotspot/src/share/vm -I/Users/user/Downloads/jdk8-shenandoah/hotspot/src/share/vm/precompiled -I/Users/user/Downloads/jdk8-shenandoah/hotspot/src/cpu/x86/vm -I/Users/user/Downloads/jdk8-shenandoah/hotspot/src/os_cpu/bsd_x86/vm -I/Users/user/Downloads/jdk8-shenandoah/hotspot/src/os/bsd/vm -I/Users/user/Downloads/jdk8-shenandoah/hotspot/src/os/posix/vm -I../generated -DHOTSPOT_RELEASE_VERSION="\"25.71-b00\"" -DHOTSPOT_BUILD_TARGET="\"fastdebug\"" -DHOTSPOT_BUILD_USER="\"user\"" -DHOTSPOT_LIB_ARCH=\"amd64\" -DHOTSPOT_VM_DISTRO="\"OpenJDK\""  -DTARGET_OS_FAMILY_bsd -DTARGET_ARCH_x86 -DTARGET_ARCH_MODEL_x86_64 -DTARGET_OS_ARCH_bsd_x86 -DTARGET_OS_ARCH_MODEL_bsd_x86_64 -DTARGET_COMPILER_gcc -DINCLUDE_JFR=1 -DCOMPILER2 -DCOMPILER1 -include precompiled.hpp -fPIC -fno-rtti -fno-exceptions -fvisibility=hidden -m64 -mno-omit-leaf-frame-pointer -mstack-alignment=16 -pipe -fno-strict-aliasing -DMAC_OS_X_VERSION_MAX_ALLOWED=1090 -mmacosx-version-min=10.9.0 -flimit-debug-info -Os  -g -DVM_LITTLE_ENDIAN -D_LP64=1 -fno-omit-frame-pointer -Wno-logical-op-parentheses -Wno-parentheses-equality -Wno-parentheses -Wno-switch -Wno-tautological-compare -Wno-delete-non-virtual-dtor -Wno-deprecated -Wno-format -Wno-dynamic-class-memaccess -Wno-empty-body -Wpointer-arith -Wsign-compare -Wundef -Wunused-function -Wformat=2      -DDTRACE_ENABLED  -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -DALLOW_OPERATOR_NEW_USAGE -c -MMD -MP -MF ../generated/dependencies/shenandoahFreeSet.o.d -o shenandoahFreeSet.o /Users/user/Downloads/jdk8-shenandoah/hotspot/src/share/vm/gc_implementation/shenandoah/shenandoahFreeSet.cpp 
1 error generated.
make[6]: *** [shenandoahControlThread.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]: *** [/Users/user/Downloads/jdk8-shenandoah/build/macosx-x86_64-normal-server-fastdebug/hotspot/_hotspot.timestamp] Error 2
make: *** [hotspot-only] Error 2

I could not have any less of an idea what is going on here so I was hoping you would recognize this error...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions