=== Output from failing command(s) repeated here === /usr/bin/printf "* For target hotspot_variant-server_libjvm_objs_lcm.o:\n" * For target hotspot_variant-server_libjvm_objs_lcm.o: (/usr/bin/grep -v -e "^Note: including file:" < /Users/2bai/Documents/code/jdk9/build/macosx-x86_64-normal-server-fastdebug/make-support/failure-logs/hotspot_variant-server_libjvm_objs_lcm.o.log || true) | /usr/bin/head -n 12 /Users/2bai/Documents/code/jdk9/hotspot/src/share/vm/opto/lcm.cpp:42:35: error: ordered comparison between pointer and zero ('address' (aka 'unsigned char *') and 'int') if (Universe::narrow_oop_base() > 0) { // Implies UseCompressedOops. ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~ 1 error generated. if test `/usr/bin/wc -l < /Users/2bai/Documents/code/jdk9/build/macosx-x86_64-normal-server-fastdebug/make-support/failure-logs/hotspot_variant-server_libjvm_objs_lcm.o.log` -gt 12; then /bin/echo " ... (rest of output omitted)" ; fi /usr/bin/printf "\n* All command lines available in /Users/2bai/Documents/code/jdk9/build/macosx-x86_64-normal-server-fastdebug/make-support/failure-logs.\n"
* All command lines available in /Users/2bai/Documents/code/jdk9/build/macosx-x86_64-normal-server-fastdebug/make-support/failure-logs. /usr/bin/printf "=== End of repeated output ===\n" === End of repeated output === if /usr/bin/grep -q "recipe for target .* failed" /Users/2bai/Documents/code/jdk9/build/macosx-x86_64-normal-server-fastdebug/build.log 2> /dev/null; then /usr/bin/printf "\n=== Make failed targets repeated here ===\n" ; /usr/bin/grep "recipe for target .* failed" /Users/2bai/Documents/code/jdk9/build/macosx-x86_64-normal-server-fastdebug/build.log ; /usr/bin/printf "=== End of repeated output ===\n" ; /usr/bin/printf "\nHint: Try searching the build log for the name of the first failed target.\n" ; else /usr/bin/printf "\nNo indication of failed target found.\n" ; /usr/bin/printf "Hint: Try searching the build log for '] Error'.\n" ; fi
=== Make failed targets repeated here === lib/CompileJvm.gmk:207: recipe for target '/Users/2bai/Documents/code/jdk9/build/macosx-x86_64-normal-server-fastdebug/hotspot/variant-server/libjvm/objs/lcm.o' failed make/Main.gmk:263: recipe for target 'hotspot-server-libs' failed === End of repeated output ===
Hint: Try searching the build log for the name of the first failed target. /usr/bin/printf "Hint: See common/doc/building.html#troubleshooting for assistance.\n\n" Hint: See common/doc/building.html#troubleshooting for assistance.
if (Universe::narrow_oop_base() > 0) { // Implies UseCompressedOops. //修改为 if (Universe::narrow_oop_base() != NULL) { // Implies UseCompressedOops.
问题2
1 2 3 4 5 6 7 8 9
jdk9/hotspot/src/jdk.hotspot.agent/macosx/native/libsaproc/MacosxDebuggerLocal.m:692:21: warning: 'ePtAttachDeprecated' is deprecated: PT_ATTACH is deprecated. See PT_ATTACHEXC [-Wdeprecated-declarations] if ((res = ptrace(PT_ATTACH, pid, 0, 0)) < 0) { ^ /usr/include/sys/ptrace.h:85:19: note: expanded from macro 'PT_ATTACH' #define PT_ATTACH ePtAttachDeprecated /* trace some running process */ ^ /usr/include/sys/ptrace.h:71:22: note: 'ePtAttachDeprecated' has been explicitly marked deprecated here ePtAttachDeprecated __deprecated_enum_msg("PT_ATTACH is deprecated. See PT_ATTACHEXC") = 10 ^
=== Output from failing command(s) repeated here === * For target hotspot_variant-server_libjvm_objs_loopPredicate.o: ../src/share/vm/opto/loopPredicate.cpp:903:73: error: ordered comparison between pointer and zero ('const TypeInt *' and 'int') assert(rng->Opcode() == Op_LoadRange || _igvn.type(rng)->is_int() >= 0, "must be"); ~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~ ../src/share/vm/utilities/debug.hpp:141:33: note: expanded from macro 'assert' #define assert(p, ...) vmassert(p, __VA_ARGS__) ^ ../src/share/vm/utilities/debug.hpp:130:9: note: expanded from macro 'vmassert' if (!(p)) { \ ^ 1 error generated.
* All command lines available in /Users/2bai/Documents/code/jdk9/build/macosx-x86_64-normal-serverANDclient-slowdebug/make-support/failure-logs. === End of repeated output ===