OpenJDK rebuilding on windows takes a long time (original) (raw)

Erik Joelsson erik.joelsson at oracle.com
Fri Feb 8 14:46:11 UTC 2013


Ccache is not supported on windows since it doesn't work with visual studio AFAIK.

What kind of change did you do? Was it in native code or java and in which repository?

/Erik

On 2013-02-08 13:18, Alexander Scherbatiy wrote:

Building one line change in OpenJDK on my Windows takes about from 4 to 7 minutes. I tried to install the ccache-3.1.9 but build process fails with error: ------------------------------------------------- LINK : fatal error LNK1181: cannot open input file 'c:/Sun/OpenJDK/jdk8-awt/build/windows-x86-normal-server-release/jdk/objs/libverify/checkcode.obj' LINK : fatal error LNK1181: cannot open input file 'c:/Sun/OpenJDK/jdk8-awt/build/windows-x86-normal-server-release/jdk/objs/libfdlibm/eacos.obj' LINK : fatal error LNK1181: cannot open input file 'c:/Sun/OpenJDK/jdk8-awt/build/windows-x86-normal-server-release/jdk/objs/libdtshmem/SharedMemoryConnection.obj' Could not start process! Failed with error 2: ?? ??????? ????? ????????? ????. make[2]: *** [/cygdrive/c/Sun/OpenJDK/jdk8-awt/build/windows-x86-normal-server-release/jdk/objs/fdlibm.lib] Error 157 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [/cygdrive/c/Sun/OpenJDK/jdk8-awt/build/windows-x86-normal-server-release/jdk/bin/verify.dll] Error 157 make[2]: *** [/cygdrive/c/Sun/OpenJDK/jdk8-awt/build/windows-x86-normal-server-release/jdk/bin/dtshmem.dll] Error 157 make[1]: *** [libs-only] Error 2 make: *** [jdk-only] Error 2 ------------------------------------------------- 7 minutes is too long for the small change rebuilding. The previous systems makes it faster. Is it possible to use the ccache on windows or make the rebuilding process faster? Thanks, Alexandr.



More information about the build-dev mailing list