JDK7u40: build issue with a french VS2010 Express

Francis ANDRE francis.andre.kampbell at orange.fr
Thu Oct 3 12:56:32 UTC 2013


Hi

In the 7u40/jdk/make/common/shared/Compiler-msvc.gmk, the code for computing the 
CC_VER does work with a French VS2010 Express compiler

CC_VER  := $(shell $(CC) 2>&1 | $(HEAD) -n 1 | $(SED) 's/.*\(Version.*\)/\1/' | 
$(NAWK) '{print $$2}')

because the cl command returns

Compilateur d'optimisation Microsoft (R) 32 bits C/C++ version 16.00.30319.01 
pour 80x86
Copyright (C) Microsoft Corporation. Tous droits réservés.

utilisation : cl [ option... ] nom de fichier... [ /link linkoption... ]

So, soneone from the build team  would say: Hey guy, pick up the English version 
and it will work!. But that does not work neither because when one download 
VS2010 Express from a French territory, one gets the French version EVEN if the 
English version was explicitly requested (I made it twice, thinking I missed to 
select the English version).


The problem has already been solved in the hotspot build by using the externals 
variables FORCE_MSC_VER and FORCE_LINK_VERSION in this file 
/hotspot/make/windows/get_msc_ver.sh

I can build a fix for this issue but I think it is better than someone from the 
build team fix this issue because of the overall responsibility of making the 
build correct on the WXP/VS2010 as well as others platforms which I do not have.

Francis



More information about the build-dev mailing list