8077590: windows_i586_6.2-product-c2-runThese8_Xcomp_vm failing after win compiler upgrade
authorneliasso
Tue, 28 Apr 2015 14:46:19 -0700
changeset 30029 1cea5275d091
parent 30028 ac021a11a31b
child 30030 8245edf58a44
8077590: windows_i586_6.2-product-c2-runThese8_Xcomp_vm failing after win compiler upgrade Summary: Add /arch:IA32 flag to windows ia32 builds to force x87 codepath Reviewed-by: kvn, dholmes
hotspot/make/windows/makefiles/compile.make
--- a/hotspot/make/windows/makefiles/compile.make	Tue Apr 28 14:45:57 2015 -0700
+++ b/hotspot/make/windows/makefiles/compile.make	Tue Apr 28 14:46:19 2015 -0700
@@ -74,7 +74,8 @@
 
 !if "$(BUILDARCH)" == "i486"
 MACHINE=I386
-CXX_FLAGS=$(CXX_FLAGS) /D "IA32"
+# VS2013 generates bad l2f without /arch:IA32
+CXX_FLAGS=$(CXX_FLAGS) /D "IA32" /arch:IA32
 !endif
 
 CXX_FLAGS=$(CXX_FLAGS) /D "WIN32" /D "_WINDOWS"