|
From: | Preethi Selvaraju |
Subject: | RE: make4.3/make4.2.1 - solaris 11 x86 issues |
Date: | Tue, 30 Jun 2020 07:17:56 +0000 |
@Martin Dorey: No problem. When I build jdk8u as suggested, encountered the below error: Compiling /export/home/preethi/openjdk8u/hotspot/src/share/vm/compiler/abstractCompiler.cpp Compiling /export/home/preethi/openjdk8u/hotspot/src/share/vm/utilities/accessFlags.cpp Compiling ../generated/adfiles/ad_x86_32.cpp "/export/home/preethi/openjdk8u/hotspot/src/share/vm/runtime/thread.hpp", line 202: Warning: Identifier expected instead of "}". 1 Warning(s) detected. gmake[6]: *** [/export/home/preethi/openjdk8u/hotspot/make/solaris/makefiles/rules.make:148: accessFlags.o] Error 2 gmake[6]: *** Waiting for unfinished jobs.... "/export/home/preethi/openjdk8u/hotspot/src/share/vm/runtime/thread.hpp", line 202: Warning: Identifier expected instead of "}". 1 Warning(s) detected. gmake[6]: *** [/export/home/preethi/openjdk8u/hotspot/make/solaris/makefiles/rules.make:148: abstractCompiler.o] Error 2 "/export/home/preethi/openjdk8u/hotspot/src/share/vm/runtime/thread.hpp", line 202: Warning: Identifier expected instead of "}". 1 Warning(s) detected. gmake[6]: *** [/export/home/preethi/openjdk8u/hotspot/make/solaris/makefiles/rules.make:148: ad_x86_32.o] Error 2 gmake[5]: *** [/export/home/preethi/openjdk8u/hotspot/make/solaris/makefiles/top.make:112: the_vm] Error 2 gmake[4]: *** [/export/home/preethi/openjdk8u/hotspot/make/solaris/Makefile:226: product] Error 2 gmake[3]: *** [Makefile:231: generic_build2] Error 2 gmake[2]: *** [Makefile:177: product] Error 2 gmake[1]: *** [HotspotWrapper.gmk:45: /export/home/preethi/openjdk8u/build/solaris-x86-normal-server-release/hotspot/_hotspot.timestamp] Error 2 gmake: *** [/export/home/preethi/openjdk8u//make/Main.gmk:110: hotspot-only] Error 2 /export/home/preethi/openjdk8u/hotspot/make/solaris/makefiles/rules.make: # Sun compiler for 64 bit Solaris does not support building non-PIC object files. ifdef LP64 %.o: %.cpp @echo Compiling $< $(QUIETLY) $(REMOVE_TARGET) $(QUIETLY) $(COMPILE.CXX) $(DEPFLAGS) -o $@ $< $(COMPILE_DONE) else %.o: %.cpp @echo Compiling $< $(QUIETLY) $(REMOVE_TARGET) $(QUIETLY) $(if $(findstring $@, $(NONPIC_OBJ_FILES)), \ $(subst $(VM_PICFLAG), ,$(COMPILE.CXX)) $(DEPFLAGS) -o $@ $< $(COMPILE_DONE), \ $(COMPILE.CXX) $(DEPFLAGS) -o $@ $< $(COMPILE_DONE)) Endif "/export/home/preethi/openjdk8u/hotspot/src/share/vm/runtime/thread.hpp": enum SuspendFlags { // NOTE: avoid using the sign-bit as cc generates different test code // when the sign-bit is used, and sometimes incorrectly - see CR 6398077 _external_suspend = 0x20000000U, // thread is asked to self suspend _ext_suspended = 0x40000000U, // thread has self-suspended _deopt_suspend = 0x10000000U, // thread needs to self suspend for deopt _has_async_exception = 0x00000001U, // there is a pending async exception _critical_native_unlock = 0x00000002U, // Must call back to unlock JNI critical lock
JFR_ONLY(_trace_flag = 0x00000004U) // call jfr tracing }; Kindly ignore if it has nothing to do with gmake. Regards, Preethi
[CAUTION: This Email is from outside the Organization. Unless you trust the sender, Don’t click links or open attachments as it may be a Phishing email, which can steal your Information and compromise your Computer.] I’m pleasantly surprised, as it looked like there were a bunch of later issues possibly not fixed in jdk8u, including https://savannah.gnu.org/bugs/index.php?57676,
which is still waiting for Paul to visibly take a stance on, after Dmitry’s kind patch. Sorry, Preethi, for my (likely) misgendering. I must not assume. From: Preethi Selvaraju <preethi.s@hcl.com> ***** EXTERNAL EMAIL ***** |
[Prev in Thread] | Current Thread | [Next in Thread] |