[11] RFR(S) 8200383: Can't build on SPARC Hotspot with code which use math functions (original) (raw)

Vladimir Kozlov vladimir.kozlov at oracle.com
Wed Mar 28 22:52:34 UTC 2018


Thank you.

I will use second version and do testing again before push.

Vladimir

On 3/28/18 3:50 PM, Magnus Ihse Bursie wrote:

On 2018-03-29 00:48, Erik Joelsson wrote:

On 2018-03-28 15:35, Vladimir Kozlov wrote: Based on history it was done for 6307603 in 2010 and reason is the same: http://hg.openjdk.java.net/jdk/hs/rev/1a5e995a710b Is next fix correct?: make/lib/Awt2dLibraries.gmk @@ -409,8 +409,8 @@ _LDFLAGS := $(LDFLAGSJDKLIB) _ _$(call SETSHAREDLIBRARYORIGIN), _ _LDFLAGSunix := -L$(INSTALLLIBRARIESHERE), _ -    LDFLAGSsolaris := _/usr/lib$(OPENJDKTARGETCPUISADIR)/libm.so.2, _ _LIBSunix := -lawt -ljvm -ljava $(LCMSLIBS), _ _+    LIBSsolaris := $(LIBM), _ _LIBSlinux := $(LIBM), _ _LIBSmacosx := $(LIBM), _ _LIBSaix := $(LIBM),_ or make/lib/Awt2dLibraries.gmk @@ -409,11 +409,7 @@ _LDFLAGS := $(LDFLAGSJDKLIB) _ _$(call SETSHAREDLIBRARYORIGIN), _ _LDFLAGSunix := -L$(INSTALLLIBRARIESHERE), _ -    LDFLAGSsolaris := _/usr/lib$(OPENJDKTARGETCPUISADIR)/libm.so.2, _ _-    LIBSunix := -lawt -ljvm -ljava $(LCMSLIBS), _ _-    LIBSlinux := $(LIBM), _ _-    LIBSmacosx := $(LIBM), _ _-    LIBSaix := $(LIBM),_ _+    LIBSunix := -lawt -ljvm -ljava (LCMSLIBS)(LCMSLIBS) (LCMSLIBS)(LIBM), _ _LIBSwindows := (WINAWTLIB)(WINAWTLIB) (WINAWTLIB)(WINJAVALIB), _  )) I would say the second one is better. Agree. With this, the fix looks good to me too. /Magnus Thanks, /Erik Thanks, Vladimir

Maybe you can/should remove that as well? /Magnus



More information about the hotspot-dev mailing list