Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error building with BUILD_MODE=shenandoah #12

Open
ajruckman opened this issue Mar 18, 2021 · 0 comments
Open

Error building with BUILD_MODE=shenandoah #12

ajruckman opened this issue Mar 18, 2021 · 0 comments

Comments

@ajruckman
Copy link

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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant