Failed to build on Windows 7 64-bit
Henry Jen
henry.jen at oracle.com
Mon Feb 4 13:02:18 PST 2013
Hi,
I am trying to build lambda repo, which has being using new build.
The environment is cygwin, VS2010 is detected, but somehow the include
and lib are set lowercase after configure. I did export LIB=$lib and
same for include to make it pass configure. After that, I got following
error.
Any ideas? Thanks.
Cheers,
Henry
## Starting hotspot
gmake[2]: warning: -jN forced in submake: disabling jobserver mode.
INFO: ENABLE_FULL_DEBUG_SYMBOLS=1
cd windows_amd64_compiler2
nmake -nologo -f
C:\ws\lambda\work\hotspot\make\windows\makefiles\top.make
BUILD_FLAVOR=product ARCH=x86
nmake in ./generated
cd generated && "C:\Program Files (x86)\Microsoft Visual Studio
10.0\VC\BIN\amd64\nmake.EXE" -NOLOGO -f
C:\ws\lambda\work\hotspot\make\windows\makefiles\generated.make
DIR=.\generated BUILD_FLAVOR=product
nmake in ./product
cd product && "C:\Program Files (x86)\Microsoft Visual Studio
10.0\VC\BIN\amd64\nmake.EXE" -NOLOGO -f
C:\ws\lambda\work\hotspot\make\windows\makefiles\product.make
DIR=.\product BUILD_FLAVOR=product
Microsoft (R) Windows (R) Resource Compiler Version 6.1.7600.16385
Copyright (C) Microsoft Corporation. All rights reserved.
C:\ws\lambda\work\hotspot\src\os\windows\vm\version.rc(57) : warning
RC4003: not enough actual parameters for macro 'STR'
C:\progra~2\micros~2.0\vc\bin\amd64\link.exe @.\nm2198.tmp
forte.obj : warning LNK4197: export 'AsyncGetCallTrace' specified
multiple times; using first specification
jni.obj : warning LNK4197: export 'JNI_GetDefaultJavaVMInitArgs'
specified multiple times; using first specification
jni.obj : warning LNK4197: export 'JNI_GetCreatedJavaVMs' specified
multiple times; using first specification
jni.obj : warning LNK4197: export 'JNI_CreateJavaVM' specified multiple
times; using first specification
jvm.obj : warning LNK4197: export 'jio_vsnprintf' specified multiple
times; using first specification
jvm.obj : warning LNK4197: export 'jio_snprintf' specified multiple
times; using first specification
jvm.obj : warning LNK4197: export 'jio_vfprintf' specified multiple
times; using first specification
jvm.obj : warning LNK4197: export 'jio_printf' specified multiple times;
using first specification
jvm.obj : warning LNK4197: export 'JVM_GetVersionInfo' specified
multiple times; using first specification
jvm.obj : warning LNK4197: export 'jio_fprintf' specified multiple
times; using first specification
jvm.obj : warning LNK4197: export 'JVM_InitAgentProperties' specified
multiple times; using first specification
jvm.obj : warning LNK4197: export 'JVM_GetThreadStateValues' specified
multiple times; using first specification
jvm.obj : warning LNK4197: export 'JVM_FindClassFromBootLoader'
specified multiple times; using first specification
jvm.obj : warning LNK4197: export 'JVM_GetThreadStateNames' specified
multiple times; using first specification
Creating library jvm.lib and object jvm.exp
C:\progra~2\micros~3\windows\v7.0a\bin\x64\mt.exe /manifest
jvm.dll.manifest /outputresource:jvm.dll;#2
Microsoft (R) Manifest Tool version 5.2.3790.2076
Copyright (c) Microsoft Corporation 2005.
All rights reserved.
zip -q jvm.diz jvm.map jvm.pdb
rm -f jvm.map jvm.pdb
echo C:\x64\jdk7 > jdkpath.txt
C:\progra~2\micros~2.0\vc\bin\amd64\link.exe /manifest jvm.lib
kernel32.lib user32.lib /nologo /machine:AMD64 /map /debug
/subsystem:console /out:hotspot.exe launcher\java.obj
launcher\java_md.obj launcher\jli_util.obj
set INCLUDE=c:\Program Files\Microsoft Platform
SDK\include;c:\Program Files\Microsoft Platform
SDK\include\crt;c:\Program Files\Microsoft Platform
SDK\crt\sys;c:\Program Files\Microsoft Platform
SDK\Include\mfc;c:\Program Files\Microsoft Platform
SDK\Include\atl;C:\Program Files (x86)\Intel\CPP\Compiler80\ia32e\include
C:\progra~2\micros~2.0\vc\bin\amd64\cl.exe @.\nm7892.tmp
cl : Command line warning D9035 : option 'o' has been deprecated and
will be removed in a future release
cl : Command line warning D9002 : ignoring unknown option '-YX'
sawindbg.cpp
set LIB=c:\Program Files\Microsoft Platform
SDK\Lib\amd64;c:\Program Files\Microsoft Platform
SDK\Lib\AMD64\atlmfc;c:\Program Files\Microsoft Platform
SDK\Lib;C:\Program Files (x86)\Intel\CPP\Compiler80\ia32e\lib
C:\progra~2\micros~2.0\vc\bin\amd64\link.exe -out:sawindbg.dll
-DLL sawindbg.obj dbgeng.lib -manifest -nologo -subsystem:console
-machine:AMD64 -map -debug
Creating library sawindbg.lib and object sawindbg.exp
sawindbg.obj : error LNK2001: unresolved external symbol __CxxFrameHandler3
sawindbg.obj : error LNK2001: unresolved external symbol __GSHandlerCheck_EH
sawindbg.obj : error LNK2019: unresolved external symbol
__security_cookie referenced in function "bool __cdecl
addLoadObjects(struct JNIEnv_ *,class _jobject *)"
(?addLoadObjects@@YA_NPEAUJNIEnv_@@PEAV_jobject@@@Z)
sawindbg.obj : error LNK2019: unresolved external symbol
__security_check_cookie referenced in function "bool __cdecl
addLoadObjects(struct JNIEnv_ *,class _jobject *)"
(?addLoadObjects@@YA_NPEAUJNIEnv_@@PEAV_jobject@@@Z)
sawindbg.obj : error LNK2001: unresolved external symbol __GSHandlerCheck
sawindbg.dll : fatal error LNK1120: 5 unresolved externals
NMAKE : fatal error U1077:
'C:\progra~2\micros~2.0\vc\bin\amd64\link.exe' : return code '0x460'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual
Studio 10.0\VC\BIN\amd64\nmake.EXE"' : return code '0x2'
Stop.
gmake[3]: *** [generic_build2] Error 2
gmake[2]: *** [product] Error 2
gmake[1]: ***
[/cygdrive/c/ws/lambda/work/build/windows-x86_64-normal-server-release/hotspot/_hotspot.timestamp]
Error 2
make: *** [hotspot-only] Error 2
More information about the build-infra-dev
mailing list