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

*        sh C:\openJdk8u_test\jdk8u\hotspot/make/windows/build_vm_def.sh

@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:
: return code '0x460'Stop.NMAKE : fatal error U1077: 'cd' : return code
'0x2'Stop.NMAKE : fatal error U1077:
: return code '0x2'Stop.make[3]: *** [Makefile:231: generic_build2] Error
2make[2]: *** [Makefile:177: product] Error 2make[1]: ***
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?,

   - 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