Ho to create stable cygwin build environment.
Moshe Zuisman
zuismanm at gmail.com
Mon Jul 29 17:11:40 UTC 2019
Hi all.
I still face a problem building last j*dk8u source at my windows 10
maachine*
* sh C:\openJdk8u_test\jdk8u\hotspot/make/windows/build_vm_def.sh
C:\progra~2\micros~1\2017\profes~1\vc\tools\msvc\1416~1.270\bin\hostx86\x64\link.exe
@C:\cygwin64\tmp\nmE8BD.tmp Creating library jvm.lib and object
jvm.expad_x86_64_peephole.obj : error LNK2011: precompiled object not
linked in; image may not runjvm.dll : fatal error LNK1120: 1 unresolved
externalsNMAKE : fatal error U1077:
'C:\progra~2\micros~1\2017\profes~1\vc\tools\msvc\1416~1.270\bin\hostx86\x64\link.exe'
: return code '0x460'Stop.NMAKE : fatal error U1077: 'cd' : return code
'0x2'Stop.NMAKE : fatal error U1077:
'C:\PROGRA~2\MICROS~1\2017\PROFES~1\VC\Tools\MSVC\14.16.27023\bin\HostX86\x86\nmake.EXE'
: return code '0x2'Stop.make[3]: *** [Makefile:231: generic_build2] Error
2make[2]: *** [Makefile:177: product] Error 2make[1]: ***
[HotspotWrapper.gmk:45:
/cygdrive/c/openJdk8u_test/jdk8u/build/windows-x86_64-normal-server-release/hotspot/_hotspot.timestamp]
Error 2make: *** [/cygdrive/c/openJdk8u_test/jdk8u//make/Main.gmk:110:
hotspot-only] Error 2*
But - if to define it more general.
Is there some general, reproducable procedure of creating working build
environment at windows?,
Like:
- minimal version of Windows
- minimal version of Visual C and list of its required components and
their minimal versions
- minimal version of cygwin.
Since except obvious problem, that I do not sucess to get working build of
JDK (while 3 months ago with then last source - it worked),
there is another problem that I do not success to understand. At 2 machines
with same version of VC and same version of cygwin (actually - I copied it
from one machine to another)
I get different errors at build... And this is something - totally beyond
my understanding...
More information about the build-dev
mailing list