MacBook-Pro-2:panama sd$ make Building target 'default (exploded-image)' in configuration 'macosx-x86_64-normal-server-release' Compiling 8 files for BUILD_TOOLS_LANGTOOLS Creating support/modules_libs/java.base/libjsig.dylib from 1 file(s) Creating hotspot/variant-server/tools/adlc/adlc from 13 file(s) Compiling 2 files for BUILD_JVMTI_TOOLS Parsing 1 properties into enum-like class for jdk.compiler Compiling 19 properties into resource bundles for jdk.javadoc Compiling 12 properties into resource bundles for jdk.jdeps Compiling 17 properties into resource bundles for jdk.compiler Compiling 7 properties into resource bundles for jdk.jshell Compiling 117 files for BUILD_INTERIM_java.compiler Compiling 396 files for BUILD_INTERIM_jdk.compiler Creating support/modules_libs/java.base/server/libjvm.dylib from 693 file(s) Creating hotspot/variant-server/libjvm/gtest/libjvm.dylib from 52 file(s) Creating hotspot/variant-server/libjvm/gtest/gtestLauncher from 1 file(s) Compiling 61 files for BUILD_INTERIM_jdk.jdeps In file included from /Users/sd/Projects/panama/hotspot/test/native/gc/g1/test_freeRegionList.cpp:25: In file included from /Users/sd/Projects/panama/hotspot/src/share/vm/gc/g1/g1CollectedHeap.inline.hpp:28: In file included from /Users/sd/Projects/panama/hotspot/src/share/vm/gc/g1/g1CollectedHeap.hpp:33: In file included from /Users/sd/Projects/panama/hotspot/src/share/vm/gc/g1/g1ConcurrentMark.hpp:31: /Users/sd/Projects/panama/hotspot/src/share/vm/gc/g1/heapRegionSet.hpp:126:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if HEAP_REGION_SET_FORCE_VERIFY ^ /Users/sd/Projects/panama/hotspot/src/share/vm/gc/g1/heapRegionSet.hpp:53:38: note: expanded from macro 'HEAP_REGION_SET_FORCE_VERIFY' #define HEAP_REGION_SET_FORCE_VERIFY defined(ASSERT) ^ In file included from /Users/sd/Projects/panama/hotspot/test/native/gc/g1/test_freeRegionList.cpp:25: In file included from /Users/sd/Projects/panama/hotspot/src/share/vm/gc/g1/g1CollectedHeap.inline.hpp:28: In file included from /Users/sd/Projects/panama/hotspot/src/share/vm/gc/g1/g1CollectedHeap.hpp:37: /Users/sd/Projects/panama/hotspot/src/share/vm/gc/g1/g1HeapVerifier.hpp:67:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if HEAP_REGION_SET_FORCE_VERIFY ^ /Users/sd/Projects/panama/hotspot/src/share/vm/gc/g1/heapRegionSet.hpp:53:38: note: expanded from macro 'HEAP_REGION_SET_FORCE_VERIFY' #define HEAP_REGION_SET_FORCE_VERIFY defined(ASSERT) ^ 2 errors generated. make[3]: *** [/Users/sd/Projects/panama/build/macosx-x86_64-normal-server-release/hotspot/variant-server/libjvm/gtest/objs/test_freeRegionList.o] Error 1 make[3]: *** Waiting for unfinished jobs.... Compiling 457 files for BUILD_INTERIM_jdk.javadoc make[2]: *** [hotspot-server-libs] Error 2 make[2]: *** Waiting for unfinished jobs.... Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. ERROR: Build failed for target 'default (exploded-image)' in configuration 'macosx-x86_64-normal-server-release' (exit code 2) === Output from failing command(s) repeated here === * For target hotspot_variant-server_libjvm_gtest_objs_test_freeRegionList.o: In file included from /Users/sd/Projects/panama/hotspot/test/native/gc/g1/test_freeRegionList.cpp:25: In file included from /Users/sd/Projects/panama/hotspot/src/share/vm/gc/g1/g1CollectedHeap.inline.hpp:28: In file included from /Users/sd/Projects/panama/hotspot/src/share/vm/gc/g1/g1CollectedHeap.hpp:33: In file included from /Users/sd/Projects/panama/hotspot/src/share/vm/gc/g1/g1ConcurrentMark.hpp:31: /Users/sd/Projects/panama/hotspot/src/share/vm/gc/g1/heapRegionSet.hpp:126:5: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if HEAP_REGION_SET_FORCE_VERIFY ^ /Users/sd/Projects/panama/hotspot/src/share/vm/gc/g1/heapRegionSet.hpp:53:38: note: expanded from macro 'HEAP_REGION_SET_FORCE_VERIFY' #define HEAP_REGION_SET_FORCE_VERIFY defined(ASSERT) ^ In file included from /Users/sd/Projects/panama/hotspot/test/native/gc/g1/test_freeRegionList.cpp:25: In file included from /Users/sd/Projects/panama/hotspot/src/share/vm/gc/g1/g1CollectedHeap.inline.hpp:28: ... (rest of output omitted) * All command lines available in /Users/sd/Projects/panama/build/macosx-x86_64-normal-server-release/make-support/failure-logs. === End of repeated output === No indication of failed target found. Hint: Try searching the build log for '] Error'. Hint: See common/doc/building.html#troubleshooting for assistance. make[1]: *** [main] Error 2 make: *** [default] Error 2